A PHP Error was encountered

Severity: Warning

Message: Undefined array key 0

Filename: models/User_model.php

Line Number: 335

Backtrace:

File: /home/office4u/public_html/office_app/models/User_model.php
Line: 335
Function: _error_handler

File: /home/office4u/public_html/office_app/controllers/Location.php
Line: 28
Function: visitors_log

File: /home/office4u/public_html/index.php
Line: 252
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/office4u/public_html/app_system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

An uncaught Exception was encountered

Type: TypeError

Message: Unsupported operand types: string - int

Filename: /home/office4u/public_html/office_app/controllers/Location.php

Line Number: 51

Backtrace:

File: /home/office4u/public_html/index.php
Line: 252
Function: require_once