A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Ferienorte.php

Line Number: 315

Backtrace:

File: /www/htdocs/w015beaf/schwarzwald.de/application/controllers/Ferienorte.php
Line: 315
Function: _error_handler

File: /www/htdocs/w015beaf/schwarzwald.de/html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Creating default object from empty value

Filename: controllers/Ferienorte.php

Line Number: 315

Backtrace:

File: /www/htdocs/w015beaf/schwarzwald.de/application/controllers/Ferienorte.php
Line: 315
Function: _error_handler

File: /www/htdocs/w015beaf/schwarzwald.de/html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Ferienorte.php

Line Number: 319

Backtrace:

File: /www/htdocs/w015beaf/schwarzwald.de/application/controllers/Ferienorte.php
Line: 319
Function: _error_handler

File: /www/htdocs/w015beaf/schwarzwald.de/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 /www/htdocs/w015beaf/schwarzwald.de/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /www/htdocs/w015beaf/schwarzwald.de/application/models/Model_ferienorte.php
Line: 575
Function: query

File: /www/htdocs/w015beaf/schwarzwald.de/application/controllers/Ferienorte.php
Line: 319
Function: setVeranstaltungKlick

File: /www/htdocs/w015beaf/schwarzwald.de/html/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1452

Cannot add or update a child row: a foreign key constraint fails (`d0260020`.`veranstaltungen_klicks`, CONSTRAINT `veranstaltungen_klicks_ibfk_1` FOREIGN KEY (`veranstaltung`) REFERENCES `veranstaltungen` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)

INSERT INTO veranstaltungen_klicks (veranstaltung, monat, jahr, klicks) VALUES ('', '6', '2018', '1') ON DUPLICATE KEY UPDATE klicks = klicks+1

Filename: models/Model_ferienorte.php

Line Number: 575