I get the following error in the database cleanup section:
Call to a member function query() on a non-object in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/wp-clean-up/wp_clean_up_admin.php on line 366
This line is:
$result = mysql_query($wcu_sql);
I’ve tried replacing it with $wpdb->query but that didn’t work either. My database is hosted on an Amazon Web Services RDS server. Any ideas?
- The topic ‘mysql_query error when using remote DB’ is closed to new replies.