A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: models/Blog_model.php

Line Number: 95

Backtrace:

File: /var/www/SetSchedule.com/app/models/Blog_model.php
Line: 95
Function: _error_handler

File: /var/www/SetSchedule.com/app/controllers/Blog.php
Line: 192
Function: single

File: /var/www/SetSchedule.com/index.php
Line: 320
Function: require_once

A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Blog.php

Line Number: 193

Backtrace:

File: /var/www/SetSchedule.com/app/controllers/Blog.php
Line: 193
Function: _error_handler

File: /var/www/SetSchedule.com/index.php
Line: 320
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 'AND blog_comments.comment_approved = 1 ' at line 4

SELECT blog_comments.*, DATE_FORMAT(blog_comments.comment_date,'%Y/%m/%d') AS published FROM blog_comments WHERE blog_comments.comment_post_ID = AND blog_comments.comment_approved = 1 ORDER BY blog_comments.comment_date DESC

Filename: models/Common_model.php

Line Number: 302