A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Event.php

Line Number: 17

Backtrace:

File: /home/pttk/domains/bochnia.pttk.pl/application/controllers/Event.php
Line: 17
Function: _error_handler

File: /home/pttk/domains/bochnia.pttk.pl/public_html/index.php
Line: 337
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Event.php

Line Number: 26

Backtrace:

File: /home/pttk/domains/bochnia.pttk.pl/application/controllers/Event.php
Line: 26
Function: _error_handler

File: /home/pttk/domains/bochnia.pttk.pl/public_html/index.php
Line: 337
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Event.php

Line Number: 27

Backtrace:

File: /home/pttk/domains/bochnia.pttk.pl/application/controllers/Event.php
Line: 27
Function: _error_handler

File: /home/pttk/domains/bochnia.pttk.pl/public_html/index.php
Line: 337
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Event.php

Line Number: 28

Backtrace:

File: /home/pttk/domains/bochnia.pttk.pl/application/controllers/Event.php
Line: 28
Function: _error_handler

File: /home/pttk/domains/bochnia.pttk.pl/public_html/index.php
Line: 337
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Event.php

Line Number: 29

Backtrace:

File: /home/pttk/domains/bochnia.pttk.pl/application/controllers/Event.php
Line: 29
Function: _error_handler

File: /home/pttk/domains/bochnia.pttk.pl/public_html/index.php
Line: 337
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Event.php

Line Number: 40

Backtrace:

File: /home/pttk/domains/bochnia.pttk.pl/application/controllers/Event.php
Line: 40
Function: _error_handler

File: /home/pttk/domains/bochnia.pttk.pl/public_html/index.php
Line: 337
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Event.php

Line Number: 40

Backtrace:

File: /home/pttk/domains/bochnia.pttk.pl/application/controllers/Event.php
Line: 40
Function: _error_handler

File: /home/pttk/domains/bochnia.pttk.pl/public_html/index.php
Line: 337
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/pttk/domains/bochnia.pttk.pl/application/core/MY_Model.php
Line: 35
Function: get

File: /home/pttk/domains/bochnia.pttk.pl/application/controllers/Event.php
Line: 41
Function: get

File: /home/pttk/domains/bochnia.pttk.pl/public_html/index.php
Line: 337
Function: require_once

Database Error

Wystąpił błąd bazy danych.

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 '`NULL` AND `id` IS NOT NULL AND `status` = 1 ORDER BY `date_start` LIMIT 1' at line 3

SELECT * FROM `events` WHERE `date_start` > `IS` `NULL` AND `id` IS NOT NULL AND `status` = 1 ORDER BY `date_start` LIMIT 1

Filename: core/MY_Model.php

Line Number: 35