A Database Error Occurred

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 '`IS NULL` ORDER BY `product`.`id` desc LIMIT 4' at line 4

SELECT `product`.*, `category`.`catname` FROM (`product`) JOIN `category` ON `category`.`cat_id`=`product`.`cat_id` WHERE `product`.`cat_id` `IS NULL` ORDER BY `product`.`id` desc LIMIT 4

Filename: /home/u743148829/domains/buaphada.com.vn/public_html/models/product_model.php

Line Number: 40