Database Syntax Error
-
I am getting an entry in my error_log file whenever I enable caching. I have never seen this before. I have deleted and reinstalled the plugin and “repaired” the database using phpMyAdmin.
I am using ClassicPress version 1.0.1 and the problem is not happening on my other CP sites.
The message is:
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 ') AND ((cp_u5p2_posts.post_status = 'publish')) ORDER BY cp_u5p2_posts.ID DESC ' at line 1 for query SELECT SQL_CALC_FOUND_ROWS cp_u5p2_posts.ID FROM cp_u5p2_posts WHERE 1=1 AND () AND ((cp_u5p2_posts.post_status = 'publish')) ORDER BY cp_u5p2_posts.ID DESC LIMIT 0, 3 made by do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, WpFastestCache->create_preload_cache, PreloadWPFC::create_preload_cache
I have the preload set to 4 and turning restart on or off makes no difference.
Any idea what is going on?
- The topic ‘Database Syntax Error’ is closed to new replies.