Title: PHP 5.6 compatibility issue
Last modified: August 30, 2016

---

# PHP 5.6 compatibility issue

 *  Resolved [kevinm21](https://wordpress.org/support/users/kevinm21/)
 * (@kevinm21)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/php-56-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
 * [https://wordpress.org/plugins/wp-global-variable/](https://wordpress.org/plugins/wp-global-variable/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [KineticPulse](https://wordpress.org/support/users/kineticpulse/)
 * (@kineticpulse)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/php-56-compatibility-issue/#post-6865255)
 * I get the same issue with PHP5.6.
 * Looks like this plugin is no longer supported
 *  Plugin Author [AppJetty](https://wordpress.org/support/users/biztechc/)
 * (@biztechc)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-56-compatibility-issue/#post-6865257)
 * Hello All,
 * Have you tried with latest updated version as this have resolved earlier.please
   check and let us know if still not working.
 * Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP 5.6 compatibility issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-global-variable_8baede.svg)
 * [WordPress Custom Global Variable](https://wordpress.org/plugins/wp-global-variable/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-global-variable/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-global-variable/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-global-variable/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-global-variable/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-global-variable/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [AppJetty](https://wordpress.org/support/users/biztechc/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/php-56-compatibility-issue/#post-6865257)
 * Status: resolved