Home › Forum › Problemi Vari con WP › Errore Deprecated, come risolvere?
-
AutorePost
-
-
16 Novembre 2009 alle 12:18 #12176matteoroxPartecipante
ciao a tutti,
nella home page del mio sito http://www.techuniverse.it dopo aver riuppato db e wordpress mi appaiono questi errori:
Deprecated: Assigning the return value of new by reference is deprecated in /web/htdocs/www.techuniverse.it/home/wp-settings.php on line 512
Deprecated: Assigning the return value of new by reference is deprecated in /web/htdocs/www.techuniverse.it/home/wp-settings.php on line 527
Deprecated: Assigning the return value of new by reference is deprecated in /web/htdocs/www.techuniverse.it/home/wp-settings.php on line 534
Deprecated: Assigning the return value of new by reference is deprecated in /web/htdocs/www.techuniverse.it/home/wp-settings.php on line 570
Deprecated: Assigning the return value of new by reference is deprecated in /web/htdocs/www.techuniverse.it/home/wp-includes/cache.php on line 103
Deprecated: Assigning the return value of new by reference is deprecated in /web/htdocs/www.techuniverse.it/home/wp-includes/query.php on line 61
Deprecated: Assigning the return value of new by reference is deprecated in /web/htdocs/www.techuniverse.it/home/wp-includes/theme.php on line 1109
come posso risolvere?
grazie mille,
Matteo
-
16 Novembre 2009 alle 17:39 #69566oviPartecipante
Ma.. per caso il tuo sito gira su una macchina locale ? Se si, hai aggiornato anche XAMPP per caso ?
-
16 Novembre 2009 alle 19:41 #69581matteoroxPartecipante
no…gira su Aruba!
-
20 Febbraio 2012 alle 15:57 #93531matteoraggiPartecipante
Ora stesso problema anche su e-sessopedia.com con hosting tophost.it ho provato sia con php4 e php5 dà lo stesso errore.
-
20 Febbraio 2012 alle 16:14 #93536San PietroburgoPartecipante
I deprecati si correggono modificando il codice di temi e plugin (se non lo fa lo sviluppatore).. Ma bisogna sapere cosa sta scritto nella riga di codice che indica quell’imprecazione del server.
Faccio un esempio; il JetPack, plugin famoso e ultra downloadato, sotto la cartella jetpack/modules/ ha il file dal nome subscriptions.php che contiene una moltitudine di righe (19, 164, 203, 209, 212, 215, ecc.) ove si legge:
=& new
Termine deprecato (PHP 4.x) che andrebbe sostituito togliendo il segno “&” ossia cosà¬:
= new
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.