A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/produk.php

Line Number: 46

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/tanimart/public_html/system/core/Exceptions.php:186)

Filename: core/Common.php

Line Number: 437

Database Error

A Database Error Occurred

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 `id` DESC LIMIT 0,8' at line 4

SELECT * FROM `gtk2706_produk` WHERE `kategori` = ORDER BY `id` DESC LIMIT 0,8

Filename: /home/tanimart/public_html/models/mproduk.php

Line Number: 222