Critical error after trying to update to latest version (1.14.8)
-
Hi,
I just tried to update this plugin today, and I got a critical error message on both my live and staging sites.
I updated the plugin on my live site first and got the critical error message, so I restored my website to the previous back up, and all seemed fine. Then I tried updating the plugin on my staging site and got the critical error message again.
When I went back into my live site, the critical error returned even though it is the previous version (1.14.7). It wasn’t showing this error before today.
In my staging site, I tried deactivating, deleting and reinstalling the plugin and the error has not returned so far, but if I leave it deactivated it is still asking me for my OTP code when I try to log into WordPress. (Why?)
Below are the error details in the emails I received from WordPress. Please note that line numbers and error details are slightly different.
WordPress version 6.0.2
Active theme: My Listing (version 2.9.4) Current plugin: Two Factor Authentication (version 1.14.7) PHP version 8.0.221st time (after updating in my live site)
Error Details
=============
An error of type E_COMPILE_ERROR was caused in line 9 of the file /var/www/wp-content/plugins/two-factor-authentication/simba-tfa/includes/login-form-integrations.php. Error message: Cannot declare class Simba_TFA_Login_Form_Integrations, because the name is already in use2nd time (after updating in staging)
Error Details
=============
An error of type E_COMPILE_ERROR was caused in line 8 of the file /var/www/wp-content/plugins/two-factor-authentication/simba-tfa/providers/totp-hotp/loader.php. Error message: Cannot declare class Simba_TFA_Provider_TOTP, because the name is already in useThanks in advance,
Debbie
- The topic ‘Critical error after trying to update to latest version (1.14.8)’ is closed to new replies.