Latest Update Crashed Site
-
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.
-
This topic was modified 2 months ago by
-
it did the exact same thing to me this morning. Same “S”. at a very critical time. Any answers?
Is there a way to get the previous version?
You should be able to roll it back using a plugin like WP Rollback.
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.
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 withinvalid_json. - Hitting
/wp-jsonreturns 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-jsonstarts correctly with{and Media Library works again.
Yes, seeing this too. Disabled the plugin.
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.
- Delete the current LoginWP plugin from your WordPress dashboard.
- Clear all caches (browser, plugin, and server-side if applicable).
- 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,
MejIn
wplogin_redirect.phpthe first line iss<?phpJust remove that errant ‘s’.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!
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
-
This reply was modified 1 month, 4 weeks ago by
cameronforgesmith.
@mej We’ve performed the steps you outlined multiple times to try and resolve the issue, but it persists.
- Delete the current LoginWP plugin from your WordPress dashboard.
- Clear all caches (browser, plugin, and server-side if applicable).
- Reinstall and activate the latest version of LoginWP.
We’ve had to roll back to 3.0.86
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 TeamIn 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-redirectfolder and the filewplogin_redirect.phphas a randomsat the very start. Just delete it, save it, you’re good to go.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 - Media Library grid shows no images; DevTools → Network shows
You must be logged in to reply to this topic.