Support » Plugin: WordPress Beta Tester » Locked out from admin after last plugin update

  • Thomas Geiger

    (@duracelltomi)


    After the last update (v3.1.3) I get locked out from WP admin if WP Beta Tester plugin is active. I had to deactivate it through FTP by removing the plugin folder.

    I created a debug backtrace which also includes WP Beta Tester at some level:
    https://pastebin.com/vV1T444Z

    There are two line in the debug.log related to this:

    [24-Sep-2021 07:31:29 UTC] PHP Warning: Use of undefined constant SECURE_AUTH_COOKIE – assumed ‘SECURE_AUTH_COOKIE’ (this will throw an Error in a future version of PHP) in /home/myhomedir/mysite.tld/wp-includes/pluggable.php on line 847
    [24-Sep-2021 07:31:29 UTC] PHP Warning: Use of undefined constant LOGGED_IN_COOKIE – assumed ‘LOGGED_IN_COOKIE’ (this will throw an Error in a future version of PHP) in /home/myhomedir/mysite.tld/wp-includes/user.php on line 532

    You can see the backtrace for the first error message. I assume the second message is somehow related.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Thomas Geiger

    (@duracelltomi)

    System info:

    Version 5.8.1
    Web server Apache
    PHP version 7.4.23 (Supports 64bit values)

    Plugin Author Andy Fragen

    (@afragen)

    The Beta Tester plugin doesn’t set cookies. I’m not sure where your error might be.

    Thread Starter Thomas Geiger

    (@duracelltomi)

    I do not think that the error is related directly to cookies but somehow there is a connection to when those cookies are set.

    If you look at the stack trace, the error happens while WPBT_Bootstrap::run is executed, then WP_Beta_Tester::run, then the WPBT_Settings object is constructed, inside wp_create_nonce is called, this calls wp_get_current_user and other internal WP functions that fail.

    Plugin Author Andy Fragen

    (@afragen)

    Thanks I’ll dig deeper.

    Plugin Author Andy Fragen

    (@afragen)

    I think I see the problem that I caused. Fix to be released momentarily.

    Plugin Author Andy Fragen

    (@afragen)

    Please let me know if v3.1.4 fixes this. Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.