• Resolved totorosk8

    (@totorosk8)


    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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    Thanks for reaching out.

    Can you please check if you’re using our latest version 3.1.11?

    Additionally, Would you please share some information like themes, plugin, builder etc you’re using on your site? It will help me to replicate the issue and find out a solution for it.

    Regards
    Owadud

    Thread Starter totorosk8

    (@totorosk8)

    Hi, thanks for your fast answer, i’m using the latest version 3.1.11, the theme is Fotogenic (free version) by Mystery Themes and i use the WP standard builder.

    The plugins are updated to the latest version :
    – Advanced Custom Fields by WP Engine
    – BEAR – Bulk Editor and Products Manager Professional for WooCommerce by realmag777
    – Carousel Slider Block for Gutenberg by Virgildia
    – CMP – Coming Soon & Maintenance Plugin by NiteoThemes
    – Complianz?|?GDPR/CCPA Cookie Consent by Really Simple Plugins
    – Easy Accordion by ShapedPlugin LLC
    – LoftLoader by Loft.Ocean
    – Matomo Analytics by Matomo
    – Meow Gallery by Jordy Meow
    – Multiple Domain Mapping on single site by Matthias Wagner – FALKEmedia
    – Ninja Forms by Saturday Drive
    – OMGF by Daan de Daan.dev
    – Product Slider for WooCommerce by ShapedPlugin LLC
    – ProductX by wpxpo
    – WooCommerce by Automattic
    – Yoast Duplicate Post by Enrico Battocchi & l’équipe Yoast

    Thanks, Kind regards

    • This reply was modified 8 months, 1 week ago by totorosk8.
    Thread Starter totorosk8

    (@totorosk8)

    update : i was on PHP v8.1 and i just tried with PHP v8.3 and still the same problem.
    I have the latest version of wordpress.

    Hi @totorosk8,

    Thank you for your thorough feedback. We will investigate this issue, and we aim to have it resolved in our upcoming update.

    Plugin Contributor Anik Biswas

    (@anik4e)

    Hello @totorosk8,

    We already solved this problem and released an update 3.1.12 . So please check latest version and make sure your problem is solved.

    Thanks.

    Thread Starter totorosk8

    (@totorosk8)

    Perfect ! Thanks a lot guys ??
    Kind regards

    Glad to help you. If you could spare a moment, we would greatly appreciate it if you could share your thoughts with us by leaving a review.

    You can leave your review here: ProductX

    Thank you in advance for your time and feedback.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘CRITICAL ERROR, PHP WP_Error’ is closed to new replies.