Technical Support

Fatal error: Uncaught Exception: Wrong SQL: SELECT blog.title, blogmedia.type, CASE WHEN blog.thumbnail IS NULL OR blog.thumbnail = '' THEN CASE WHEN blogmedia.type IS NULL THEN '/404.jpg' WHEN blogmedia.type = 'video' THEN CONCAT('/video/', SUBSTRING_INDEX(blogmedia.path, '?', 1), '.jpg') ELSE CONCAT('/450x/', blogmedia.path) END ELSE CONCAT('/450x/', blog.thumbnail) END as path FROM blog LEFT OUTER JOIN blogmedia ON = LEFT OUTER JOIN blogtags ON = WHERE ( blog.viewable = 'true' AND blog.navigable = 'true' AND blogmedia.defaultmedia = 'true' ) AND ( 1=2 OR blogtags.tag = ?) GROUP BY Order By desc Error: 1054 Unknown column 'blog.thumbnail' in 'field list' in /var/www/html/assets/php/connection.php:33 Stack trace: #0 /var/www/html/assets/php/connection.php(16): custom_mysqli->executeQuery('\r\n SELECT bl...', Array, '', 'select') #1 /var/www/html/assets/php/widget_helpers.php(2387): custom_m in /var/www/html/assets/php/connection.php on line 33