A PHP Error was encountered

Severity: Warning

Message: Missing argument 1 for Artikel::id()

Filename: controllers/artikel.php

Line Number: 23

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: artikel_id

Filename: controllers/artikel.php

Line Number: 27

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: artikel_id

Filename: controllers/artikel.php

Line Number: 28

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: artikel_id

Filename: controllers/artikel.php

Line Number: 30

A PHP Error was encountered

Severity: Notice

Message: Undefined index: artikel_user_id

Filename: controllers/artikel.php

Line Number: 31

Database Error

A Database Error Occurred

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 'GROUP BY U.user_id' at line 2

SELECT * , GROUP_CONCAT( DISTINCT img.userimages_id SEPARATOR "," ) AS userimages FROM zanew_user U LEFT JOIN zanew_userimages I ON I.userimages_id = U.user_profilbild_id LEFT JOIN zanew_userimages img ON img.userimages_parent_id = U.user_id WHERE U.user_freigeschaltet = 1 AND U.user_id = GROUP BY U.user_id