WordPress.org

Ready to get started?Download WordPress

Forums

Simple Optimizer
Simple Optimizer MySQL Errors (2 posts)

  1. Indy69
    Member
    Posted 4 months ago #

    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/

  2. Indy69
    Member
    Posted 4 months ago #

    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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.