A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Pages.php

Line Number: 678

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 678
Function: _error_handler

File: /var/www/html/galerie-lelong.com/www/www/index.php
Line: 314
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Pages.php

Line Number: 678

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 678
Function: _error_handler

File: /var/www/html/galerie-lelong.com/www/www/index.php
Line: 314
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Pages.php

Line Number: 678

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 678
Function: _error_handler

File: /var/www/html/galerie-lelong.com/www/www/index.php
Line: 314
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Pages.php

Line Number: 678

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 678
Function: _error_handler

File: /var/www/html/galerie-lelong.com/www/www/index.php
Line: 314
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Pages.php

Line Number: 678

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 678
Function: _error_handler

File: /var/www/html/galerie-lelong.com/www/www/index.php
Line: 314
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Pages.php

Line Number: 678

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 678
Function: _error_handler

File: /var/www/html/galerie-lelong.com/www/www/index.php
Line: 314
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Pages.php

Line Number: 679

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 679
Function: _error_handler

File: /var/www/html/galerie-lelong.com/www/www/index.php
Line: 314
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Pages.php

Line Number: 679

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 679
Function: _error_handler

File: /var/www/html/galerie-lelong.com/www/www/index.php
Line: 314
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Pages.php

Line Number: 679

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 679
Function: _error_handler

File: /var/www/html/galerie-lelong.com/www/www/index.php
Line: 314
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Pages.php

Line Number: 679

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 679
Function: _error_handler

File: /var/www/html/galerie-lelong.com/www/www/index.php
Line: 314
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Creating default object from empty value

Filename: controllers/Pages.php

Line Number: 682

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 682
Function: _error_handler

File: /var/www/html/galerie-lelong.com/www/www/index.php
Line: 314
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$qte

Filename: controllers/Pages.php

Line Number: 683

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 683
Function: _error_handler

File: /var/www/html/galerie-lelong.com/www/www/index.php
Line: 314
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$ARTISTES_id

Filename: controllers/Pages.php

Line Number: 685

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 685
Function: _error_handler

File: /var/www/html/galerie-lelong.com/www/www/index.php
Line: 314
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/galerie-lelong.com/www/sysFiles/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/models/Pages_model.php
Line: 1164
Function: get

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 685
Function: get_artiste_oeuvres

File: /var/www/html/galerie-lelong.com/www/www/index.php
Line: 314
Function: require_once

Database Error

Une erreur de la base de données s'est produite.

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 'AND `BP`.`id` IS NOT NULL AND `BP`.`qte` >0 ORDER BY O.ordre is null, O.ordre, O' at line 5

SELECT `O`.`id`, `O`.`idFM`, `O`.`titre` AS `titre`, `O`.`image`, `O`.`baseTechnique` AS `baseTechnique`, CONCAT(A.prenom, IF(A.prenom != "" AND A.nom != "", " ", ""), A.nom) AS artiste, `A`.`id` AS `artisteId`, "oeuvre" AS `type` FROM `OEUVRES` AS `O` LEFT JOIN `ARTISTES` AS `A` ON `A`.`id` = `O`.`ARTISTES_id` LEFT JOIN `BOUTIQUE_PRODUCTS` AS `BP` ON `BP`.`OEUVRES_id` = `O`.`id` WHERE `O`.`ARTISTES_id` = AND `BP`.`id` IS NOT NULL AND `BP`.`qte` >0 ORDER BY O.ordre is null, O.ordre, O.titre

Filename: models/Pages_model.php

Line Number: 1164