WordPress.org

Support

Support » How-To and Troubleshooting » Deprecated PHP warnings; inaccessible admin page

Deprecated PHP warnings; inaccessible admin page

  • Hi all. Hoping somebody here can help me out. I’ve been asked to fix a broken WP website. I am not an experienced WP developer, the original developer is long-gone, and there is no backup.

    URL: http://www.heelinghandsmaine.com/.

    The problems:

    1. A series of deprecated error warnings appear at the top of each page on the site. The warnings appear to be PHP related.

    2. The site’s wp-admin page (http://www.heelinghandsmaine.com/wp-admin/) is inaccessible, possibly due to the same errors.

    The error messages are identical on each page of the site, except the wp-admin page adds an extra line at the end. The messages are listed below.

    In searching this forum, I found a thread that describes a similar situation:
    http://wordpress.org/support/topic/php-deprecated-warnings-on-every-screen

    The diagnosis in that case was incompatible PHP versions between host and site. The suggested fix is to disable PHP error warnings by modifying wp-config.php, wp-settings.php, and php.ini files. Unfortunately I can’t get at these files via the wp-admin page for the reason noted above. However, I may be able to FTP.

    I could really use some suggestions on how to proceed before I plunge into this. Many thanks.

    Displayed error messages:

    Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c05/h01/mnt/70032/domains/heelinghandsmaine.com/html/wp-settings.php on line 520

    Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c05/h01/mnt/70032/domains/heelinghandsmaine.com/html/wp-settings.php on line 535

    Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c05/h01/mnt/70032/domains/heelinghandsmaine.com/html/wp-settings.php on line 542

    Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c05/h01/mnt/70032/domains/heelinghandsmaine.com/html/wp-settings.php on line 578

    Deprecated: Function set_magic_quotes_runtime() is deprecated in /nfs/c05/h01/mnt/70032/domains/heelinghandsmaine.com/html/wp-settings.php on line 18

    wp-admin page adds the following error message to the list above:
    Warning: Cannot modify header information – headers already sent by (output started at /nfs/c05/h01/mnt/70032/domains/heelinghandsmaine.com/html/wp-settings.php:520) in /nfs/c05/h01/mnt/70032/domains/heelinghandsmaine.com/html/wp-includes/pluggable.php on line 850

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi
    Forum Moderator

    @esmi

    Your hosts need to make the changes at their end to suppress PHP warnings.

    Thanks for the quick reply, esmi. Can you tell me what changes (in general) the host needs to make to fix this? FYI, a couple of weeks ago the site owner did actually contact the host about this problem, and was told to update the site. Host provided a link to these instructions:
    http://codex.wordpress.org/Updating_WordPress.
    Needless to say, nothing further happened.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Deprecated PHP warnings; inaccessible admin page’ is closed to new replies.