• Resolved claudiaiw

    (@claudiaiw)


    Hi,

    after activating the plugin in a fresh WooCommerce shop I immediately get this error:

    Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /home/www/doc/32875/shop.xyz.de/wordpress/wp-content/plugins/brands-for-woocommerce/main.php:1355 Stack trace: #0 /home/www/doc/32875/shop.xyz.de/wordpress/wp-content/plugins/brands-for-woocommerce/main.php(1355): in_array() #1 /home/www/doc/32875/shop.xyz.de/wordpress/wp-content/plugins/brands-for-woocommerce/berocket/framework.php(1147): BeRocket_product_brand->update_version() #2 /home/www/doc/32875/shop.xyz.de/wordpress/wp-content/plugins/brands-for-woocommerce/main.php(1295): BeRocket_Framework->plugin_version_check() #3 /home/www/doc/32875/shop.xyz.de/wordpress/wp-includes/class-wp-hook.php(324): BeRocket_product_brand->update_from_older() #4 /home/www/doc/32875/shop.xyz.de/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #5 /home/www/doc/32875/shop.xyz.de/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /home/www/doc/32875/shop.xyz.de/wordpress/wp-settings.php(727): do_action() #7 /home/www/doc/32875/shop.xyz.de/wordpress/wp-config.php(118): require_once(‘…’) #8 /home/www/doc/32875/shop.xyz.de/wordpress/wp-load.php(50): require_once(‘…’) #9 /home/www/doc/32875/shop.xyz.de/wordpress/wp-admin/admin.php(35): require_once(‘…’) #10 /home/www/doc/32875/shop.xyz.de/wordpress/wp-admin/plugins.php(10): require_once(‘…’) #11 {main} thrown in /home/www/doc/32875/shop.xyz.de/wordpress/wp-content/plugins/brands-for-woocommerce/main.php on line 1355

    Any idea what could be wrong?

    Claudia

Viewing 1 replies (of 1 total)
  • Thread Starter claudiaiw

    (@claudiaiw)

    Sorry you can delete this post.
    Just noticed there are brands in core now, so we don’t need the plugin!

Viewing 1 replies (of 1 total)

The topic ‘After installation: Uncaught TypeError: in_array()’ is closed to new replies.