A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Pages.php

Line Number: 375

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 375
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: 375

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 375
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: 375

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 375
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: 375

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 375
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: 376

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 376
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: 376

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 376
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: 376

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 376
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: 376

Backtrace:

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 376
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: 990
Function: get

File: /var/www/html/galerie-lelong.com/www/appFiles/controllers/Pages.php
Line: 379
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 `O`.`online` = 1 ORDER BY O.ordre is null, O.ordre, O.titre' at line 4

SELECT `O`.`id`, `O`.`idFM`, `O`.`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` WHERE `O`.`ARTISTES_id` = AND `O`.`online` = 1 ORDER BY O.ordre is null, O.ordre, O.titre

Filename: models/Pages_model.php

Line Number: 990