The admin user for my Moodle site has lost his admin privilages. I did not make any configuration changes for a few weeks now, and this loss of privilages happened yesterday. I am the only one who has access to the site.
I've set "$CFG->admin = 'admin';" in config.php and had it like this since installing the site. I've also checked the 'mdl_role_assignments' table and can confirm that the admin user is in there with the Administrator role and system context. (This user also has another entry, but I don't think that should affect the login)
I've tried deleting the other entry from the 'mdl_role_assignments' table, but I still get the same error when I try to access the '/admin/' page.
Is this a bug?