Support » Plugin: UpdraftPlus: WordPress Backup & Migration Plugin » Warnings after upgrading site to PHP 8

  • Resolved Anonymous User 18794746

    (@anonymized-18794746)


    Yesterday, I upgraded one of my sites to PHP 8.0.6. After this, whenever I perform a backup, I get these non critical warnings :

    PHP event: code E_WARNING: unlink(/home/user/domains/domain.com/public_html/wp-content/updraft/binziptest/test.zip): No such file or directory (line 1752, wp-content/plugins/updraftplus/class-updraftplus.php)

    &

    PHP event: code E_WARNING: filemtime(): stat failed for /home/user/domains/domain.com/public_html/wp-content/updraft/backup_2021-08-02-1858_<domain>_e9274a1a4534-plugins.zip.tmp (line 264, wp-content/plugins/updraftplus/backup.php)

    What could be wrong ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Anderson

    (@davidanderson)

    There’s nothing particularly wrong (you can ignore it) – PHP 8 ignores requests to not log certain conditions (e.g. not logging a message if an attempt is made to delete a non-existent file, implying that the file may or may not be present). In the next UD release those lines will be changed to prevent the logging via another method.

    Thread Starter Anonymous User 18794746

    (@anonymized-18794746)

    Thank you @davidanderson for your reply..!

    So, it is actually nothing to worry about.

    Thanks for this excellent plugin and support..!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warnings after upgrading site to PHP 8’ is closed to new replies.