A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/catalogue.php

Line Number: 97

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/catalogue.php

Line Number: 101

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/shop_model.php

Line Number: 393

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/shop_model.php

Line Number: 393

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/catalogue.php

Line Number: 113

Database Error

Ошибка БД

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 '' at line 2

SELECT category_id, category_level, category_name, category_short_name, category_engname, category_parent FROM shop_categories WHERE category_id=