• Resolved TomUsher

    (@tomusher)


    I upgraded my WordPress site to PHP version 7.2.11.

    Before doing that, I ran the PHP Compatibility Checker scanning for potential 7.2 issues. It reported: “Two Factor – Compatible.”

    However, immediately after the upgrade, Two Factor stopped working. The setting in Profiles were cleared. Resetting them doesn’t work. They’re simply cleared upon updating the profile.

    I haven’t tried everything I can think of, as the upgrade has caused other more pressing issues.

    I figured reporting this now would be wise in case this is a known issue: before I spend more time on it.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kaspars

    (@kasparsd)

    I’m using the Two Factor plugin with PHP 7.3.1 and everything is working as expected. I’ve been updating PHP with every new release since PHP 7.0 and all of the data is intact.

    All the data is stored and accessed using standard WordPress APIs so there shouldn’t be any reason why only the Two-Factor data is cleared.

    Could it be related to changes in the version of PHP and how it accesses the database on your particular hosting? Please let us know if you confirm the cause of the issue.

    • This reply was modified 6 years, 1 month ago by Kaspars. Reason: Suggested next steps
    Thread Starter TomUsher

    (@tomusher)

    Thank you for your reply.

    I attempted again to reestablish 2FA in my profile. This time it worked.

    I then recalled an instance several months ago while the site was still running PHP 5.6 when another admin had her 2FA profile settings clear on her. She, however, was able to immediately reestablish her settings. At the time, she was the only user impacted. Only three of us could have changed her settings, and we know we didn’t do anything knowingly to cause it.

    Therefore, this seems like an intermittent issue with quite a lag between events and the cause of which issue may be rather difficult to pin down.

    If it happens again, I’ll take the time to disable other plugins and take other steps if necessary to try to at least get some idea of what might be the cause.

    Apparently, it’s not likely the PHP version.

    Thanks for your efforts. You’re doing the WP community a great service bringing forth 2FA. Ah, speaking of which, isn’t it time to get rid of the “Dummy Method”?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP version 7.2.11 support’ is closed to new replies.