A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/product.php

Line Number: 1036

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/product.php

Line Number: 1037

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/product.php

Line Number: 1037

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 438

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 'AND `product_master`.`product_status` = 1 AND `product_images`.`is_default` = ' at line 10

SELECT *, `product_master`.`product_master_id` as prod_master FROM (`product_price`) JOIN `product_master` ON `product_price`.`product_master_id`=`product_master`.`product_master_id` JOIN `product_to_category` ON `product_master`.`product_master_id`=`product_to_category`.`product_master_id` JOIN `category` ON `product_to_category`.`category_id`=`category`.`category_id` JOIN `product_images` ON `product_master`.`product_master_id`=`product_images`.`product_master_id` JOIN `users` ON `product_master`.`lowest_price_id`=`users`.`user_id` WHERE `product_to_category`.`category_id` IS NULL AND `product_master`.`product_master_id` != AND `product_master`.`product_status` = 1 AND `product_images`.`is_default` = 1 GROUP BY `product_master`.`product_master_id` LIMIT 10

Filename: /home/farmeroutlet/public_html/models/product_model.php

Line Number: 500