array(9) {
[1]=>
string(22) "Furniture & Upholstery"
[2]=>
string(8) "Lighting"
[3]=>
string(7) "Outdoor"
[4]=>
string(10) "Decoration"
[5]=>
string(12) "Home Textile"
[6]=>
string(17) "Mattress and Rugs"
[7]=>
string(16) "Home Electronics"
[8]=>
string(4) "Bath"
[9]=>
string(11) "Electronics"
}
object(stdClass)#10 (5) {
["id"]=>
int(5)
["date_time"]=>
string(19) "2024-08-24 03:20:27"
["base_category"]=>
string(1) "1"
["category"]=>
string(12) "Living Space"
["deleted"]=>
int(0)
}
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 ') AND attr_status = '1'' at line 1 in /var/www/html/helpers/ezsql/pdo/ez_sql_pdo.php:253
Stack trace:
#0 /var/www/html/helpers/ezsql/pdo/ez_sql_pdo.php(253): PDO->query()
#1 /var/www/html/helpers/ezsql/shared/ez_sql_core.php(230): ezSQL_pdo->query()
#2 /var/www/html/classes/ProductAttribute.php(78): ezSQLcore->get_results()
#3 /var/www/html/pages/collection.php(125): ProductAttribute->getProductAttributes()
#4 /var/www/html/router.php(29): include('...')
#5 /var/www/html/router.php(146): handleRoute()
#6 /var/www/html/index.php(3): require('...')
#7 {main}
thrown in /var/www/html/helpers/ezsql/pdo/ez_sql_pdo.php on line 253