Severity: Notice
Message: Trying to get property 'tag_name' of non-object
Filename: controllers/Publikasi.php
Line Number: 47
Backtrace:
File: /var/www/html/application/controllers/Publikasi.php
Line: 47
Function: _error_handler
File: /var/www/html/index.php
Line: 315
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /var/www/html/system/core/Exceptions.php:272)
Filename: core/Common.php
Line Number: 571
Backtrace:
File: /var/www/html/application/controllers/Publikasi.php
Line: 50
Function: query
File: /var/www/html/index.php
Line: 315
Function: require_once
Error Number: 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 'order by d.created_at desc' at line 1
select d.*, b.category_name, c.full_name from news_taged a left join news d on d.id = a.id_news left join news_category b on b.id = d.id_category left join users c on c.id = d.created_by where a.id_tags = order by d.created_at desc
Filename: controllers/Publikasi.php
Line Number: 50