• Resolved Andreas

    (@deksar)


    Hello there. First of all, thanks a lot for such a great plugin!

    I’m getting the following errors in error.log file of my webserver;

    PHP Warning: Trying to access array offset on value of type bool in:

    /change-wp-admin-login/includes/class-change-wp-admin-login.php on line 282
    PHP message: PHP Warning: Trying to access array offset on value of type bool in /change-wp-admin-login/includes/class-change-wp-admin-login.php on line 290″
    while reading response header from upstream, client: 80.87.220.124,
    request: “GET //?author=1 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm.sock:”,

    “PHP message: PHP Warning: Undefined array key “path” in /change-wp-admin-login/includes/class-change-wp-admin-login.php on line 282 PHP message: PHP Warning: Undefined array key “path” in /change-wp-admin-login/includes/class-change-wp-admin-login.php on line 290″ while reading response header from upstream, client: 20.108.254.25, request: “GET //.env HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm.sock:”

    Any idea would be much appreciated.
    Thanks.

Viewing 16 replies (of 16 total)
  • Hi @deksar,

    @deksar, thank you very much for troubleshooting the issue. This is now fixed.

    For everyone that is seeing this support request please ignore @dhaval-parekh fix. His fix is wrong and untested.

    The latest version of the plugin has all the fixes for the php8.1 warnings found by @deksar

    Nevertheless thank you everyone for your input.

Viewing 16 replies (of 16 total)
  • The topic ‘Undefined array key “path” in class-change-wp-admin-login.php on line 282’ is closed to new replies.