Error in: /home/vipcredi/public_html/includes/DAL/News.php
On line: 52
Message: 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 news where is_published' at line 1
Trace:
#0 /home/vipcredi/public_html/includes/DAL/News.php(52): PDO->query('select count(*)...')
#1 /home/vipcredi/public_html/modules/news/page.php(24): PP_DAL_News::getPublishedCount()
#2 [internal function]: page->__default('1')
#3 /home/vipcredi/public_html/index.php(131): call_user_func_array(Array, Array)
#4 {main}