Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2014 Cannot execute queries while there are pending result sets. Consider unsetting the previous PDOStatement or calling PDOStatement::closeCursor() in /usr/www/users/ayanam/inc.classes/class.dbquery.php:40 Stack trace: #0 /usr/www/users/ayanam/inc.classes/class.dbquery.php(40): PDO->query() #1 /usr/www/users/ayanam/inc.classes/class.db.php(36): dbquery->execute() #2 /usr/www/users/ayanam/inc.htmlheader.php(67): db->query() #3 /usr/www/users/ayanam/bestdeal_ctheme.php(60): require('/usr/www/users/...') #4 {main} thrown in /usr/www/users/ayanam/inc.classes/class.dbquery.php on line 40