A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Product.php

Line Number: 174

Backtrace:

File: /home/bamboo/domains/bamboovina.vn/public_html/application/controllers/Product.php
Line: 174
Function: _error_handler

File: /home/bamboo/domains/bamboovina.vn/public_html/index.php
Line: 315
Function: require_once

Database Error

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 'AND `product_id` != 3' at line 3

SELECT * FROM `product_category` WHERE `category_id` = AND `product_id` != 3

Filename: core/MY_Model.php

Line Number: 76