Severity: Notice
Message: Trying to access array offset on value of type null
Filename: controllers/Events.php
Line Number: 38
Backtrace:
File: /var/www/teatroingenio/application/modules/events/controllers/Events.php
Line: 38
Function: _error_handler
File: /var/www/teatroingenio/index.php
Line: 292
Function: require_once
Severity: Notice
Message: Trying to access array offset on value of type null
Filename: controllers/Events.php
Line Number: 42
Backtrace:
File: /var/www/teatroingenio/application/modules/events/controllers/Events.php
Line: 42
Function: _error_handler
File: /var/www/teatroingenio/index.php
Line: 292
Function: require_once
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY `id` ASC LIMIT 1' at line 6
SELECT `id`, `slug` FROM `eventos` WHERE `status` = 1 AND `type` = 'evento' AND `id` > ORDER BY `id` ASC LIMIT 1
Filename: models/Event.php
Line Number: 127