I since uninstalled the plugin
]]>Also, can I limit it to just one woocommerce product page?
]]>I installed your weather-effect plugin on my website but have had to disable it as on the network pages i see the following message
> There has been a critical error on your website. Please check your site admin email inbox for instructions.
This affects the network section only and otherwise the plugin seems to work well.
Can you tell me how to fix this?
Thanks
Scott
]]>[Thu Mar 05 07:11:25.588935 2020] [php7:warn] [pid 13914] [client 185.86.93.30:60806] PHP Warning: Invalid argument supplied for foreach() in /wp-includes/blocks.php on line 477...
– these are logs
This error is caused when I go to the site network /wp-admin/network/
When debug is enabled, the following is displayed, on the same page
Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /wp-includes/capabilities.php:652 Stack trace: #0 /wp-admin/network/settings.php(16): current_user_can('manage_network_...') #1 /wp-content/plugins/weather-effect/weather-effect.php(39): require_once('/var/www/macro/...') #2 /wp-settings.php(308): include_once('/var/www/macro/...') #3 /wp-config.php(102): require_once('/var/www/macro/...') #4 /wp-load.php(37): require_once('/var/www/macro/...') #5 /wp-admin/admin.php(34): require_once('/var/www/macro/...') #6 /wp-admin/network/admin.php(13): require_once('/var/www/macro/...') #7 /wp-admin/network/index.php(11): require_once('/var/www/macro/...') #8 in /wp-includes/capabilities.php on line 652
#update
for better help with this visit
https://forum.weavertheme.com/