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 's-20181214015043'' at line 1

SELECT blogs.*, users.username FROM `blogs` JOIN users on users.id = blogs.user_id WHERE `slug` = 'Megical-Formula-of-15-to-retire-in-your-30's-20181214015043'

Filename: /var/www/html/models/blogs/blog_model.php

Line Number: 68