PDA

View Full Version : Deprecated errors everywhere.


bnji
03-25-2012, 01:15 AM
Yet another problem haha.
Just transferred to a VPS. Had problems with datastore. They're fixed now.
Our old host ran PHP 5.3.10, our new host runs the same so it can't be a problem with my PHP version, but most plugins I'm using (which ran fine before) are displaying this error at me:

Deprecated: Assigning the return value of new by reference is deprecated in /xxxx/xxxx/public_html/includes/init.php on line 55
Deprecated: Assigning the return value of new by reference is deprecated in /xxxx/xxxx/public_html/includes/init.php on line 107
Deprecated: Assigning the return value of new by reference is deprecated in /xxxx/xxxx/public_html/includes/init.php on line 111
Deprecated: Assigning the return value of new by reference is deprecated in /xxxx/xxxx/public_html/includes/init.php on line 119
Deprecated: Assigning the return value of new by reference is deprecated in /xxxx/xxxx/public_html/includes/init.php on line 130
Deprecated: Assigning the return value of new by reference is deprecated in /xxxx/xxxx/public_html/includes/init.php on line 134
Deprecated: Assigning the return value of new by reference is deprecated in /xxxx/xxxx/public_html/includes/init.php on line 142
Deprecated: Assigning the return value of new by reference is deprecated in /xxxx/xxxx/public_html/includes/init.php on line 211
Deprecated: Assigning the return value of new by reference is deprecated in /xxxx/xxxx/public_html/includes/init.php on line 389
Deprecated: Assigning the return value of new by reference is deprecated in /xxxx/xxxx/public_html/includes/class_core.php on line 2544

Any ideas what the problem could be here?

Thanks.

edit: I have fixed the deprecated errors by doing a mass replace of =& to = but now I am getting double notifications from certain plugins. Guessing these two errors are related.

Lynne
03-25-2012, 01:58 AM
If you are not running vB3.8.7, then those are a problem with your PHP 5.3. Perhaps they had you put something in your .htaccess file before to run an older version of PHP.

bnji
03-25-2012, 02:03 AM
If you are not running vB3.8.7, then those are a problem with your PHP 5.3. Perhaps they had you put something in your .htaccess file before to run an older version of PHP.

I'm on 3.8.7 PL2 at the moment aha. Notifications seem to be a bit hit and miss, but I'm just gonna wait it out a little.

BirdOPrey5
03-26-2012, 02:55 PM
Google how to turn off Deprecated warnings in php. Your old host probably had them off.