WordPress.org

Support

Support » Plugins and Hacks » Simple Optimizer MySQL Errors

Simple Optimizer MySQL Errors

  • I am having an issue with Simple Optimizer on one of my servers. I suspect it is something server related because the plugin fails on every site on this machine but it works fine on the sites I have which are hosted elsewhere. I get the following errors. (there are more but basically just repeats). It used to work fine and now all the sudden it seems to break. Not sure what changed to cause this problem. Any suggestions?

    Warning: mysql_query(): Access denied for user ‘xxxxxx’@’localhost’ (using password: NO) in /home/xxxxxxxx/public_html/wp-content224451/plugins/simple-optimizer/simple-optimizer-tools.php on line 121

    Warning: mysql_query(): A link to the server could not be established in /home/xxxxxxx/public_html/wp-content224451/plugins/simple-optimizer/simple-optimizer-tools.php on line 121
    Access denied for user ‘xxxxxxx’@’localhost’ (using password: NO)

    Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/xxxxxx/public_html/wp-content224451/plugins/simple-optimizer/simple-optimizer-tools.php on line 123

    https://wordpress.org/plugins/simple-optimizer/

Viewing 1 replies (of 1 total)
  • Ok it seems the problem is that Simple Optimizer is not compatible with php 5.5.x. The reason is that Simple Optimizer uses straight php mysql commands instead of using the db functions that come with WordPress. Mysql functions are depreciated in php 5.5.x and Mysqli is the new standard. This is something the author of this plugin should consider updating/fixing.

Viewing 1 replies (of 1 total)
  • The topic ‘Simple Optimizer MySQL Errors’ is closed to new replies.