Minor error when updating plugin
-
When updating to Woocommerce 4.8.0, the following error was thrown (and trapped by the update dashboard).
However, the error is persistent, and required an external deactivation of the Sucuri Scanner (Version 1.8.24) plugin. Woo remained down until manually reactivated after deactivating Sucuri. Sucuri appears to have reactivated OK after that, tho.
Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /home/wmt72b3qleip/public_html/rwmcnair/wp-content/plugins/sucuri-scanner/src/mail.lib.php:172 Stack trace: #0 /home/wmt72b3qleip/public_html/rwmcnair/wp-content/plugins/sucuri-scanner/src/mail.lib.php(85): SucuriScanMail::prettifyMail(‘Plugin Deactiva…’, ‘Plugin deactiva…’, Array) #1 /home/wmt72b3qleip/public_html/rwmcnair/wp-content/plugins/sucuri-scanner/src/event.lib.php(639): SucuriScanMail::sendMail(‘rwmcnair@simonk…’, ‘Plugin Deactiva…’, ‘Plugin deactiva…’, Array) #2 /home/wmt72b3qleip/public_html/rwmcnair/wp-content/plugins/sucuri-scanner/src/hook.lib.php(428): SucuriScanEvent::notifyEvent(‘plugin_deactiva…’, ‘Plugin deactiva…’) #3 /home/wmt72b3qleip/public_html/rwmcnair/wp-content/plugins/sucuri-scanner/src/hook.lib.php(440): SucuriScanHook::hookPluginChanges(‘deactivated’, ‘woo-address-boo…’, false) #4 /home/wmt72b3qleip/public_html/rwmcnair/wp-includes/class-wp-hook.php(287): SucuriScanHook::hookPluginDeactivate(‘wo in /home/wmt72b3qleip/public_html/rwmcnair/wp-content/plugins/sucuri-scanner/src/mail.lib.php on line 172
There has been a critical error on your website. Please check your site admin email inbox for instructions.
The page I need help with: [log in to see the link]
The topic ‘Minor error when updating plugin’ is closed to new replies.