• Resolved shirtguy72

    (@shirtguy72)


    Hello, hope all is well. Plugin seems to be working fine, in fact when I am done here, I will be leaving a 5 Star Review. Poking around today doing some database cleaning and ran across the following, seems to have only triggered once during setup but wanted to bring to your attention in the case it is something that needs fixing.

    (InnoBD running on PHP8) <– My setup

    [14-May-2021 09:44:35 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/customer/* * * * * * * */public_html/wp-content/plugins/change-wp-admin-login/includes/class-change-wp-admin-login.php on line 282

    [14-May-2021 09:44:35 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/customer/* * * * * * * */public_html/wp-content/plugins/change-wp-admin-login/includes/class-change-wp-admin-login.php on line 290

    Thanks for a great plugin and thanks for your time here. Respectfully.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @shirtguy72

    Thank you for letting me know, I will fix that “warning” on the next plugin update.

    Best,
    Nuno

    Thread Starter shirtguy72

    (@shirtguy72)

    Thanks Nuno, I have to admit I never opened your files to see lines 282 and 290.
    I have been using SF-MoveLogin in combination with the following serverside setup…

    # Password protect the wp-login.php file
    ErrorDocument 401 “Unauthorized Access”
    ErrorDocument 403 “Forbidden”
    <FilesMatch “wp-login.php”>
    AuthName “Authorized Only”
    AuthType Basic
    AuthUserFile /home/username/.wpadmin
    require valid-user
    </FilesMatch>

    I removed SF-Movelogin and found your plugin in efforts to troubleshoot my caching solution running across redirect and 403 forbidden anomalies. Eventually, I found the caching error was caused by image /attachments/

    With that, back to lines 282 and 290, Change WP-Admin Login plugin seemed to be interfering, not allowing the .wpadmin (extra login layer) visible on my end.

    So, not sure if the issue is relevant. I may be the only person to use your plugin along with the other security layer in combination? But for that reason I found myself back to the (abandoned plugin) SF MoveLogin. Hope this can help some of your users.

    Again, great plugin! 5Stars!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Warning: Trying to access array’ is closed to new replies.