Product category page not working on initial load
-
I am having trouble with a testing site I’m currently building. It seems like every product category page in my site is broken upon loading. After it loads for the first time every product in the first tab loads properly but the add to cart button does not appear. If I try to go to the second tab of the current category I am in the page does not load properly and instead I receive a “WordPress database error: [Unknown column ‘term_relationships.term_taxonomy_id’ in ‘where clause’]” error.
This problem only ever happens when I load up the category for the first time and view products in the default sorting setting though. If I change the sorting type the page reloads and everything starts working properly. The add to cart button is there and I can view the products in the second tab again.
Because this error happens under these specific circumstances I find it hard to tell if it is a database conflict, a theme error or something else entirely.
If anyone has any sort of insight as to why this is happening I would greatly appreciate your help.
The page I need help with: [log in to see the link]
The topic ‘Product category page not working on initial load’ is closed to new replies.