Hello there, since the last update (5.1.3) i’ve this error on all websites who update to this new version :
[24-Apr-2025 04:39:14] ERREUR : Exception trouvée dans TypeError : WPMedia\BackWPup\StorageProviders\Subscriber::update_backup_history(): Argument #1 ($key) must be of type string, null given, called in /.../wp-includes/class-wp-hook.php on line 324
I didn’t want to open a new thread but we are seeing the same issue on around 20 client sites all running BackWPUp and also started after the recent 5.1.3 update.
@iteamwp When we analyzed the first issues after the 5.x release, it became clear that error checking and parameter validation was not sufficient or not exisiting almost everywhere in the code base. Such messages as described in this thread would never show up if proper checks would be in place. Code quality needs to improve a lot before the plugin will be usable again in production.
We were not able to replicate this issue generally — neither during our internal QA testing nor afterward — and it seems to occur only in certain specific setups. Fortunately, thanks to the site access and detailed reports shared by users like you, we were able to detect the cause.
A fix for this is already scheduled and will be included in the upcoming 5.2.1 release.
We truly appreciate your help, patience, and feedback as we continue working to improve BackWPup.
This does not seem to be fixed in the latest release.
Our websites updated to 5.2.1 are still receiving this error.
Here’s an example log (I’ve removed anything that identifies the website as a precaution):
[INFO] BackWPup 5.2.1; A project of WP Media [INFO] WordPress 6.8.1 on REMOVED [INFO] Log Level: Normal [INFO] BackWPup job: Database Backup [INFO] Logfile is: backwpup_log_0ccd6a_2025-05-01_05-00-09.html [INFO] Backup file is: 2025-05-01_05-00-09_ZRRJTED202_ANRJTEFE02_DBDUMP.zip [01-May-2025 05:00:09] 1. Try to backup database … [01-May-2025 05:00:10] Connected to database REMOVED on localhost [01-May-2025 05:00:13] Added database dump “REMOVED” with 2.64 MB to backup file list [01-May-2025 05:00:13] Database backup done! [01-May-2025 05:00:13] 1. Trying to generate a manifest file … [01-May-2025 05:00:13] Added manifest.json file with 3.57 KB to backup file list. [01-May-2025 05:00:13] 1. Trying to create backup archive … [01-May-2025 05:00:13] Compressing files as ZipArchive. Please be patient, this may take a moment. [01-May-2025 05:00:13] Backup archive created. [01-May-2025 05:00:13] Archive size is 2.61 MB. [01-May-2025 05:00:13] 3 Files with 2.64 MB in Archive. [01-May-2025 05:00:13] 1. Try to send backup file to Dropbox … [01-May-2025 05:00:14] Authenticated with Dropbox of user: REMOVED [01-May-2025 05:00:14] Uploading to Dropbox … [01-May-2025 05:00:15] Backup transferred to /REMOVED/2025-05-01_05-00-09_ZRRJTED202_ANRJTEFE02_DBDUMP.zip [01-May-2025 05:00:16] One file deleted from Dropbox [01-May-2025 05:00:16] ERROR: Exception caught in TypeError: WPMedia\BackWPup\StorageProviders\Subscriber::update_backup_history(): Argument #1 ($key) must be of type string, null given, called in /home/REMOVED/public_html/wp-includes/class-wp-hook.php on line 324
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘TypeError : update_backup_history()’ is closed to new replies.