Error in sql_query (SELECT `id` FROM `images` WHERE `filename`='contents-2.pdf' AND `size`='0' LIMIT 1): Table 'publishing.images' doesn't exist