Fatal error: Uncaught mysqli_sql_exception: 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 'LEFT JOIN story_categories sc ON s.category = sc.id WHERE sc.slug = ?' at line 1 in /www/wwwroot/diy/stories.php:78
Stack trace:
#0 /www/wwwroot/diy/stories.php(78): mysqli->prepare()
#1 /www/wwwroot/diy/stories.php(330): getStories()
#2 {main}
thrown in /www/wwwroot/diy/stories.php on line 78