-
AuthorPosts
-
November 1, 2022 at 2:14 pm #1370911
Hi, unexpected error happened with enfold theme. The error doesn’t appear with twenty twenty. When activating the “WPB Product Size Charts for WooCommerce” and trying to open a product with variations I’m getting 500 error and the page doesn’t load. From the server side I’m getting this error.
Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_children() on bool in /sneakacesv2-www/wp-content/plugins/woo-variation-swatches/includes/class-woo-variation-swatches-product-page.php:170\nStack trace:\n#0 /sneakacesv2-www/wp-includes/class-wp-hook.php(307): Woo_Variation_Swatches_Product_Page->add_to_cart_variation_params(Array, ‘wc-add-to-cart-…’)\n#1 /sneakacesv2-www/wp-includes/plugin.php(191): WP_Hook->apply_filters(Array, Array)\n#2 /sneakacesv2-www/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php(625): apply_filters(‘woocommerce_get…’, Array, ‘wc-add-to-cart-…’)\n#3 /sneakacesv2-www/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php(466): WC_Frontend_Scripts::get_script_data(‘wc-add-to-cart-…’)\n#4 /sneakacesv2-www/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php(633): WC_Frontend_Scripts::localize_script(‘wc-add-to-cart-…’)\n#5 /sneakacesv2-www/wp-includes/class-wp-hook.php(307): WC_Frontend_Script…’
As I mentioned this error doesn’t happened when we have the other theme.
I’ve tried to contact with the variation swatches plugin support – Still waiting for an answer.
thank you.
November 1, 2022 at 8:09 pm #1370954Hey Petros,
Our support is limited when it comes to debugging third party plugins unfortunately, and the theme cannot be compatible with all plugins. Did you try deactivating all other plugins except WooCommerce and the plugin in question? Did you try changing PHP versions? Did you remove all custom code, if there is any?
Best regards,
RikardNovember 1, 2022 at 8:11 pm #1370955Hey,
I see, understood.
Yeah I tried different ways and it seems that this plugin causes the error. But I understand that you cannot do anything when it comes to third party plugins.
Thank you for your answer.
November 1, 2022 at 8:54 pm #1370974Hi,
Thanks for the update. Maybe there’s an alternative plugin which you could use?
Best regards,
RikardNovember 1, 2022 at 8:58 pm #1370979Hi,
yes this what I’m thinking to do.. But I haven’t try anything yet. Although I cover full the requirements for this plugin.. that’s super strange.. Do you think that css could cause this issue ?
November 2, 2022 at 3:26 pm #1371066November 14, 2022 at 11:48 am #1372487Hello.
I have the same problem with the plugin. The error comes from the base/free version. When it goes through the product detail view, the plugin does not check if it is a $product variable is not false and tries count(false) or tries to false->get_children().
I have contacted them, but they “wash their hands” of the problem and say it’s Enfold theme because it doesn’t happen with Storefront.
It’s a PHP problem, of course.
I have the purchased version of this plugin and I would like to use it as my website is in Enfold. I will try to update the information to see if they can fix it.
November 14, 2022 at 4:25 pm #1372525Hi gemallopis,
If you should need further help with your problem, then please open a new thread and include WordPress admin login details in private, so that we can have a closer look at your site.
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.