Thread Starter
jdlev
(@jdlev)
It’s not a theme based error…at least from what I can tell.
I tested storefront on the site, and even it was throwing the same error. For whatever reason, the system isn’t filling the variation id.
Where can I find the function responsible for assigning variation id’s, or where in the woocommerce database can I check to see if variation id’s are loading properly?
I think it is an issue with the variation ID properly assigning the values. I found the meta key _variation_id (which I assume is correct), and there are loads of id’s in there with 0 for the meta_values…
I saw your posts in the sticky and have asked a mod to clean those up. Post here.
Quick background; WP 4.5 bumped the version of jquery in core and several themes and plugins were not ready. Selectors are more strict so if themes/plugins forget to include things like quotes (most common) the JS on the entire page is broken. This includes variations.
In your case now I can actually find the page, your footer is not outputting all scripts due to this:
<b>Warning</b>: mysql_query() [<a href='http://www.mysql.com/doc'>http://www.mysql.com/doc</a>]: Table 'cb.cb_donations' doesn't exist in <b>C:\xampp\htdocs\CarolinaBrotherhood\participants\wp-content\plugins\custom-plugins\hello.php</b> on line <b>81</b><br />
</span>Invalid query: Table 'cb.cb_donations' doesn't exist
So I’m going to guess this whole fiasco is down to your ‘custom-plugins’ and not WC at all 🙂
View page source right at the bottom to see for your self.
Thread Starter
jdlev
(@jdlev)
Thanks Mike. I think this bug took about 5 years off my life lol. I appreciate it 🙂
Thread Starter
jdlev
(@jdlev)
Hey Mike – can I ask you how you were able to get my site to display that error? I tried a bunch of stuff to get the site to show errors, but never succeeded. Any Tips?
Mr. W
(@gabriel-winnberg)
Having the same problem. Did you manage to solve it?