SQL error on line 403 of includes/functions.php
-
This PHP code generates an incorrect SQL statement:
//Find unused urls $query = "select id from " . $wpdb->prefix . "wbz404_redirects where status = " . $wpdb->escape(WBZ404_AUTO) . " status "; $query .= "timestamp <= " . $wpdb->escape($then) . " and id not in (";
ie: it generates
... where status = 2 status timestamp <= ...
(the extra status key in there)
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘SQL error on line 403 of includes/functions.php’ is closed to new replies.