• Resolved p15h

    (@prestonwordsworth)


    Dear @smakazmi15

    The following error appeared in our server log after upgrading to 2.5.7:

    Got error 'PHP message: 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 '%i AS pl ORDER BY pl.time desc LIMIT 0, 25' at line 1 for query SELECT pl.id,pl.original_subject,pl.to_header,pl.success,pl.time FROM %i AS pl ORDER BY pl.time desc LIMIT 0, 25 made by do_action('wp_ajax_ps-get-email-logs'), WP_Hook->do_action, WP_Hook->apply_filters, PostmanEmailLogs->get_logs_ajax, PostmanEmailQueryLog->get_logs; PHP message: 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 '%i AS pl ORDER BY pl.time desc' at line 1 for query SELECT COUNT(*) as count FROM %i AS pl ORDER BY pl.time desc  made by do_action('wp_ajax_ps-get-email-logs'), WP_Hook->do_action, WP_Hook->apply_filters, PostmanEmailLogs->get_logs_ajax, PostmanEmailQueryLog->get_filtered_rows_count', referer: https://hostname/wp-admin/admin.php?page=postman_email_log

    MySQL version: 8.0.33

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Bug report: SQL syntax error’ is closed to new replies.