A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/category.php

Line Number: 64

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/category.php

Line Number: 65

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/category.php

Line Number: 71

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/category.php

Line Number: 72

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /customers/2/b/6/promomeuble.be/httpd.www/system/libraries/Exceptions.php:166)

Filename: codeigniter/Common.php

Line Number: 356

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 `ads`.`ID` != '129' ORDER BY `ads`.`Prijs` desc LIMIT 1' at line 5

SELECT `ads`.* FROM (`ads`) WHERE `ads`.`Subcat_ID` IS NULL AND `ads`.`Prijs` <= AND `ads`.`ID` != '129' ORDER BY `ads`.`Prijs` desc LIMIT 1