I am facing an issue in website (https://rocknrescuedev.wpengine.com).
As soon as I activate the plugin (Additional Variation Images for WooCommerce) on this website, the site crashes.
I am pasting an error from error logs that comes up when I activate this plugin.
PHP Fatal error: Uncaught Error: Cannot use object of type WC_AF_Settings as array in /nas/content/live/rocknrescuedev/wp-content/plugins/woo-variation-gallery/includes/settings.php:7nStack trace:n#0 [internal function]: woo_variation_gallery_settings(Object(WC_AF_Settings))n#1 /nas/content/live/rocknrescuedev/wp-includes/class-wp-hook.php(286): call_user_func_array(‘woo_variation_g…’, Array)n#2 /nas/content/live/rocknrescuedev/wp-includes/plugin.php(208): WP_Hook->apply_filters(Object(WC_AF_Settings), Array)n#3 /nas/content/live/rocknrescuedev/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(60): apply_filters(‘woocommerce_get…’, Array)n#4 /nas/content/live/rocknrescuedev/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(123): WC_Admin_Settings::get_settings_pages()n#5 [internal function]: WC_Admin_Menus->save_settings(”)n#6 /nas/content/live/rocknrescuedev/wp-includes/class-wp-hook.php(286): call_user_func_array(Array, Array)n#7 /nas/content/live/rocknrescuedev/wp-includes/ in /nas/content/live/rocknrescuedev/wp-content/plugins/woo-variation-gallery/includes/settings.php on line 7, referer: https://rocknrescuedev.wpengine.com/wp-admin/plugins.php
Please look into it as soon as possible.
Hi Jatinder Saini,
Thank you for reaching out to us. Please kindly do a plugin compatibility check by doing these steps to identify the error :
=> Deactivate all of your additional plugins except WooCommerce and WooCommerce Variation Swatches Plugin.
=> See if the problem persists. If the problem resolved, you can tell which plugin might be the culprit of this error by activating your additional plugins one by one.
Looking forward to hearing from you soon.
I have already done this. The plugin that is conflicting with it is => WooCommerce Anti Fraud.
Could you send the plugin file. We’ll test it on our local.
Here you go. You can download both the plugins here => https://rocknrescuedev.wpengine.com/plugins.zip
Hello Jatinder Saini,
When I activated the gallery plugin, I found the error but when I clicked the BACK button of the browser, I have found that the plugin is already activated and there is no error. Please, check this: https://www.loom.com/share/4580e6a881ad407dbc58a65563d0bc70
On the other hand, I can see, you are also using the plugin now in your site along with the Anti Fraud plugin.
I hope, there should not be an issue in the functionalities in both of these plugins due to this temporary (unexpected) error.
Please, share your thoughts on this.
Please try it in my website -> https://rocknrescuedev.wpengine.com . I have specially attached the details of the website for you guys. The error is permanent on my site.
The plugin is there: https://www.loom.com/share/f32550a39fa943049e90c0d0a7ca5f3f
I don’t see any error.
Please check the logs file. You will see the error.
Location – /wp-content/debug.php
Update our gallery plugin and check the error.
Can you please tell me what changes you have made to website ? The site backend is not working properly. The themes,plugins nothing is getting updated. The Divi editor has stopped working. There is error at the bottom of every page in site admin area.