Support » Plugin: Temporary Login Without Password » A few issues relating to php 8 probably.

  • Resolved Bjarne Oldrup

    (@oldrup)


    Hey! Thank you for creating this plugin. It works great.

    However, I get some warnings/errors in the dashboard on my test bench. Probably relating to php 8

    Deprecated: Required parameter $data follows optional parameter $user_id in /home/oldrupdk/oldrup.net/wp-content/plugins/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php on line 130
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/oldrupdk/oldrup.net/wp-content/plugins/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:130) in /home/oldrupdk/oldrup.net/wp-includes/functions.php on line 6362
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/oldrupdk/oldrup.net/wp-content/plugins/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:130) in /home/oldrupdk/oldrup.net/wp-admin/includes/misc.php on line 1310
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/oldrupdk/oldrup.net/wp-content/plugins/temporary-login-without-password/includes/class-wp-temporary-login-without-password-common.php:130) in /home/oldrupdk/oldrup.net/wp-admin/admin-header.php on line 9

    Are you able to reproduce?

    Kind regards
    Bjarne

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Malay Ladu

    (@malayladu)

    Hi Bjarne,

    Thanks for reporting this.

    Yes, we can reproduce this issue. We will fix it and update it in the upcoming release of the plugin.

    Thread Starter Bjarne Oldrup

    (@oldrup)

    Awesome! Thanks! 🙂

    Plugin Contributor Malay Ladu

    (@malayladu)

    Hi Bjarne,

    Just want to update you that we have released Temporary Login Without Password 1.6.11 with this fix.

    Please upgrade and confirm the fix.

    Thread Starter Bjarne Oldrup

    (@oldrup)

    Fantastic! Works like a charm. Made a temporary login on my test site (WordPress 5.7 multisite, PHP 8), logged in using a different browser, offered only the permissions I expected (no access to profile settings, no access to creating new users etc)..

    Great job!
    Bjarne

    Plugin Contributor Malay Ladu

    (@malayladu)

    Hi Bjarne,

    Thanks for the confirmation.

    If you like the plugin & support, please consider leaving us 5 stars review.

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