Notice: Undefined index: memberId in /home/b1u3p3n2019dec/public_html/Model/Dashboard/Questionpaper.php on line 181

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'AND qestd.`payment_status`= 'Unsuccess' order by qestd.`id` DESC' at line 1 in /home/b1u3p3n2019dec/public_html/Model/Dashboard/Questionpaper.php:184 Stack trace: #0 /home/b1u3p3n2019dec/public_html/Model/Dashboard/Questionpaper.php(184): PDO->query('SELECT qestd.*,...') #1 /home/b1u3p3n2019dec/public_html/Views/Dashboard/request-for-evaluation.php(25): Model\Dashboard\Questionpaper->getAllQuestionpaper_downloads() #2 {main} thrown in /home/b1u3p3n2019dec/public_html/Model/Dashboard/Questionpaper.php on line 184