Uncaught Error: Attempt to assign property “translations” on null

[ad_1]

I got the error with my WooCommerce Plugin:

An error of type E_ERROR was caused in line 81 of the file /home/sageorvb/public_html/wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php. Error message: Uncaught Error: Attempt to assign property "translations" on null in /home/sageorvb/public_html/wp-content/plugins/woocommerce/includes/admin/helper/class-wc-helper-updater.php:81 Stack trace: #0 /home/sageorvb/public_html/wp-includes/class-wp-hook.php(312): WC_Helper_Updater::transient_update_plugins() #1 /home/sageorvb/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #2 /home/sageorvb/public_html/wp-includes/option.php(2053): apply_filters() #3 /home/sageorvb/public_html/wp-includes/update.php(393): set_site_transient() #4 /home/sageorvb/public_html/wp-includes/update.php(1022): wp_update_plugins() #5 /home/sageorvb/public_html/wp-includes/class-wp-hook.php(310): _maybe_update_plugins() #6 /home/sageorvb/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #7 /home/sageorvb/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #8 /home/sageorvb/public_html/wp-admin/admin.php(175): do_action() #9 /home/sageorvb/public_html/wp-admin/plugins.php(10): require_once('/home/sageorvb/...') #10 {main} thrown

Any idea what caused it and how to fix it?

 

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