Video Quiz

Notice: Undefined index: vid in /home/onlineoral/public_html/wp-content/themes/dt-the7/page-videoquiz.php on line 19

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 'AND meta_key = '_quiz_id'' at line 1]
SELECT * FROM wpwp_postmeta WHERE post_id = AND meta_key = '_quiz_id'

It appears that this quiz is not set up correctly