Severity: Notice
Message: Trying to access array offset on value of type null
Filename: controllers/Promociones.php
Line Number: 30
Backtrace:
File: /home/jelbe/www/application/controllers/Promociones.php
Line: 30
Function: _error_handler
File: /home/jelbe/www/index.php
Line: 316
Function: require_once
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 'AND `publicado` = 1 ORDER BY `orden` ASC' at line 3
SELECT * FROM `inmuebles` WHERE `id_promocion` = AND `publicado` = 1 ORDER BY `orden` ASC
Filename: models/CommonFunctions.php
Line Number: 64