Conversation
supportHello, I stumbled upon a problem on my client’s site. In this file: /vividworks-3d-ecommerce-configurator/admin/partials/vwplume-product-configuration-settings.php (line 10-11), there is this code: $converted_site_data = VWPlume_API::get_converted_site_id($vwplume_library_id); $vwplume_site_id = $converted_site_data; For some reason, the connection to VWPlume_API fails, and $converted_site_data variable becomes WP_Error object. This causes fatal error on the WooCommerce Add Product admin page breaking the JS and rendering of metaboxes. A check for WP_Error fixes the issue: $converted_site_data = VWPlume_API::get_converted_site_id($vwplume_library_id); if (!is_wp_error($converted_site_data)) { $vwplume_site_id = $converted_site_data; } Just letting you know about this, probably something you could add into the next version of the plugin to make it a bit safer. Cheers!
No comments were stored for this source.