Hi @orshvartz,
I saw this crop up in another ticket which has not yet received a response to my questions, but if I do hear from them too we can try to compare similarities between your sites.
Certain plugins or case insensitive URLs have caused this error in the past, for example, if I change my URL to page=wfls... in lowercase I can reproduce the error you’re seeing. However, there are other pages containing capitals in Wordfence so I’d possibly expect this to occur for more pages if that was the issue.
I think the first thing to try would be disabling all plugins except for Wordfence, and using a default theme such as Twenty Twenty-One. If the issue subsides, enable your plugins and theme one-by-one until it starts reoccurring and report back to me when it starts up again. Try visiting the page URL directly without clicking a link also.
This could sometimes occur when WordPress deprecated jquery-migrate in the WordPress 5.5 update last year. Wordfence was updated accordingly to prevent compatibility issues. Whilst a pretty old problem now that we don’t see so often any more, there is a chance that a newly installed plugin or theme still hasn’t been updated to comply so the Enable jQuery Migrate Helper could still be of assistance here.
Let me know what you find.
Thanks,
Peter.
as i said, i alredy tried to disable all other plugins and switch theme. nothing. also tried to acess the link directly
Hi @orshvartz,
No worries, thanks for trying the extra bits too. I’ve dug into this a little more from other cases we’ve seen. The message “Sorry, you are not allowed to access this page” as you probably know is a WordPress default message when you don’t have the right user level to access the page. However, the same role/level usually controls displaying the menu item in the first place.
Something else is likely breaking the URL so it’s not going to the right page. For admins on a single site, it should point to /wp-admin/admin.php?page=WFLS... as you’re seeing.
A mu-plugin as seen in Plugins > Installed Plugins > Must-Use whether manually added, installed as part of another plugin, or installed by the host could also cause this. You could try disabling those if you haven’t already. Another possibility we’ve seen is a multisite that isn’t quite set up correctly, causing the wrong link to be generated.
If the user roles and mu-plugins seem fine, and you’re not running a multisite, can you send a diagnostic report to wftest @ wordfence . com? You can find the link to do so at the top of the Wordfence > Tools > Diagnostics page. Then click on “Send Report by Email”. Please add your forum username where indicated and respond here after you have sent it.
NOTE: It should look as follows – Screenshot of Tools > Diagnostic > Send by Email
Thanks again,
Peter.