A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Boutique.php

Line Number: 123

Backtrace:

File: /home/metec/public_html/app/controllers/Boutique.php
Line: 123
Function: _error_handler

File: /home/metec/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 '' at line 1

SELECT cp.*, c.nom_categorie,c.description, c.h1, c.banner FROM _categories_parent cp LEFT JOIN _categories c ON c.id_categorie = cp.id_categorie WHERE cp.id_parent =

Filename: models/Kernel_model.php

Line Number: 30