A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: core/MY_Controller.php

Line Number: 50

Backtrace:

File: /home/academia/application/core/MY_Controller.php
Line: 50
Function: _error_handler

File: /home/academia/application/controllers/Main.php
Line: 899
Function: definir_novo_idioma

File: /home/academia/application/controllers/Main.php
Line: 129
Function: mudar_idioma

File: /home/academia/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/academia/system/core/Exceptions.php:272)

Filename: helpers/url_helper.php

Line Number: 564

Backtrace:

File: /home/academia/application/controllers/Main.php
Line: 900
Function: redirect

File: /home/academia/application/controllers/Main.php
Line: 129
Function: mudar_idioma

File: /home/academia/public_html/index.php
Line: 292
Function: require_once