A PHP Error was encountered

Severity: Notice

Message: Trying to access array offset on value of type null

Filename: controllers/Pages.php

Line Number: 96

Backtrace:

File: /var/www/html/feumamba/application/controllers/Pages.php
Line: 96
Function: _error_handler

File: /var/www/html/feumamba/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 MySQL server version for the right syntax to use near 'ORDER BY `date_created` ASC LIMIT 1' at line 4

SELECT * FROM `content_happenings` WHERE `date_created` > ORDER BY `date_created` ASC LIMIT 1

Filename: models/Pages_model.php

Line Number: 77