A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: DeLeden/LedenDetailsController.php

Line Number: 13

Backtrace:

File: /home/statie1q/public_html/application/controllers/DeLeden/LedenDetailsController.php
Line: 13
Function: _error_handler

File: /home/statie1q/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 578

Backtrace:

File: /home/statie1q/public_html/application/models/FotosModel.php
Line: 61
Function: query

File: /home/statie1q/public_html/application/controllers/DeLeden/LedenDetailsController.php
Line: 13
Function: getPortfolio

File: /home/statie1q/public_html/index.php
Line: 315
Function: require_once

Database Error

Er is een database fout opgetreden.

Error Number: 42000/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 substring(f.categorie,1,2) != 'MF' and f.categorie NOT IN (14,15,16,17,19,22' at line 1

select f.* from fotos as f left outer join categorie as c on f.categorie = c.id where member_id = and substring(f.categorie,1,2) != 'MF' and f.categorie NOT IN (14,15,16,17,19,22,23,25,29,30,31,32,33,34,35) and (f.nietleden = 'ja' or 'Bezoeker' != 'Bezoeker') ORDER BY rand() limit 20

Filename: models/FotosModel.php

Line Number: 61