• Resolved cisak

    (@cisak)


    Hi there, just updated to the latest version that went up about two hours ago. I am also running the latest WordPress there is. After the update of the plugin I get the following error message on all sites on top:

    Notice: Undefined index: query in /home/www/techacute.com/wp-content/plugins/wps-hide-login/classes/plugin.php on line 427

    Does anybody have a good idea? I didn’t change anything else so I was suspecting the update itself. Many thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Update contains code, that not verify existance of array key. https://prntscr.com/m0o8xp

    Fast fix – replace 427 line from current:
    if ( strpos( $request[‘query’], ‘action=confirmaction’ ) !== false ) {

    To this:
    if ( array_key_exists( ‘query’, $request ) && ( strpos( $request[‘query’], ‘action=confirmaction’ ) !== false ) ) {

    and wait for hotfix

    Thread Starter cisak

    (@cisak)

    Thanks a lot for the response. I appreciate you looking into this and will try my best with the fast fix and wait for the hotfix as well. Thanks!

    I followed your advice and got the following message:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘\WPS\WPS_Hide_Login\Plugin’ not found in /mnt/web314/e0/11/579511/htdocs/profinos/wp-includes/class-wp-hook.php on line 286 Parse error: syntax error, unexpected ‘=’, expecting ‘,’ or ‘)’ in /mnt/web314/e0/11/579511/htdocs/profinos/wp-content/plugins/wps-hide-login/classes/plugin.php on line 427

    Did I make a mistake???

    I had this problem.

    I tried that fix, decided to log out, got back in via the usual hidden log in and it just showed the error line still and refused to load up the WP log in page…

    Killed it…

    Decided to load the version prior to the back-up and it all worked well (always do a daily server site back-up)

    Also, is it meant to be action=confirmaction? Not heard of confirmaction before..?

    I’m having the exact same issue, had to disable the plugin.. when will this be fixed?
    Thanks

    Just updated to 1.5.2 and got the same error, please fix.

    Same here, waiting for the fix.

    Have same issue, but these issue only happen on website Im hosted on shared hosting (cpanel), all my web on vps doesn’t have these issue. And thanks @funnywheel for quick fix these issue

    Plugin Author NicolasKulka

    (@nicolaskulka)

    Hello,

    I’m so sorry for this notice, i fix this in tag 1.5.2.1

    @gottfrieds it seems like you did syntax error. Try to replace your code inside %your_website_dir%/wp-content/plugins/wps-hide-login/classes/plugin.php with this – https://pastebin.com/raw/PaMeJKsZ

    There is no changes from original plugin file except hotfix at 427 line. (plugin updated)

    • This reply was modified 6 years, 3 months ago by funnywheel.
    • This reply was modified 6 years, 3 months ago by funnywheel.

    Thanks for the fix!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Error displayed on sites after latest update’ is closed to new replies.