• Resolved SAT

    (@stronganchortech)


    I got a notification that one of our sites was down, and when I looked at it, the homepage just loaded a blank white page with the letter “S” on it.

    I noticed that this plugin (LoginWP) was the only thing updated recently, so I disabled it and the problem went away. I’m guessing something went wrong with the most recent update?

    • This topic was modified 2 months ago by SAT.
Viewing 15 replies - 1 through 15 (of 15 total)
  • kellzilla123

    (@kellzilla123)

    it did the exact same thing to me this morning. Same “S”. at a very critical time. Any answers?

    kellzilla123

    (@kellzilla123)

    Is there a way to get the previous version?

    Thread Starter SAT

    (@stronganchortech)

    You should be able to roll it back using a plugin like WP Rollback.

    djenk

    (@djenk)

    Updating didn’t take down my site, but did add the mysterious “s” at the top of the page, both on the front end and the backend of the site. I downloaded the previous version from here, just scroll to the bottom to see previous versions: https://wordpress.org/plugins/peters-login-redirect/advanced/

    Rolled back to the previous version and the “s” is gone.

    Matt

    (@mhuntdesign)

    Hello LoginWP team,

    I’m encountering a JSON response issue that only occurs when LoginWP (Formerly Peter’s Login Redirect) is active. With the plugin enabled, WordPress’s Media Library fails to load and AJAX/REST responses begin with a stray character, causing the familiar “The response is not a valid JSON response.” error.

    Symptoms

    • Media Library grid shows no images; DevTools → Network shows query-attachments / REST calls failing with invalid_json.
    • Hitting /wp-json returns a payload that begins with a stray character (s) before the opening {. Example of the first bytes: s{"name":
    • Disabling LoginWP immediately resolves the issue; /wp-json starts correctly with { and Media Library works again.
    Hammy Havoc

    (@hammyhavoc)

    Yes, seeing this too. Disabled the plugin.

    Plugin Author Mej de Castro

    (@mej)

    Dear Users,

    Thank you for reporting this issue. Our team has fixed the problem a few hours ago, and everything should now be working as expected. The issue was likely related to caching. If you are still encountering issues, please follow the steps below.

    1. Delete the current LoginWP plugin from your WordPress dashboard.
    2. Clear all caches (browser, plugin, and server-side if applicable).
    3. Reinstall and activate the latest version of LoginWP.

    If the issue persists after completing these steps, please let us know. We’ll be happy to investigate further.

    Kind regards,
    Mej

    aydun

    (@aydun)

    In wplogin_redirect.php the first line is s<?php Just remove that errant ‘s’.

    djenk

    (@djenk)

    Just updated to Version 3.0.8.7, the mysterious “s” is still present. Reverted back to Version 3.0.8.5 and the “s” is gone.

    EDIT: OK, this is fixed for me now. I followed the steps above regarding clearing all caches, had to do it twice but it worked. All seems to be good. Thanks for the quick fix!

    • This reply was modified 2 months ago by djenk.
    • This reply was modified 2 months ago by djenk.

    you folks fixed the issue, but that was after people had already updated to 3.0.8.7, and you never pushed a version change after.

    Just bump it to 3.0.8.8 so this can get caught by auto updates plz

    @mej We’ve performed the steps you outlined multiple times to try and resolve the issue, but it persists.

    1. Delete the current LoginWP plugin from your WordPress dashboard.
    2. Clear all caches (browser, plugin, and server-side if applicable).
    3. Reinstall and activate the latest version of LoginWP.

    We’ve had to roll back to 3.0.86

    Plugin Author Mej de Castro

    (@mej)

    Hi Dear Users,

    We can confirm that the latest downloadable version has resolved the issue with the “s” character when navigating to the LoginWP dashboard.

    We still recommend deactivating the plugin and downloading a fresh copy from the repository. Please make sure to clear your caches before installing the new version to ensure all previous issues are fully overwritten.

    Thank you for your patience and understanding regarding this matter.

    Kind Regards,
    Mej, LoginWP Team

    In the future, please update the version number as well when making any changes 😉

    Not every site is going to crash. Some are just going to have a random “S” at the top of every page, and they’re not going to know what plugin is causing it.

    If you bump up the version number to 3.0.8.8 then users who don’t know where to look will just be auto updated automatically, or they just click “update” on every plugin and the problem goes away. Version numbers are free, right? It’s not a git commit that you can amend before pushing the changes. It already went out. Version 3.0.8.7 is now split between 3.0.8.7(bad) and 3.0.8.7(good). Just make a 3.0.8.8 that’s always good.

    For anyone that doesn’t want to delete the whole plugin and download it again, it’s simple enough (depending on your setup) to just edit the file. The plugin for me was in the peters-login-redirect folder and the file wplogin_redirect.php has a random s at the very start. Just delete it, save it, you’re good to go.

    Plugin Author Mej de Castro

    (@mej)

    Hi Dear users,

    We apologize for the inconvenience. We’ve already released a fixed version to address the issue.

    Thank you for your patience and understanding!

    Kind Regards,
    Mej, LoginWP Team

Viewing 15 replies - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.