Notice: Undefined index: usuario in /home1/radiopqr/public_html/src/favorites.php on line 20

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 favourite.status=1' at line 1 in /home1/radiopqr/public_html/src/favorites.php:42 Stack trace: #0 /home1/radiopqr/public_html/src/favorites.php(42): PDOStatement->execute() #1 /home1/radiopqr/public_html/system/baseController.php(15): require_once('/home1/radiopqr...') #2 /home1/radiopqr/public_html/core/getResponse.php(8): baseController->loadView('favorites') #3 /home1/radiopqr/public_html/bootstrap/bootApp.php(20): getResponse->load('favorites') #4 /home1/radiopqr/public_html/bootstrap/loadApp.php(24): require_once('/home1/radiopqr...') #5 /home1/radiopqr/public_html/bootstrap/loadApp.php(27): __autoload(Object(getResponse)) #6 /home1/radiopqr/public_html/home.php(8): require_once('/home1/radiopqr...') #7 {main} thrown in /home1/radiopqr/public_html/src/favorites.php on line 42