A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Eshop.php

Line Number: 145

Backtrace:

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/application/controllers/Eshop.php
Line: 145
Function: _error_handler

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Eshop.php

Line Number: 149

Backtrace:

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/application/controllers/Eshop.php
Line: 149
Function: _error_handler

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Eshop.php

Line Number: 152

Backtrace:

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/application/controllers/Eshop.php
Line: 152
Function: _error_handler

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Eshop.php

Line Number: 153

Backtrace:

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/application/controllers/Eshop.php
Line: 153
Function: _error_handler

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Eshop.php

Line Number: 154

Backtrace:

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/application/controllers/Eshop.php
Line: 154
Function: _error_handler

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Eshop.php

Line Number: 155

Backtrace:

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/application/controllers/Eshop.php
Line: 155
Function: _error_handler

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Eshop.php

Line Number: 156

Backtrace:

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/application/controllers/Eshop.php
Line: 156
Function: _error_handler

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Eshop.php

Line Number: 157

Backtrace:

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/application/controllers/Eshop.php
Line: 157
Function: _error_handler

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Eshop.php

Line Number: 158

Backtrace:

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/application/controllers/Eshop.php
Line: 158
Function: _error_handler

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Eshop.php

Line Number: 166

Backtrace:

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/application/controllers/Eshop.php
Line: 166
Function: _error_handler

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Eshop.php

Line Number: 193

Backtrace:

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/application/controllers/Eshop.php
Line: 193
Function: _error_handler

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/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 /data/web/virtuals/208448/virtual/www/subdom/eshop/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/application/models/Job_model.php
Line: 642
Function: get

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/application/controllers/Eshop.php
Line: 994
Function: get_registration_user_to_job_registration

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/application/controllers/Eshop.php
Line: 193
Function: get_instructor_sail

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/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 MariaDB server version for the right syntax to use near 'OR `id_activity` = 544) AND `j`.`is_active` = 1' at line 4

SELECT `j`.`id_job_registration`, `j`.`id_activity` FROM `job_registration` as `j` WHERE `j`.`start_date` = '2024-06-16 00:00:00' AND (`id_activity` = OR `id_activity` = 544) AND `j`.`is_active` = 1

Filename: models/Job_model.php

Line Number: 642