Fatal error: Uncaught Exception: Pobieranie danych o produktach
Błąd zapytania SQL 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 ') where a.avaible=1 order by a.product_type, a.price, a.popularity, a.sort_na...' at line 1 in /home/klient.dhosting.pl/gilmor/baretki.eu/public_html/ext/db.php:37
Stack trace:
#0 /home/klient.dhosting.pl/gilmor/baretki.eu/public_html/ext/db.php(403): TDB::raiseError('Pobieranie dany...')
#1 /home/klient.dhosting.pl/gilmor/baretki.eu/public_html/ext/products.php(97): TDB::GetProducts(true, NULL, '7', 'name', 'asc')
#2 /home/klient.dhosting.pl/gilmor/baretki.eu/public_html/ext/site.php(236): TProducts::GetProducts('7', NULL, NULL)
#3 /home/klient.dhosting.pl/gilmor/baretki.eu/public_html/produkt.php(23): site::showProducts('7', NULL, NULL)
#4 /home/klient.dhosting.pl/gilmor/baretki.eu/public_html/index.php(2): include('/home/klient.dh...')
#5 {main}
thrown in /home/klient.dhosting.pl/gilmor/baretki.eu/public_html/ext/db.php on line 37