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 26 in /home/u988220557/domains/gcpgarcia.com/public_html/Libraries/Core/Mysql.php:59
Stack trace:
#0 /home/u988220557/domains/gcpgarcia.com/public_html/Libraries/Core/Mysql.php(59): PDOStatement->execute(Array)
#1 /home/u988220557/domains/gcpgarcia.com/public_html/Models/TProducto.php(199): Mysql->select('SELECT p.idprod...')
#2 /home/u988220557/domains/gcpgarcia.com/public_html/Controllers/Tienda.php(102): Tienda->getProductoT(1251, 'banera-o'-bebed...')
#3 /home/u988220557/domains/gcpgarcia.com/public_html/Libraries/Core/Load.php(14): Tienda->producto('1251,banera-o'-...')
#4 /home/u988220557/domains/gcpgarcia.com/public_html/index.php(30): require_once('/home/u98822055...')
#5 {main}
thrown in /home/u988220557/domains/gcpgarcia.com/public_html/Libraries/Core/Mysql.php on line 59