A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Categories.php

Line Number: 65

Backtrace:

File: /home/topluxury/public_html/application/modules/site/controllers/Categories.php
Line: 65
Function: _error_handler

File: /home/topluxury/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 568

Backtrace:

File: /home/topluxury/public_html/application/libraries/Nestedset.php
Line: 334
Function: query

File: /home/topluxury/public_html/application/modules/site/controllers/Categories.php
Line: 65
Function: getPath

File: /home/topluxury/public_html/index.php
Line: 292
Function: require_once

Database Error

A ap─ârut o eroare la baza de date.

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 'ORDER BY p.lft' at line 1

SELECT p.category_id, p.category_name, p.alias FROM product_category n, product_category p WHERE n.lft BETWEEN p.lft AND p.rgt AND n.category_id = ORDER BY p.lft;

Filename: libraries/Nestedset.php

Line Number: 334