Delete Transients Database Error
-
Hi,
The new option to delete expired transients appears to be producing a database error:
[09-Dec-2013 00:00:03 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 b.option_name = replace(a.option_name,’_timeout’, ”)
AND (a.option_name ‘ at line 2 for query
DELETE FROM as_options a, as_options b
WHERE b.option_name = replace(a.option_name,’_timeout’, ”)
AND (a.option_name like ‘_transient_timeout_%’ or a.option_name like ‘_site_transient_timeout_%’)
AND a.option_value < ‘1386547143’
made by do_action_ref_array, call_user_func_array, rvg_optimize_db_cron, rvg_delete_transientsI’m using MySQL version 5.1.22, if that makes any difference.
- The topic ‘Delete Transients Database Error’ is closed to new replies.