wp-media / backwpup

BackWPup - WordPress Backup Plugin
https://backwpup.com
GNU General Public License v2.0
88 stars 37 forks source link

Deprecation Warnings in Backup Logs with PHP 8.1+ #147

Open saranshj4 opened 1 day ago

saranshj4 commented 1 day ago

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

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

saranshj4 commented 1 day ago

https://wordpress.org/support/topic/passing-null-to-parameter-errors-php-8-2-20/ https://wordpress.org/support/topic/deprecation-warnings-in-log/ https://wordpress.org/support/topic/error-after-upgrading-to-php-8-2/

https://secure.helpscout.net/conversation/2733186337/517555 https://secure.helpscout.net/conversation/2659864967/504119 https://secure.helpscout.net/conversation/2449003217/462948 https://secure.helpscout.net/conversation/2598530515/491710