A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'category' of non-object

Filename: controllers/Home.php

Line Number: 936

Backtrace:

File: /home/fayda.app/public_html/application/controllers/Home.php
Line: 936
Function: _error_handler

File: /home/fayda.app/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 'shop_product_category.parent_id) AND status = 1 ORDER BY shop_product_categor...' at line 1

SELECT * FROM shop_product_category WHERE FIND_IN_SET(,shop_product_category.parent_id) AND status = 1 ORDER BY shop_product_category.sequence ASC LIMIT 25

Filename: models/Shop_model.php

Line Number: 2940