Hello Ryan,
are you doing any custom URL rewrites, for example some custom code or plugin that changes /wp-admin/ to /admin/?
No, and I am able to log in. But a page with the text saying that I do not have rights to se the page appears after login :-/
Hello again Ryan,
we had a similar but not identical report a while ago. We released a fix for it with 6.1.3. Which version of of WordPress and Wordfence are you using?
Hi,
We are using the latest WordPress and Wordfence 6.1.4.
Hello Ryan,
can you access your database with PhpMyAdmin or similar? If so, could you check the contents of the row “adminUserList” in the table “wfConfig”? It’s a .bin file but you can click to download it and open it in a regular texteditor. What I’d like to know is if the userid of the superadmin (the one you are using to log in to network/multisite admin) is listed in there. Thanks in advance.
Hi,
The only content of the file is the following:
b:0;
Hello Ryan,
We can try this: Edit the .bin file you downloaded as if it was a regular text file and replace the contents of if with
a:1:{i:1;i:1;}
and then upload it to the row “adminUserList” in the table wfConfig. All this does is let Wordfence know the ID of the admins on your site. I’m not 100% sure it will fix it but it’s worth a shot.
Let me know if it works!
Hi,
I tried it, but it dos not give me or other admins access.
I have tried to remove Wordfence completely and reinstall (making it remove the data on deaktivation), but it dos not give admins the rights.
After the new installation the adminUserList contains b:0.
Hello Ryan,
could you email me a screenshot of the page you see when you are denied access? My email is asa@wordfence.com. Thanks in advance.
Hi,
Just wanted to let you know, it now works again with version 6.1.8 π
Tanks.
Hello Ryan,
yes, sorry I didn’t get a chance to get back to you yet to let you know the fix was included in the latest version. Glad you figured it out yourself. π