Problem with storing Dropbox token on PHP 8.3
-
Hi,
I did not received a reply in https://ww.wp.xz.cn/support/topic/a-lot-of-warnings-in-log-files/#post-18832287 so I have created this new topi.
In short – after upgrade from PHP 8.1 to 8.3 Updraft starts to throw warnings every time when it tries to read Dropbox token.
Reauthorization doesn’t solve the issue so it must be a bug in implementation
-
Hi @dziudek ,
Apologies if we have were not able to respond to the other ticket. Could you please share a copy the log? Since logs cannot be attached here on ww.wp.xz.cn, please copy the relevant entries and share them via Pastebin (https://pastebin.com/) or any similar text-sharing service, then post the link here.
Also, please confirm the UpdraftPlus version you are currently using.
I will ask one of our test engineers to replicate the issue.
Best Wishes,
Bryle@bcrodua – the issue is visible in logs as (it occurs many times – probably for each chunk):
0017.315 (0) Dropbox: request deletion: backup_[REDACTED]-db.gz
0017.315 (0) PHP event: code E_DEPRECATED: Function mcrypt_decrypt() is deprecated (line 103, wp-content/plugins/updraftplus/includes/Dropbox2/OAuth/Storage/Encrypter.php)
0017.316 (0) PHP event: code E_WARNING: unserialize(): Extra data starting at offset 3079 of 3088 bytes (line 18, wp-content/plugins/updraftplus/vendor/brumann/polyfill-unserialize/src/Unserialize.php)Used version – the latest one: 1.26.1
The problem started definitely after upgrade to PHP 8.3, because it begins when we have upgraded PHP from 8.1@bcrodua – after update to 1.26.2 the E_DEPRECATED message disappeared, but E_WARNING still appears. Also I would like to confirm that changing chunk size to 100MB didn’t help with this issue.
Example fragment with the issue:6424.644 (3) others: over retain limit (2); will delete this file entity
6424.646 (3) PHP event: code E_WARNING: unserialize(): Extra data starting at offset 3079 of 3088 bytes (line 18, wp-content/plugins/updraftplus/vendor/brumann/polyfill-unserialize/src/Unserialize.php)
6424.646 (3) Dropbox: request deletion: backup_2026-03-03-0315_[REDACTED]-plugins.zip
6424.647 (3) PHP event: code E_WARNING: unserialize(): Extra data starting at offset 3079 of 3088 bytes (line 18, wp-content/plugins/updraftplus/vendor/brumann/polyfill-unserialize/src/Unserialize.php)
6425.481 (3) Dropbox: deletion succeeded
6425.482 (3) Dropbox: request deletion: backup_2026-03-03-0315_[REDACTED]-themes.zip
6425.483 (3) PHP event: code E_WARNING: unserialize(): Extra data starting at offset 3079 of 3088 bytes (line 18, wp-content/plugins/updraftplus/vendor/brumann/polyfill-unserialize/src/Unserialize.php)
6426.318 (3) Dropbox: deletion succeeded
6426.319 (3) Dropbox: request deletion: backup_2026-03-03-0315_[REDACTED]-uploads.zip
6426.320 (3) PHP event: code E_WARNING: unserialize(): Extra data starting at offset 3079 of 3088 bytes (line 18, wp-content/plugins/updraftplus/vendor/brumann/polyfill-unserialize/src/Unserialize.php)
6427.227 (3) Dropbox: deletion succeeded
6427.228 (3) Dropbox: request deletion: backup_2026-03-03-0315_[REDACTED]-uploads2.zip
6427.229 (3) PHP event: code E_WARNING: unserialize(): Extra data starting at offset 3079 of 3088 bytes (line 18, wp-content/plugins/updraftplus/vendor/brumann/polyfill-unserialize/src/Unserialize.php)
6428.080 (3) Dropbox: deletion succeeded
6428.081 (3) Dropbox: request deletion: backup_2026-03-03-0315_[REDACTED]-uploads3.zip
6428.081 (3) PHP event: code E_WARNING: unserialize(): Extra data starting at offset 3079 of 3088 bytes (line 18, wp-content/plugins/updraftplus/vendor/brumann/polyfill-unserialize/src/Unserialize.php)
6428.950 (3) Dropbox: deletion succeeded
6428.951 (3) Dropbox: request deletion: backup_2026-03-03-0315_[REDACTED]-uploads4.zip
6428.951 (3) PHP event: code E_WARNING: unserialize(): Extra data starting at offset 3079 of 3088 bytes (line 18, wp-content/plugins/updraftplus/vendor/brumann/polyfill-unserialize/src/Unserialize.php)
6429.792 (3) Dropbox: deletion succeeded
6429.792 (3) Dropbox: request deletion: backup_2026-03-03-0315_[REDACTED]-uploads5.zip
6429.793 (3) PHP event: code E_WARNING: unserialize(): Extra data starting at offset 3079 of 3088 bytes (line 18, wp-content/plugins/updraftplus/vendor/brumann/polyfill-unserialize/src/Unserialize.php)
6430.765 (3) Dropbox: deletion succeeded
6430.766 (3) Dropbox: request deletion: backup_2026-03-03-0315_[REDACTED]-uploads6.zip
6430.767 (3) PHP event: code E_WARNING: unserialize(): Extra data starting at offset 3079 of 3088 bytes (line 18, wp-content/plugins/updraftplus/vendor/brumann/polyfill-unserialize/src/Unserialize.php)
6431.579 (3) Dropbox: deletion succeeded
6431.580 (3) Dropbox: request deletion: backup_2026-03-03-0315_[REDACTED]-uploads7.zip
6431.580 (3) PHP event: code E_WARNING: unserialize(): Extra data starting at offset 3079 of 3088 bytes (line 18, wp-content/plugins/updraftplus/vendor/brumann/polyfill-unserialize/src/Unserialize.php)
6432.431 (3) Dropbox: deletion succeeded
6432.432 (3) Dropbox: request deletion: backup_2026-03-03-0315_[REDACTED]-uploads8.zip
6432.433 (3) PHP event: code E_WARNING: unserialize(): Extra data starting at offset 3079 of 3088 bytes (line 18, wp-content/plugins/updraftplus/vendor/brumann/polyfill-unserialize/src/Unserialize.php)
6433.326 (3) Dropbox: deletion succeeded
6433.327 (3) Dropbox: request deletion: backup_2026-03-03-0315_[REDACTED]-uploads9.zip
6433.328 (3) PHP event: code E_WARNING: unserialize(): Extra data starting at offset 3079 of 3088 bytes (line 18, wp-content/plugins/updraftplus/vendor/brumann/polyfill-unserialize/src/Unserialize.php)
6434.191 (3) Dropbox: deletion succeededHi Tomasz,
I have asked our developer to take a look.
Hi Tomasz,
Just an update.
Our developers have already prepared a fix and it is currently in the review process. Once it passes review and testing, it should be included in one of the upcoming releases.
Best Wishes,
Bryle@bcrodua – that’s great! I will wait for the upcoming release with this fix. Thank you!
@bcrodua – any news in this topic? 3 weeks and there are no updates for the plugin π
You must be logged in to reply to this topic.