WordPress.org

Ready to get started?Download WordPress

Forums

WP Clean Up
[resolved] mysql_query error when using remote DB (2 posts)

  1. iHuman
    Member
    Posted 4 months ago #

    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?

    thanks!

    https://wordpress.org/plugins/wp-clean-up/

  2. acalbert
    Member
    Plugin Author

    Posted 1 month ago #

    You can try the new version 1.2.2, mysql_query was deprecated.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.