• epicdiyom

    (@epicdiyom)


    My website host is prompting users to upgrade to PHP 5.5.0, but the Advanced Category Excluder plugin isn’t fully compatible. Specifically, this function in the code is deprecated in PHP 5.5.0, and causes error messages to appear at the top pages on which the ACE is active:

    mysql_get_server_info()

    I’ve had to re-downgrade the PHP version on my sites using ACE to PHP 5.4, but this isn’t a long-term solution. Any chance the plugin could be updated to replace this function with a function compatible with newer versions of PHP?

    https://www.ads-software.com/plugins/advanced-category-excluder/

Viewing 3 replies - 1 through 3 (of 3 total)
  • symmetrium

    (@symmetrium)

    This is also a big problem for me! my host is upgrading to PHP 5.5.0 too, and this plugin creates problems when that happens. Is any such update on the agenda?

    Albert

    (@planetshaker)

    I am in need of a solution for this problem. With PHP 5.5 I get following errors:

    Warning: mysql_get_server_info(): Access denied for user ''@'localhost' (using password: NO) in /www/htdocs/w0106a1c/website2013/wp-content/plugins/advanced-category-excluder/advanced-category-excluder.php on line 128
    
    Warning: mysql_get_server_info(): A link to the server could not be established in /www/htdocs/w0106a1c/website2013/wp-content/plugins/advanced-category-excluder/advanced-category-excluder.php on line 128
    logo

    Please update the Plugin!

    I leave one (although not the most recommended) simple solution for future people who have the same problem.

    On line 128 of file “advanced-category-excluder / advanced-category-excluder.php” change the line

    $ sql_version = substr (mysql_get_server_info (), 0,3);
    By:
    $ sql_version = ‘4.5’;

    (or the version you have, but already put anything other than 4.0 will work correctly, as it is only a simple check using the plugin)

    To change this line have to go to the plugin list, look for the “Advanced Category Excluder” plug and tighten down the title the button that says “Edit” directly opens the file that I mention above

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP 5.5.0 compatibility?’ is closed to new replies.