Warning: Trying to access array offset on value of type null on line 45 in file /var/www/vhosts/implacom.nl/httpdocs/modules/blog_category/controllers/blog_category_controller.php
Fatal error: Uncaught PDOException: 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 ')
AND blog.blogActive = 1
AND blog.blogPublic...' at line 3 in /var/www/vhosts/implacom.nl/httpdocs/system/core/classes/DatabaseCon.class.php:50
Stack trace:
#0 /var/www/vhosts/implacom.nl/httpdocs/system/core/classes/DatabaseCon.class.php(50): PDOStatement->execute()
#1 /var/www/vhosts/implacom.nl/httpdocs/modules/blog/models/blog_model.php(40): DatabaseCon->Query()
#2 /var/www/vhosts/implacom.nl/httpdocs/modules/blog_category/controllers/blog_category_controller.php(45): blog_model->getBlogsByCategory()
#3 /var/www/vhosts/implacom.nl/httpdocs/system/core/main.php(18): blog_category_controller->Run()
#4 /var/www/vhosts/implacom.nl/httpdocs/index.php(59): require_once('...')
#5 {main}
thrown in /var/www/vhosts/implacom.nl/httpdocs/system/core/classes/DatabaseCon.class.php on line 50
array(4) {
["type"]=>
int(1)
["message"]=>
string(950) "Uncaught PDOException: 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 ')
AND blog.blogActive = 1
AND blog.blogPublic...' at line 3 in /var/www/vhosts/implacom.nl/httpdocs/system/core/classes/DatabaseCon.class.php:50
Stack trace:
#0 /var/www/vhosts/implacom.nl/httpdocs/system/core/classes/DatabaseCon.class.php(50): PDOStatement->execute()
#1 /var/www/vhosts/implacom.nl/httpdocs/modules/blog/models/blog_model.php(40): DatabaseCon->Query()
#2 /var/www/vhosts/implacom.nl/httpdocs/modules/blog_category/controllers/blog_category_controller.php(45): blog_model->getBlogsByCategory()
#3 /var/www/vhosts/implacom.nl/httpdocs/system/core/main.php(18): blog_category_controller->Run()
#4 /var/www/vhosts/implacom.nl/httpdocs/index.php(59): require_once('...')
#5 {main}
thrown"
["file"]=>
string(78) "/var/www/vhosts/implacom.nl/httpdocs/system/core/classes/DatabaseCon.class.php"
["line"]=>
int(50)
}