My admin role suddenly changed to “No role for this site”

[ad_1]

Hi all! Any thoughts what could be the cause for the titled situation? Site hacked? 😬

Some details:

  • WordPress + Elementor Pro + Woocommerce + whole bunch of plugins + Limit Login Attempts Reloaded + Really Simple SSL, WP Rocket to name a few
  • Was operating on dashboard normally, published a product, left browser open, used Anydesk to work on another computer, went afk. When coming back to do more product stuff, I got the white screen that said roughly "You don't have the permission for this page".
  • Maintenance mode and disabling plugins didn't work, then another admin signed in and saw that my user couldn't be found amongst admins. We made another user for me and I saw my role had changed, I switched it back to admin and it's been ok since.
  • Hosting is a good quality domestic operator in Finland, Litespeed server, that's all I know about it.
  • I installed Wordfence to run a scan but ended up removing it after
  • I did see that there are a few suspicious users registered in past couple of days (something like [[email protected]](mailto:[email protected]) and few others), I deleted them.

Am I screwed? Thanks!

[ad_2]
5 Comments
  1. Install Wordfence again and run a scan. Report back with the results. It does sound like you’ve been hacked.

  2. You can google how to manually add the permissions back from the database assuming that you have access.

  3. Had a client’s host have RAM fail recently and went through all types of issues, including this one. Accounts lost permissions, Wp_options table kept corrupting and the db had to be “fixed”. Restored from backup twice. Freaked me out. Limped along
 debugging/digging into why this could be happening. I told them that it seemed like some type of hardware issue. They hemmed and hawed. Took a week for them to realize the ram had issues. They migrated the site and all was well.

    Edit: I should add that it is also Litespeed.

    Also, check logs. Turn on the WordPress log in wp_config. Might throw errors you can watch in real time. It’s kind of how I came to the conclusion it was the hosts issue and not my work. Don’t forget to turn it off when you’ve reviewed it and see the error patterns. You’ll have quite a large log file if you are forgetful.

  4. Since there are a few others with access to the dashboard, it’s possible that someone might have messed with the WP users. I’d suggest installing an activity plugin so you can keep track of everything happening on the dashboard. It’ll help you see who’s doing what and keep things in check.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer