Support » Plugin: WP-DB-Backup » Deprecated code in v2.3.1

  • I have been having a lot of issues with my wp-admin pages going down or being unavailable lately. It is seemingly random when I will be unable to access the admin login page. Today I set the site to debug mode and received this message:

    Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; wpdbBackup has a deprecated constructor in C:\inetpub\wwwroot\wp-content\plugins\wp-db-backup\wp-db-backup.php on line 50

    Is this something that could be causing the server errors on my wp-admin pages? I have another backup plugin running weekly jobs so I could probably deactivate this plugin anyway, especially considering it hasn’t been updated in 2 years. I was wondering if someone with more WordPress experience might have some insight.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • According to, the message you encountered is called an E_DEPRECATED in PHP, which according to is a “run-time notice”: “enable this to receive warnings about code that will not work in future versions.”

    A notice, according to that same page, indicates “that the script encountered something that could indicate an error, but could also happen in the normal course of running a script.”

    A warning, however, indicates “non-fatal errors”: “execution of the script is not halted.”

    So which is it, a notice or a warning? Even if it is a notice, it strikes me as unlikely that it will halt execution. The message that something is deprecated is simply a kind reminder that something that currently works, will not be supported in the future.

    Hm, somebody has already fixed this problem in August 2016, but for some reason the author won’t include it in a new version.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Deprecated code in v2.3.1’ is closed to new replies.