A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Evento.php

Line Number: 44

Backtrace:

File: /home/herlderb/public_html/application/controllers/Evento.php
Line: 44
Function: _error_handler

File: /home/herlderb/public_html/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 /home/herlderb/public_html/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 568

Backtrace:

File: /home/herlderb/public_html/application/models/Eventos_model.php
Line: 73
Function: get

File: /home/herlderb/public_html/application/controllers/Evento.php
Line: 44
Function: get_anteriores_3

File: /home/herlderb/public_html/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 'ORDER BY `data_inicio` DESC LIMIT 3' at line 4

SELECT `e`.* FROM `eventos` `e` WHERE `e`.`data_inicio` < ORDER BY `data_inicio` DESC LIMIT 3

Filename: models/Eventos_model.php

Line Number: 73