NooTheme Premium WordPress Theme › Forums › Mebla › Variation Product Image Not Changing
- This topic has 10 replies, 3 voices, and was last updated 5 years, 2 months ago by Jackie.
-
AuthorPosts
-
5 years, 3 months ago #1077434
It sometimes happens in some of my variation products that when I change color, size combination of my product the image does not change. I get the following error in the console:
"Failed to load resource: the server responded with a status of 500 (Internal Server Error)"
And the following error in error logs:
2019-07-31T09:06:28+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variation() in /home/archshoe/public_html/wp-content/plugins/noo-mebla-core/framework/woo_extensions.php:455 Stack trace: #0 /home/archshoe/public_html/wp-includes/class-wp-hook.php(286): Noo_Woocommerce_Extensions->ajax_get_variation('') #1 /home/archshoe/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #2 /home/archshoe/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /home/archshoe/public_html/wp-admin/admin-ajax.php(188): do_action('wp_ajax_nopriv_...') #4 {main} thrown in /home/archshoe/public_html/wp-content/plugins/noo-mebla-core/framework/woo_extensions.php on line 455 I have also attached the error log file. Quick response would be appreciated. Thank-You
5 years, 3 months ago #1077479
AnonymousInactiveTopics: 0
Posts: 3295Hi,
Thanks for contacting us.
In this case, please contact the hosting provider to increase some PHP values to get rid of this issue. It seems that this is the memory error. Please refer to this link for fore more details: https://github.com/woocommerce/woocommerce/issues/8889
Best Regards,
NooTheme
5 years, 3 months ago #1077581I tried the solution you linked to but it didn't work. I think the following log is the actual problem:
2019-08-02T13:20:44+00:00 CRITICAL Uncaught Error: Call to undefined method WC_Product_Simple::get_available_variation() in /home/archshoe/public_html/wp-content/plugins/noo-mebla-core/framework/woo_extensions.php:455 Stack trace: #0 /home/archshoe/public_html/wp-includes/class-wp-hook.php(286): Noo_Woocommerce_Extensions->ajax_get_variation('') #1 /home/archshoe/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #2 /home/archshoe/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /home/archshoe/public_html/wp-admin/admin-ajax.php(173): do_action('wp_ajax_noo_woo...') #4 {main} thrown in /home/archshoe/public_html/wp-content/plugins/noo-mebla-core/framework/woo_extensions.php on line 455
If you can ask your developers to help explain the error above.
I'm again sending the error log file.
Sorry for late response.
Thank You.5 years, 3 months ago #1077620
AnonymousInactiveTopics: 0
Posts: 3295Hi,
Thanks for your feedback.
In this case, please provide us with your website's URL, admin account and FTP account privately via checking Set as private reply checkbox. After that, we will check your issue.
Thanks.
NooTheme
5 years, 2 months ago #1078994This reply has been marked as private.5 years, 2 months ago #1079008This reply has been marked as private.5 years, 2 months ago #1079067Hi again.
I think the issue from the 3rd plugin, it has the conflict with variation product.
Can you clone the site to another hosting? then we can debug the source code on that site. As I see, your site is online and it can affect your customer when we change something.
Thanks.
5 years, 2 months ago #1079084This is our test site. You can debug the source code on this site.
Also can you please tell which plugin is causing the conflict ?
Thank You
5 years, 2 months ago #1079154Hi again.
After try to disable and enable some plugin, now the product variation works fine.
Please check it again.
Thanks.
5 years, 2 months ago #1079161This reply has been marked as private.5 years, 2 months ago #1079242Yes, I'm trying to disable the plugin "Premmerce Permalink Manager for WooCommerce" or "Product Variation Swatches for Woocommerce" but the issue not from the plugin.
I found the issue from the product variation config. For the "https://archshoe.com/tuscan-off-white/" product, you have a lot of variations, that is why the ajax return 500 when you selecting product color. You need to go to PHP server config to increase the max_execution_time attribute or setup the variation as this https://prnt.sc/p7jaot
Please check it again.
Thanks.
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.