Quantcast
Viewing all articles
Browse latest Browse all 5531

Luis Rodrigues on "[Plugin: WP Security Audit Log] Syntax error (%d not replaced)"

I've been getting the following error recently:

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 '%d ORDER BY created_on ASC LIMIT 4729'

This is caused by the following query, which doesn't replace the %d token:

SELECT * FROM wp_wsal_occurrences WHERE created_on < %d ORDER BY created_on ASC LIMIT 4729

https://wordpress.org/plugins/wp-security-audit-log/


Viewing all articles
Browse latest Browse all 5531

Trending Articles