Notice: Undefined index: id_producto in /home/taquitodelsurcom/public_html/Controllers/Carrito.php on line 44

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 MariaDB server version for the right syntax to use near '' at line 1 in /home/taquitodelsurcom/public_html/Libraries/Core/Mysql.php:47 Stack trace: #0 /home/taquitodelsurcom/public_html/Libraries/Core/Mysql.php(47): PDOStatement->execute() #1 /home/taquitodelsurcom/public_html/Models/CarritoModel.php(20): Mysql->select_all('SELECT e.* FROM...') #2 /home/taquitodelsurcom/public_html/Controllers/Carrito.php(44): CarritoModel->getExtras(NULL) #3 /home/taquitodelsurcom/public_html/Libraries/Core/Load.php(12): Carrito->getCarrito('add') #4 /home/taquitodelsurcom/public_html/index.php(34): require_once('/home/taquitode...') #5 {main} thrown in /home/taquitodelsurcom/public_html/Libraries/Core/Mysql.php on line 47