mySQL WARNING! DB Error: mySQL Error on Query : SELECT s.id, s.wyprzedaz, s.data_wyprzedaz, s.wyprzedaz_obnizka, s.created, s.slug, s.producent, s.nazwa_pl as nazwa, s.kategoria, s.krotki_opis_pl as krotki_opis, s.opis_pl as opis, s.kod_produktu, s.cena_brutto, s.cena_netto, s.info_gdy_nie_ma, s.cena_na_zapytanie, s.pozw_zamaw, s.ilosc, (SELECT COUNT(s.id) FROM shop as s LEFT JOIN shop_users as su ON s.id = su.pid LEFT JOIN shop_cat_prod as scp ON scp.id = s.id WHERE opublikowany = 1 AND aktywny = 1 AND ()) as pages FROM shop as s LEFT JOIN shop_users as su ON s.id = su.pid LEFT JOIN shop_cat_prod as scp ON scp.id = s.id WHERE opublikowany = 1 AND aktywny = 1 AND () ORDER BY position LIMIT 0, 40 More Information:
Mysql Error : 1064
Mysql Error no # : 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 ')) as pages FROM shop as s LEFT JOIN shop_users as su ON s.id = su.pid LEFT JO' at line 1