WYJĄTEK

MySQL.class.php, linia: 82

SELECT

SQL_CALC_FOUND_ROWS `e`.`id` AS totalRows,
`e`.`id`, `e`.`id_parent`, `e`.`locked`
, `ml`.`name`,
m.id_client
FROM `a_Element` AS e
INNER JOIN `a_BasketModule` AS m ON (`m`.`id_element`=`e`.`id`)
INNER JOIN `a_BasketModule_lang` AS ml ON (`ml`.`id_element`=`e`.`id` AND `ml`.`id_lang`='297')
LEFT JOIN `a_Position` AS p ON (`p`.`id_element`=`e`.`id` AND `p`.`id_parent` IS NULL)

WHERE `e`.`module` = 'BasketModule'
AND `m`.`active` = '1' AND `m`.`deleted_at` IS NULL AND `e`.`id_parent` IS NULL AND
`m`.`id_client` = AND
`m`.`id_acceptor` IS NULL
GROUP BY `e`.`id`

ORDER BY position asc


#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 'AND
`m`.`id_acceptor` IS NULL
GROUP BY `e`.`id`

ORDER BY position ' at line 14
#0 /home/biurpaps/domains/biurpap.pl/public_html/class/MySQL.class.php:123
MySQL->query()
#1 /home/biurpaps/domains/biurpap.pl/public_html/class/SiteList.class.php:300
MySQL->fetchQueryResults()
#2 /home/biurpaps/domains/biurpap.pl/public_html/modules/ClientModule/ClientModule.class.php:313
SiteList->elementsList()
#3 /home/biurpaps/domains/biurpap.pl/public_html/modules/PageModule/PageModule.class.php:14
ClientModule->runController()
#4 /home/biurpaps/domains/biurpap.pl/public_html/index.php:249
PageModule->runController()