A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "id" on null

Filename: models/Campaigns_model.php

Line Number: 21

Backtrace:

File: /var/www/vhosts/olympusfoods.bg/httpdocs/application/models/Campaigns_model.php
Line: 21
Function: _error_handler

File: /var/www/vhosts/olympusfoods.bg/httpdocs/application/controllers/Campaigns.php
Line: 42
Function: get_campaign

File: /var/www/vhosts/olympusfoods.bg/httpdocs/index.php
Line: 293
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "file" on null

Filename: models/Campaigns_model.php

Line Number: 25

Backtrace:

File: /var/www/vhosts/olympusfoods.bg/httpdocs/application/models/Campaigns_model.php
Line: 25
Function: _error_handler

File: /var/www/vhosts/olympusfoods.bg/httpdocs/application/controllers/Campaigns.php
Line: 42
Function: get_campaign

File: /var/www/vhosts/olympusfoods.bg/httpdocs/index.php
Line: 293
Function: require_once

An uncaught Exception was encountered

Type: Error

Message: Attempt to assign property "img" on null

Filename: /var/www/vhosts/olympusfoods.bg/httpdocs/application/models/Campaigns_model.php

Line Number: 25

Backtrace:

File: /var/www/vhosts/olympusfoods.bg/httpdocs/application/controllers/Campaigns.php
Line: 42
Function: get_campaign

File: /var/www/vhosts/olympusfoods.bg/httpdocs/index.php
Line: 293
Function: require_once