Severity: Notice
Message: Trying to access array offset on value of type null
Filename: controllers/References.php
Line Number: 58
Backtrace:
File: /var/www/vesperhomes.cz/application/controllers/References.php
Line: 58
Function: _error_handler
File: /var/www/vesperhomes.cz/index.php
Line: 320
Function: require_once
Severity: Notice
Message: Trying to access array offset on value of type null
Filename: controllers/References.php
Line Number: 60
Backtrace:
File: /var/www/vesperhomes.cz/application/controllers/References.php
Line: 60
Function: _error_handler
File: /var/www/vesperhomes.cz/index.php
Line: 320
Function: require_once
Severity: Notice
Message: Trying to access array offset on value of type null
Filename: controllers/References.php
Line Number: 60
Backtrace:
File: /var/www/vesperhomes.cz/application/controllers/References.php
Line: 60
Function: _error_handler
File: /var/www/vesperhomes.cz/index.php
Line: 320
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 'ORDER BY `position` LIMIT 1' at line 5
SELECT * FROM `references_table` WHERE `active` = 1 AND `position` > ORDER BY `position` LIMIT 1
Filename: models/References_model.php
Line Number: 81