Wystąpił wyjątek:


Serwis:Twist Service
Data wystąpienia:25 maja 2022, 14:57
Kategoria wyjątku:6
IP:100.24.115.215
Przeglądarka:CCBot/2.0 (https://commoncrawl.org/faq/)
URL:http://twistservice.pl/pl/szkolenia-campy-warsztaty/-/add_comment
Request URL:http://twistservice.p/pl/szkolenia-campy-warsztaty/-/add_comment


MySql_DB: Wystąpił błąd podczas wykonywania zapytania:

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 ')' at line 12

Zapytanie:
SELECT pfx.*, pfx.title1 as nameSchema ,c.id as cat, c.url_name1 as cat_url, c.name1 as katname
FROM module__articles as pfx
LEFT JOIN module__articles_depart_handle as h
     ON h.article_ID=pfx.id
LEFT JOIN module__articles_category as c
     ON c.id=h.depart_ID
WHERE pfx.visible='1' && pfx.trash IS NULL && NOW()>=pfx.start_up_date && (NOW() < pfx.archive_up_date || pfx.archive_up_date IS NULL) && c.visible='1' && h.trash IS NULL && c.trash IS NULL && (pfx.id=)


#8applicationclassDBclass.Database.php5linia: 233MySql_DB->query(' SELECT pfx.*, pfx.title1 as nameSchema ...')
#7applicationmodulesArticlesclass.php5linia: 185DB->select(' SELECT pfx.*, pfx.title1 as nameSchema ...',...)
#6applicationsubpagemenu_top.php5linia: 47Articles::getEntry('(pfx.id=)',...)
#5applicationclassCoreclass.Divisions.php5linia: 180include_once('/application/subpage/menu_top.php5...')
#4applicationclassRulesclass.Web.php5linia: 206Division->init()
#3applicationclassCoreclass.RuleManager.php5linia: 35web__Rules->__construct()
#2applicationclassCoreclass.Registry.php5linia: 66RuleManager::init('web')
#1index.php5linia: 48Registry->setRule('web')
#0 {main}