Skip to content

Deprecation Warnings in Backup Logs with PHP 8.1+ #147

@saranshj4

Description

@saranshj4

Before submitting an issue please check that you’ve completed the following steps:

  • Made sure you’re on the latest version
  • Used the search feature to ensure that the bug hasn’t been reported before

Describe the bug
When running backups (both manual and scheduled) with BackWPUp on PHP 8.1+ and WordPress 6.6.2, users are encountering thousands of deprecation warnings. The errors mainly involve passing null to parameters that expect a string or array input. Examples include warnings from strlen() and preg_replace(). These notices clutter the logs with thousands of lines, impacting usability.

Acceptance Criteria (for WP Media team use only)
Clear instructions for developers, to be added before the grooming

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions