A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/products.php

Line Number: 120

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/products.php

Line Number: 123

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 `prod_city_id` = 1 ORDER BY `prod_id` ASC LIMIT 8' at line 5

SELECT * FROM (`pf_product`) WHERE `prod_cat_id` IS NULL AND `prod_id` != AND `prod_city_id` = 1 ORDER BY `prod_id` ASC LIMIT 8

Filename: /home/hinm9rik6xkc/public_html/models/site_product_model.php

Line Number: 245