Warning: Undefined array key "userData" in /home/htxrsced/public_html/Models/TProducto.php on line 702
Warning: Trying to access array offset on value of type null in /home/htxrsced/public_html/Models/TProducto.php on line 702
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 'GROUP BY p.personaid' at line 4 in /home/htxrsced/public_html/Libraries/Core/Mysql.php:44
Stack trace:
#0 /home/htxrsced/public_html/Libraries/Core/Mysql.php(44): PDOStatement->execute()
#1 /home/htxrsced/public_html/Models/TProducto.php(712): Mysql->select_all('SELECT COUNT(*)...')
#2 /home/htxrsced/public_html/Controllers/Tienda.php(109): Tienda->cantProductos2(40)
#3 /home/htxrsced/public_html/Libraries/Core/Load.php(10): Tienda->categoria('40,ropa-de-dama...')
#4 /home/htxrsced/public_html/index.php(30): require_once('/home/htxrsced/...')
#5 {main}
thrown in /home/htxrsced/public_html/Libraries/Core/Mysql.php on line 44