A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'name' of non-object

Filename: controllers/Events.php

Line Number: 66

Backtrace:

File: /mnt/web404/b1/62/59682862/htdocs/application/controllers/Events.php
Line: 66
Function: _error_handler

File: /mnt/web404/b1/62/59682862/htdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'name' of non-object

Filename: controllers/Events.php

Line Number: 69

Backtrace:

File: /mnt/web404/b1/62/59682862/htdocs/application/controllers/Events.php
Line: 69
Function: _error_handler

File: /mnt/web404/b1/62/59682862/htdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'id' of non-object

Filename: models/Speisekarte_model.php

Line Number: 16

Backtrace:

File: /mnt/web404/b1/62/59682862/htdocs/application/models/Speisekarte_model.php
Line: 16
Function: _error_handler

File: /mnt/web404/b1/62/59682862/htdocs/application/controllers/Events.php
Line: 69
Function: getSpeisekarteByEventName

File: /mnt/web404/b1/62/59682862/htdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'preis' of non-object

Filename: models/Speisekarte_model.php

Line Number: 80

Backtrace:

File: /mnt/web404/b1/62/59682862/htdocs/application/models/Speisekarte_model.php
Line: 80
Function: _error_handler

File: /mnt/web404/b1/62/59682862/htdocs/application/controllers/Events.php
Line: 72
Function: getPreis

File: /mnt/web404/b1/62/59682862/htdocs/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 /mnt/web404/b1/62/59682862/htdocs/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /mnt/web404/b1/62/59682862/htdocs/application/models/Speisekarte_model.php
Line: 65
Function: query

File: /mnt/web404/b1/62/59682862/htdocs/application/models/Speisekarte_model.php
Line: 31
Function: getSpeisenHelper

File: /mnt/web404/b1/62/59682862/htdocs/application/controllers/Events.php
Line: 79
Function: getSpeisen

File: /mnt/web404/b1/62/59682862/htdocs/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 MySQL server version for the right syntax to use near 'AND `kategorien_id` = 37 ) AS `events_speisen2` ON `events_s' at line 15

SELECT `speisen`.`id`, `speisen`.`name`, `speisen`.`beschreibung`, `events_speisen2`.`kategorien_id`, `events`.`preis` FROM `speisen` JOIN ( SELECT * FROM `events_speisen` WHERE `events_id` = AND `kategorien_id` = 37 ) AS `events_speisen2` ON `events_speisen2`.`speisen_id` = `speisen`.`id` JOIN `events` ON `events`.`id` = `events_speisen2`.`events_id` ORDER BY `events_speisen2`.`reihenfolge` ASC

Filename: models/Speisekarte_model.php

Line Number: 65