I have just been editing my site on WordPress and added some values in the theme functions part. I logged out and when I tried to login in again none of the login pages load up and I just get the error message…
Fatal error: Call to a member function remove_cap() on a non-object in /home/fhlinux008/c/carparkcricket.com/user/htdocs/wp-content/themes/elegant-grunge/functions.php on line 4
…which is what I added to try and add roles for certain users.
I’ve no idea what to do…I can only change the site through the WordPress site as I dont have any other editing programs.
Can anyone suggest anything I can do? I can’t login to remove the text I added.
Many thanks in advance…
- The topic ‘Can't get login page – Call to a member function remove_cap() on a non-object’ is closed to new replies.