SELECT blog.*, blogID AS ID, UNIX_TIMESTAMP(dateOfPublish) AS dateOfPublish, DATE_FORMAT(dateOfPublish, '%Y') AS year FROM blog WHERE `blogID`=1248/ AND active='1' AND language='sl' AND dateOfPublish<=NOW() AND (dateOfExpiry>='2019-02-19' OR dateOfExpiry IS NULL)
Fatal error: Uncaught Error: Call to a member function rowCount() on boolean in /var/www/stranke/_lib4/class.news.php:74 Stack trace: #0 /var/www/stranke/www.bukla.si/public_html/index.php(139): News->getElementByID('1248/') #1 {main} thrown in /var/www/stranke/_lib4/class.news.php on line 74