Sign up for our newsletter and receive 3 free articles, on us.
Server Error
Error Message | SQLSTATE[42000]: Syntax error or access violation: 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 '' at line 1 |
---|---|
File | /home/scholari/public_html/app/models/PDODb.php On Line 1608 |
Stack Trace |
1 /home/scholari/public_html/app/models/PDODb.php(1608): PDOStatement->execute() 2 /home/scholari/public_html/app/models/PDODb.php(1648): PDODb->rawQuery('SELECT COUNT(id) FROM saves WHERE recid = ', NULL) 3 /home/scholari/public_html/app/controllers/ApiController.php(27): PDODb->rawQueryValue('SELECT COUNT(id) FROM saves WHERE recid = ', NULL) 4 /home/scholari/public_html/app/views/partials/indexed_articles/view.php(31): ApiController->val('SELECT COUNT(id) FROM saves WHERE recid = ') 5 /home/scholari/public_html/system/BaseView.php(418): include('/home/scholari/public_html/app/views/partials/indexed_articles/view.php') 6 /home/scholari/public_html/app/views/layouts/main_layout.php(59): BaseView->render_body() 7 /home/scholari/public_html/system/BaseView.php(385): include('/home/scholari/public_html/app/views/layouts/main_layout.php') 8 /home/scholari/public_html/system/BaseController.php(636): BaseView->render('indexed_articles/view.php', false, 'main_layout.php') 9 /home/scholari/public_html/app/controllers/Indexed_articlesController.php(178): BaseController->render_view('indexed_articles/view.php', false) 10 /home/scholari/public_html/system/Router.php(196): Indexed_articlesController->view('index.html') 11 /home/scholari/public_html/system/Router.php(109): Router->run('indexed_articles/view/index.html') 12 /home/scholari/public_html/index.php(106): Router->init() |