The base page of shop does not work due to the plugin issue

[ad_1]

Hello,

Bought, installed and configured the plugin “Datalayer for WooCommerce” Version 2.5.0 (not free).

After that the base page of shop stopped working and the error appears:
There has been a critical error on this website.
Then I enabled debug mode and got more detailed information about the issue:
Fatal error: Uncaught Error: Call to a member function get_category_ids() on bool in /data/sites/web/samaralieu/www/wp-content/plugins/datalayer-for-woocommerce/src/RenderProduct.php:269 Stack trace: #0 /data/sites/web/samaralieu/www/wp-content/plugins/datalayer-for-woocommerce/src/RenderDataLayerPro.php(266): DatalayerForWoocommerce\RenderProduct::prepare_impressions_items() #1 /data/sites/web/samaralieu/www/wp-includes/class-wp-hook.php(308): DatalayerForWoocommerce\RenderDataLayerPro->datalayer_enqueue_script() #2 /data/sites/web/samaralieu/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #3 /data/sites/web/samaralieu/www/wp-includes/plugin.php(517): WP_Hook->do_action() #4 /data/sites/web/samaralieu/www/wp-includes/script-loader.php(2180): do_action() #5 /data/sites/web/samaralieu/www/wp-includes/class-wp-hook.php(308): wp_enqueue_scripts() #6 /data/sites/web/samaralieu/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #7 /data/sites/web/samaralieu/www/wp-includes/plugin.php(517): WP_Hoo in /data/sites/web/samaralieu/www/wp-content/plugins/datalayer-for-woocommerce/src/RenderProduct.php on line 269

Then I disabled the plugin and the error was not reproduced.

Please assist to fix the issue.

WordPress version 6.1.1
WooCommerce version 7.6.1
Divi Theme version 4.21.0

  • This topic was modified 2 hours, 8 minutes ago by Stas.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer