PDOException

Description

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 'rows FROM i_calendar_event ce WHERE ce._active=1' at line 1

Source File

/data/4/a/4a2ce72d-d298-425a-a605-ba6b05b84246/stospoje.sk/web/library/Gss/Db.php (120)

0118:         $paramsConverted = (is_array($params) ? ($params) : (array($params)));
0119: 
0120: if ((!$statement->execute($paramsConverted)) || ($statement->errorCode() != '00000')) {
0121: $errorInfo = $statement->errorInfo(); 0122: throw new Gss_Exception_Db("Database error [{$errorInfo[0]}]: {$errorInfo[2]}, driver error code is $errorInfo[1]"); 0123: }

Stack Trace

#0 /data/4/a/4a2ce72d-d298-425a-a605-ba6b05b84246/stospoje.sk/web/library/Gss/Db.php(120): PDOStatement->execute(Array)
#1 /data/4/a/4a2ce72d-d298-425a-a605-ba6b05b84246/stospoje.sk/web/library/Gss/Db.php(95): Gss_Db::_query('SELECT COUNT(*)...', Array)
#2 /data/4/a/4a2ce72d-d298-425a-a605-ba6b05b84246/stospoje.sk/web/library/Gss/Grid/Basic.php(550): Gss_Db::getRow('SELECT COUNT(*)...')
#3 /data/4/a/4a2ce72d-d298-425a-a605-ba6b05b84246/stospoje.sk/web/library/Gss/Grid/Basic.php(593): Gss_Grid_Basic->getRowsCount('SELECT ce.Id as...')
#4 /data/4/a/4a2ce72d-d298-425a-a605-ba6b05b84246/stospoje.sk/web/modules/models/calendar.php(298): Gss_Grid_Basic->render()
#5 /data/4/a/4a2ce72d-d298-425a-a605-ba6b05b84246/stospoje.sk/web/modules/models/calendar.php(255): calendar->printItemsList('default', 'default')
#6 /data/4/a/4a2ce72d-d298-425a-a605-ba6b05b84246/stospoje.sk/web/modules/models/calendar.php(214): calendar->printAsideRight('default', 'default')
#7 /data/4/a/4a2ce72d-d298-425a-a605-ba6b05b84246/stospoje.sk/web/modules/models/mainclass.php(46): calendar->getLayout('default', 'default')
#8 /data/4/a/4a2ce72d-d298-425a-a605-ba6b05b84246/stospoje.sk/web/modules/models/mainclass.php(717): mainclass->printDefaultBody('default', 'default')
#9 /data/4/a/4a2ce72d-d298-425a-a605-ba6b05b84246/stospoje.sk/web/library/Gss/Core.php(272): mainclass->ReplaceCustomTag('DEFAULT_BODY', 'default', 'default', 'default', '', 0)
#10 /data/4/a/4a2ce72d-d298-425a-a605-ba6b05b84246/stospoje.sk/web/library/Gss/Core.php(346): Gss_Core->ProcessTag('DEFAULT_BODY', 'default', 'default', 'default', 0)
#11 /data/4/a/4a2ce72d-d298-425a-a605-ba6b05b84246/stospoje.sk/web/library/Gss/Core.php(363): Gss_Core->ProcessTemplate('<!DOCTYPE html>...', 'default', 'default', 'default', 0)
#12 /data/4/a/4a2ce72d-d298-425a-a605-ba6b05b84246/stospoje.sk/web/library/Gss/Dispatcher/Default.php(139): Gss_Core->Render('default', 'default', 'default')
#13 /data/4/a/4a2ce72d-d298-425a-a605-ba6b05b84246/stospoje.sk/web/library/Gss/App/Default.php(339): Gss_Dispatcher_Default->dispatch(Object(Gss_Request_Http), Object(Gss_Response_Http))
#14 /data/4/a/4a2ce72d-d298-425a-a605-ba6b05b84246/stospoje.sk/web/www/index.php(21): Gss_App_Default->run()
#15 {main}
2023-03-28 08:32