Are there any security plugins or user/role manager ones? If you open site shell you should be able to run wp plugin list
to see everything. As a test, you could also run wp plugin deactivate --all
and then see if you’re able to login with all of the plugins deleted. That will show whether or not a plugin has been blocking progress here.
I have one that manages user roles
Can you try deactivating that plugin via CLI to see if you can get in after? If not you could try using the --all command to nuke all of the plugins and try to get in again and see if it’s something else.
how do I deactivate a plugin using CLI?
wp plugin deactivate pluginname
should do the trick!
And then if you need to do them all at once you can do wp plugin deactivate --all
To turn any back on it would be the same commands but with activate
instead.
Ok, thanks.
I deactivated all of the plugins and I still cannot login.
This was a site you built in Local correct? But at no point you could log in without One Click Admin? Even when you first started working on it?
I’m not quite sure what isn’t syncing here without the site in front of me. We know now that you can create new sites and log in to those okay, so it seems like something specific to this site is hindering itself.
I’m going to send you a DM to follow up on some more details.
Yes, this is a site I built in Local. I cannot log into it at all except with the One Click Admin. It has been like this since I first built the site about 2 months ago.
I deleted your comment to keep your link private. Did you get my previous direct message? Feel free to respond to that after granting access to the Drive link.
If you are talking about the previous private message asking for the link, yes I got it. I will send you the link again through my email. Please let me know if you get the link.
I should have asked this earlier, but if I send you the link through my email, will that be the same as sending the link privately?
Hello @mrdurham!
Thank you for the extra details and help getting your site over in our messaging. I’m responding back here in the public thread since we may have found a fix for this.
It looks like your Salts
are below the Stop Editing
line in wp-config.php
which we saw cause similar issues a couple of releases ago. We fixed this in the latest release but if you started building this site earlier then the fix wouldn’t retroactively update this so it will have to be done manually.
If you open your wp-config.php file in a text editor and move your salts above the line that says That's all, stop editing!
save the changes and restart your site that should resolve the issue.
Here is what your wp-config looks like for example:
Here is what mine looks like on a new sample site:
To reiterate the fix will just be to move those salts up, save, restart the site (Stop/Start) and then you should be good!
I made the changes to wp-config.php and I am now able to log into both the admin and the other subsites! Thank you so much for your help and patience.
Glad to hear it @mrdurham! Thank you for your patience and communication with us as well. Glad we got it sorted. Happy Developing
Great, thank you so much!
This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.