Severity: Notice
Message: Undefined index: title
Filename: controllers/article.php
Line Number: 34
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/article.php
Line Number: 34
Severity: Notice
Message: Undefined index: params
Filename: controllers/article.php
Line Number: 35
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/article.php
Line Number: 35
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/article.php
Line Number: 35
Severity: Notice
Message: Undefined index: params
Filename: controllers/article.php
Line Number: 36
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/article.php
Line Number: 36
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/article.php
Line Number: 36
Severity: Notice
Message: Undefined index: category_id
Filename: controllers/article.php
Line Number: 47
Severity: Notice
Message: Undefined index: id
Filename: controllers/article.php
Line Number: 47
Error Number: 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 `articles`.`category_id` IS NULL' at line 6
SELECT `articles`.`id`, `articles`.`params`, `articles`.`title_alias`, `articles`.`title`, `articles`.`image`, `articles`.`comment`, `articles`.`content`, `articles`.`category_id`, `categories`.`title_alias` as cate_alias FROM (`articles`) JOIN `categories` ON `categories`.`id` = `articles`.`category_id` WHERE `articles`.`public` = 1 AND `articles`.`id` != AND `articles`.`category_id` IS NULL
Filename: /home/hetvygej/public_html/models/marticles.php
Line Number: 104