PHP 5.6 compatibility issue
-
My host just upgraded to PHP 5.6 from 5.4 and it broke the site because of WP Custom Global Variable plugin! Couldn’t even go to admin area. Could this problem be fixed with PHP 5.6? With 5.4 everything was OK.
Following are errors while trying to get into admin:
Warning: mysql_query(): Access denied for user ‘root’@’localhost’ (using password: NO) in /home/MyDomain/wp-content/plugins/wp-global-variable/my-global-variable.php on line 92
Warning: mysql_query(): A link to the server could not be established in /home/MyDomain/wp-content/plugins/wp-global-variable/my-global-variable.php on line 92
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/MyDomain/wp-content/plugins/wp-global-variable/my-global-variable.php on line 93
Warning: Cannot modify header information – headers already sent by (output started at /home/MyDomain/wp-content/plugins/wp-global-variable/my-global-variable.php:92) in /home/MyDomain/wp-includes/pluggable.php on line 1207
- The topic ‘PHP 5.6 compatibility issue’ is closed to new replies.