WordPress.org

Forums

Simple Optimizer
Simple Optimizer MySQL Errors (2 posts)

  1. Indy69
    Member
    Posted 1 year 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 1 year 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Optimizer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.