Update plugin
-
Hi
The woocommerce sites I run have shur down due to this plugin.
I have wordpress 5.4.2 and php 7.2.32.
An error of type E_ERROR occured on line 165 in the following file:
/plugins/product-visibility-by-user-role-for-woocommerce/product-visibility-by-user-role-for-woocommerce.php.Error: Uncaught Error: Cannot use object of type Hide_Price as array in /plugins/product-visibility-by-user-role-for-woocommerce/product-visibility-by-user-role-for-woocommerce.php:165
Stack trace:
#0 /wp-includes/class-wp-hook.php(287): Alg_WC_PVBUR->add_woocommerce_settings_tab(Object(Hide_Price))
#1 /wp-includes/plugin.php(206): WP_Hook->apply_filters(Object(Hide_Price), Array)
#2 /plugins/woocommerce/includes/admin/class-wc-admin-settings.php(62): apply_filters(‘woocommerce_get…’, Array)
#3 /plugins/woocommerce/includes/class-wc-api.php(162): WC_Admin_Settings::get_settings_pages()
#4 /wp-includes/class-wp-hook.php(287): WC_API->register_wp_admin_settings(Object(WP_REST_Server))
#5 /wp-includes/class-wp-hook.php(311): WP_Hook->appURL has been removed.
Regards
- The topic ‘Update plugin’ is closed to new replies.