• Resolved a9725e4a84

    (@a9725e4a84)


    Parse error: syntax error, unexpected ‘)’ in /wp-content/plugins/two-factor-authentication/simba-tfa/providers/totp/loader.php on line 734

    Fix: Remove training ‘,’ at line 733, patch:

     .../two-factor-authentication/simba-tfa/providers/totp/loader.php       | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/wp-content/plugins/two-factor-authentication/simba-tfa/providers/totp/loader.php b/wp-content/plugins/two-factor-authentication/simba-tfa/providers/totp/loader.php
    index 6d53212a0b..2fdd94a633 100644
    --- a/wp-content/plugins/two-factor-authentication/simba-tfa/providers/totp/loader.php
    +++ b/wp-content/plugins/two-factor-authentication/simba-tfa/providers/totp/loader.php
    @@ -730,7 +730,7 @@ class Simba_TFA_Provider_totp {
                    if (empty($user_results)) {
                            return new WP_Error(
                                    'failed_to_get_priv_keys',
    -                               __('Encrypt secrets feature not enabled: unable to get private keys from the database.', 'two-factor-authentication'),
    +                               __('Encrypt secrets feature not enabled: unable to get private keys from the database.', 'two-factor-authentication')
                            );
                    }

    • This topic was modified 1 year, 6 months ago by a9725e4a84.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Ah, the classic PHP 7.2 bug ?? this caused me so many headaches in the past.

    Plugin Author David Anderson

    (@davidanderson)

    Thanks for that – fixed now in version 1.14.16.

    The best way to avoid pain caused by long end-of-lifed PHP versions is to stop using them!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘1.14.15 breaks with Parse error: syntax error, unexpected ‘)’’ is closed to new replies.