A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Companies.php

Line Number: 21

Backtrace:

File: /var/www/fastcustomer/application/controllers/Companies.php
Line: 21
Function: _error_handler

File: /var/www/fastcustomer/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Companies.php

Line Number: 21

Backtrace:

File: /var/www/fastcustomer/application/controllers/Companies.php
Line: 21
Function: _error_handler

File: /var/www/fastcustomer/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Companies.php

Line Number: 22

Backtrace:

File: /var/www/fastcustomer/application/controllers/Companies.php
Line: 22
Function: _error_handler

File: /var/www/fastcustomer/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Companies.php

Line Number: 22

Backtrace:

File: /var/www/fastcustomer/application/controllers/Companies.php
Line: 22
Function: _error_handler

File: /var/www/fastcustomer/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Companies.php

Line Number: 23

Backtrace:

File: /var/www/fastcustomer/application/controllers/Companies.php
Line: 23
Function: _error_handler

File: /var/www/fastcustomer/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Companies.php

Line Number: 23

Backtrace:

File: /var/www/fastcustomer/application/controllers/Companies.php
Line: 23
Function: _error_handler

File: /var/www/fastcustomer/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Companies.php

Line Number: 23

Backtrace:

File: /var/www/fastcustomer/application/controllers/Companies.php
Line: 23
Function: _error_handler

File: /var/www/fastcustomer/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Companies.php

Line Number: 23

Backtrace:

File: /var/www/fastcustomer/application/controllers/Companies.php
Line: 23
Function: _error_handler

File: /var/www/fastcustomer/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 /var/www/fastcustomer/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /var/www/fastcustomer/application/models/Fastcustomer_model.php
Line: 63
Function: query

File: /var/www/fastcustomer/application/controllers/Companies.php
Line: 23
Function: current_average

File: /var/www/fastcustomer/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 'and department_id =' at line 1

select avg(IFNULL(hold_time,0)) as hold_time from call_requests where company_id = and department_id =

Filename: models/Fastcustomer_model.php

Line Number: 63