$var
# Function File
1 CProject->build() /index.php (32)
2 WireframeIndex->build() /project/project.php (48)
3 Wireframe->buildModules() /wireframes/index/wireframe_index.php (64)
4 Module->build() /core/system/wireframe.php (139)
5 Module->run() /core/system/module.php (69)
6 Event->buildEvent() /core/system/module.php (64)
7 EventModel->getEventsByTag() /modules/event/event.php (47)
8 Model->limit() /modules/event/event_model.php (160)
9 Db->getRow() /core/system/model.php (72)
10 Db->run() /core/system/db.php (130)
11 debug() /core/system/db.php (173)
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' at
line 1 (152)
 
SELECT FOUND_ROWS() AS rows