akinet
Member
- Messages
- 52
- Reaction score
- 0
- Points
- 6
Hi.
After migration to DirectAdmin my Wordpress installation has stopped working. Nothing is showed when I access to my WP site (oraculo.x10.bz/wp/). I have been reviewing it and finally I have found information in error logs. Every time I access WP site in error logs appears a line like this:
[Mon Jan 13 11:57:06.463012 2020] [lsapi:error] [pid 2576705:tid 140059420358400] [client 193.111.122.62:12989] [host oraculo.x10.bz] Backend fatal error: PHP Parse error: syntax error, unexpected 'new' (T_NEW) in /home/oracuv71/domains/oraculo.x10.bz/public_html/wp/wp-settings.php on line 520\n
I have look for line 520 of wp-settings.php and contains this:
$wp_the_query =& new WP_Query();
I don´t know why is this failing now. This WP site was installed in a standard way.
Can anyone help me know why this is not working now?
Regards.
After migration to DirectAdmin my Wordpress installation has stopped working. Nothing is showed when I access to my WP site (oraculo.x10.bz/wp/). I have been reviewing it and finally I have found information in error logs. Every time I access WP site in error logs appears a line like this:
[Mon Jan 13 11:57:06.463012 2020] [lsapi:error] [pid 2576705:tid 140059420358400] [client 193.111.122.62:12989] [host oraculo.x10.bz] Backend fatal error: PHP Parse error: syntax error, unexpected 'new' (T_NEW) in /home/oracuv71/domains/oraculo.x10.bz/public_html/wp/wp-settings.php on line 520\n
I have look for line 520 of wp-settings.php and contains this:
$wp_the_query =& new WP_Query();
I don´t know why is this failing now. This WP site was installed in a standard way.
Can anyone help me know why this is not working now?
Regards.