• Found some database errors in error log on a client website:

    You have an error in your SQL syntax … DELETE FROM wp_ratings WHERE rating_postid IN () von include('/plugins/wp-postratings/postratings-manager.php')

    Error is triggered if in plugin admin page at “Delete Ratings Data/Logs” the button “Delete Data/Logs” is clicked and nothing is entered in field “Post ID(s):”

    There is no code to handle empty $_POST['delete_postid'] case.

    WordPress 6.1.1, WP-Postratings 1.90

The topic ‘Bug: You have an error in your SQL syntax …’ is closed to new replies.