WordPress 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 '' at line 1]
DELETE FROM wp_modal_survey_participants WHERE `autoid` NOT IN ( SELECT spd.uid FROM wp_modal_survey_participants_details spd

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-includes/class-wpdb.php:1854) in /var/www/html/wp-content/themes/enfold/includes/helper-privacy.php on line 406 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-includes/class-wpdb.php:1854) in /var/www/html/wp-includes/rest-api/class-wp-rest-server.php on line 1831 {"code":"rest_cannot_access","message":"DRA: Alleen geauthenticeerde gebruikers hebben toegang tot de REST API.","data":{"status":401}}