A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Users.php

Line Number: 213

Backtrace:

File: /home/amoozkadeh/domains/amoozkadeh.com/public_html/application/controllers/Users.php
Line: 213
Function: _error_handler

File: /home/amoozkadeh/domains/amoozkadeh.com/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Users.php

Line Number: 213

Backtrace:

File: /home/amoozkadeh/domains/amoozkadeh.com/public_html/application/controllers/Users.php
Line: 213
Function: _error_handler

File: /home/amoozkadeh/domains/amoozkadeh.com/public_html/index.php
Line: 315
Function: require_once