CRITICAL ERROR, PHP WP_Error
-
Hello, when I try to enter the plugin settings in the admin panel i end up with this error :
PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /home/my access path/my access path/my access path/wp-content/plugins/product-blocks/classes/Functions.php:4053
Stack trace: 0 /home/my access path/my access path/my access path/wp-content/plugins/product-blocks/addons/compare/Compare.php(928): WOPB\Functions->svg_icon(‘compare_6’) 1 /home/my access path/my access path/my access path/wp-content/plugins/product-blocks/addons/compare/Compare.php(1234): WOPB\Compare->compare_icons() 2 /home/my access path/my access path/my access path/wp-content/plugins/product-blocks/addons/compare/Compare.php(29): WOPB\Compare->default_settings() 3 /home/my access path/my access path/my access path/wp-content/plugins/product-blocks/addons/compare/init.php(55): WOPB\Compare->__construct() 4 /home/my access path/my access path/my access path/wp-includes/class-wp-hook.php(324): wopb_get_compare_settings(Array) 5 /home/my access path/my access path/my access path/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) 6 /home/my access path/my access path/my access path/wp-content/plugins/product-blocks/classes/Initialization.php(226): apply_filters(‘wopb_settings’, Array) 7 /home/my access path/my access path/my access path/wp-includes/class-wp-hook.php(324): WOPB\Initialization->register_scripts_option_panel_callback(‘toplevel_page_w…’) 8 /home/my access path/my access path/my access path/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 9 /home/my access path/my access path/my access path/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 10 /home/my access path/my access path/my access path/wp-admin/admin-header.php(118): do_action(‘admin_enqueue_s…’, ‘toplevel_page_w…’) 11 /home/my access path/my access path/my access path/wp-admin/admin.php(239): require_once(‘/home/my access path…’) 12 {main}thrown in /home/my access path/my access path/my access path/wp-content/plugins/product-blocks/classes/Functions.php on line 4053
Otherwise the plugin seems to work because i can create a product gallery and configure it.
- The topic ‘CRITICAL ERROR, PHP WP_Error’ is closed to new replies.