Hi!
I hope all is well!
We have a issue with a website, im pretty sure its the hosting but they came back saying its the theme? Hosting Company is IONOS, we have loads of other websites using xtore and have no issues, so think its just the hosting company passing the blame. but they sent us this error log :
AH01071: Got error 'PHP message: WordPress database error Unknown column 'posts.ID' in 'IN/ALL/ANY' for query SELECT SQL_CALC_FOUND_ROWS VmGVB_posts.ID\n\t\t\t\t\t FROM VmGVB_posts INNER JOIN VmGVB_postmeta ON ( VmGVB_posts.ID = VmGVB_postmeta.post_id )\n\t\t\t\t\t WHERE 1=1 AND ( \n VmGVB_posts.ID NOT IN (\n\t\t\t\tSELECT object_id\n\t\t\t\tFROM VmGVB_term_relationships\n\t\t\t\tWHERE term_taxonomy_id IN (6)\n\t\t\t)\n) AND (((VmGVB_posts.post_title LIKE '%Clark%') OR (VmGVB_posts.post_excerpt LIKE '%Clark%') OR (VmGVB_posts.post_content LIKE '%Clark%'))) AND (VmGVB_posts.post_password = '') AND ( \n ( VmGVB_postmeta.meta_key = '_price' AND CAST(VmGVB_postmeta.meta_value AS SIGNED) BETWEEN '0' AND '9223372036854775807' )\n) AND ((VmGVB_posts.post_type = 'product' AND (VmGVB_posts.post_status = 'publish'))) OR posts.ID IN (\n\t\t\t\t\t\t\tSELECT VmGVB_postmeta.post_id\n\t\t\t\t\t\t\tFROM VmGVB_postmeta\n\t\t\t\t\t\t\tWHERE meta_key = '_sku'\n\t\t\t\t\t\t\tAND meta_value LIKE '%Clark %'\n\t\t\t\t\t\t) AND posts.post_type = 'product'\n\t\t\t\t\t\tAND posts.post_status = 'publish' AND posts.ID NOT IN...; PHP message: WordPress database error Unknown column 'posts.ID' in 'IN/ALL/ANY' for query SELECT VmGVB_posts.*\n\t\t\t\t\t FROM VmGVB_posts INNER JOIN VmGVB_postmeta ON ( VmGVB_posts.ID = VmGVB_postmeta.post_id )\n\t\t\t\t\t WHERE 1=1 AND ( \n ( VmGVB_postmeta.meta_key = '_cli_cookie_sensitivity' AND VmGVB_postmeta.meta_value = 'non-necessary' )\n) AND VmGVB_posts.post_type = 'cookielawinfo' AND ((VmGVB_posts.post_status = 'publish')) OR posts.ID IN (\n\t\t\t\t\t\t\tSELECT VmGVB_postmeta.post_id\n\t\t\t\t\t\t\tFROM VmGVB_postmeta\n\t\t\t\t\t\t\tWHERE meta_key = '_sku'\n\t\t\t\t\t\t\tAND meta_value LIKE '%Clark %'\n\t\t\t\t\t\t) AND posts.post_type = 'product'\n\t\t\t\t\t\tAND posts.post_status = 'publish' AND posts.ID NOT IN (\n\t\t\t\t\t\t\t\tSELECT object_id\n\t\t\t\t\t\t\t\tFROM VmGVB_term_relationships\n\t\t\t\t\t\t\t\tWHERE term_taxonomy_id IN (7,6)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t GROUP BY VmGVB_posts.ID\n\t\t\t\t\t ORDER BY VmGVB_posts.post_date DESC\n\t\t\t\t\t made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/xstore/woocommerce/archive-product.php'), ...'
The website just goes slow and then crashes then starts up again.
Any help be great, but as said, i think its hosting rather than your theme!
Website : https://bandsawblades.co.uk/
Many thanks
Scott