• Hello,

    Thought we have not changed anything on our web site recently, we are now getting the following messages when we go to our site (and this is all that we can get – the site does not show up at all):

    —————

    Deprecated: Assigning the return value of new by reference is deprecated in /home/admin4/public_html/wp/wp-settings.php on line 520

    Deprecated: Assigning the return value of new by reference is deprecated in /home/admin4/public_html/wp/wp-settings.php on line 535

    Deprecated: Assigning the return value of new by reference is deprecated in /home/admin4/public_html/wp/wp-settings.php on line 542

    Deprecated: Assigning the return value of new by reference is deprecated in /home/admin4/public_html/wp/wp-settings.php on line 578

    Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/admin4/public_html/wp/wp-settings.php on line 18

    Warning: Cannot modify header information – headers already sent by (output started at /home/admin4/public_html/wp/wp-settings.php:520) in /home/admin4/public_html/wp/wp-includes/pluggable.php on line 850

    ————————-

    I am unable to even sign into Admin (all that shows up is the login screen – once you login all you see are more warning messages). Has anyone ever seen anything like this – or have any clues on what I should attempt to do? Any thoughts would be appreciated. Thanks.

    Craig

Viewing 4 replies - 1 through 4 (of 4 total)
  • You can try renaming your plugins directory and create a new empty one.
    Try renaming your current theme’s directory so it will use the default. See if either at least let’s you in.

    What version of PHP are you running? Usuaully you will get that because of wrong version.
    Check your WP directory for an error.log
    Check wp-config.php for the line:
    define(‘DB_CHARSET’, ‘utf8’);
    Am presuming you are using the current version of WP (3.0.1) or you are causing the problem yourself.

    Thread Starter csmiller

    (@csmiller)

    Hi webjunk,

    I am using 2.7.1. Renaming plugins directory didn’t help. Neither did renaming the themes directory. Mysql is 4.1.22. I have no idea what version of PHP my service is running. Charset is utf8. I checked the error log and found this line:

    Function set_magic_quotes_runtime() is deprecated in /home/admin4/public_html/wp/wp-settings.php on line 18

    Will updating to 3.0.1 fix this (I’m assuming that this is the problem)?

    Craig

    Do not know if it will fix you problem but imposible for me and probably most others support you on 2.7.1 or atleast have the time it would take. You would need to go through every plugin and see if it is compatible with 2.7.1 and many newer ones may not be backwards compatible. Your theme may not be as well. And then your current version of PHP may not be compatible with 2.7.1
    Either you upgrade WP, plugins & theme to current or you probably need to go through every command in every file to see if there is an issue. Waste of time in my book. ANd I would not run an older verion anyway or you are missing literally thousands of fixes and updates in WP alone.

    Magic quotes “escapes” certain characters in the PHP code

    Thread Starter csmiller

    (@csmiller)

    Thanks webjunk – sounds like an upgrade is the plan (I wouldn’t know how to go through it line by line anyway). Hopefully it will fix the problem.

    Craig

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Am getting "Deprecated" and "Warning" msgs’ is closed to new replies.