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: 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 'has_variant' of non-object

Filename: controllers/Eshop.php

Line Number: 160

Backtrace:

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/application/controllers/Eshop.php
Line: 160
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: 187

Backtrace:

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/application/controllers/Eshop.php
Line: 187
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: 963
Function: get_registration_user_to_job_registration

File: /data/web/virtuals/208448/virtual/www/subdom/eshop/application/controllers/Eshop.php
Line: 187
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-03-05 00:00:00' AND (`id_activity` = OR `id_activity` = 544) AND `j`.`is_active` = 1

Filename: models/Job_model.php

Line Number: 642