Version 4.4.6 has SQL errors and issues that stop posting
-
Have been a premium user and used this plugin for years. Latest update completely breaks it. Things like
WordPress database error Unknown column ‘id’ in ‘field list’ for query SELECT COUNT(id) ‘FROM wp_nxs_query WHERE timetorun<\’2024-06-22 18:59:07\” made by do_action_ref_array(‘nxs_querypost_event’), WP_Hook->do_action, WP_Hook->apply_filters, nxs_checkQuery
or WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ”wp_nxs_log’ SET flt = ‘snap’ WHERE flt IS NULL OR flt = ”’ at line 1 for query UPDATE ‘wp_nxs_log’ SET flt = ‘snap’ WHERE flt IS NULL OR flt = ” made by do_action_ref_array(‘nxs_hourly_event’), WP_Hook->do_action, WP_Hook->apply_filters, nxs_do_this_hourly
ChatGPT tells me the correct query should be:
UPDATE wp_nxs_log SET flt = 'snap' WHERE flt IS NULL OR flt = '';
or this:
DELETE FROM wp_nxs_log WHERE flt = ‘cron’ AND id NOT IN ( SELECT id FROM ( SELECT id FROM wp_nxs_log ORDER BY id DESC LIMIT 360 ) foo );
The previous version works just fine but it has security issues apparently?
- You must be logged in to reply to this topic.