MySQL 5.5 Sytax Errors
-
Hi,
I am still running MySQL 5.5 (the best performing version on my setup), but whenever I go to your plugin’s admin pages, I get the following PHP errors:
[24-Aug-2022 05:29:30 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘WHERE term_id NOT IN (SELECT term_id FROM as_terms)’ at line 1 for query SELECT COUNT(meta_id) FROM WHERE term_id NOT IN (SELECT term_id FROM as_terms) made by do_action(‘tools_page_advanced_db_cleaner’), call_user_func_array, ADBC_Advanced_DB_Cleaner->aDBc_main_page_callback, include_once(‘/plugins/advanced-database-cleaner/includes/clean_db.php’), include_once(‘/plugins/advanced-database-cleaner/includes/class_general_cleanup.php’), ADBC_Clean_DB_List->__construct, ADBC_Clean_DB_List->aDBc_prepare_elements_to_clean, aDBc_count_all_elements_to_clean, aDBc_count_elements_to_clean
[24-Aug-2022 05:30:45 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘WHERE term_id NOT IN (SELECT term_id FROM as_terms)’ at line 1 for query SELECT COUNT(meta_id) FROM WHERE term_id NOT IN (SELECT term_id FROM as_terms) made by require_once(‘wp-admin/admin.php’), do_action(‘tools_page_advanced_db_cleaner’), call_user_func_array, ADBC_Advanced_DB_Cleaner->aDBc_main_page_callback, include_once(‘/plugins/advanced-database-cleaner/includes/clean_db.php’), include_once(‘/plugins/advanced-database-cleaner/includes/class_general_cleanup.php’), ADBC_Clean_DB_List->__construct, ADBC_Clean_DB_List->aDBc_prepare_elements_to_clean, aDBc_count_all_elements_to_clean, aDBc_count_elements_to_clean
It doesn’t appear to cause any actual problems, however.
- The topic ‘MySQL 5.5 Sytax Errors’ is closed to new replies.