Fatal error in admin login, undefined function create_function
-
Hi, I’m new so please be patient with me. I noticed yesterday I can no longer log into the admin area of my site, it gives fatal error. The site itself for visitors is still up and working.
I used phpMyAdmin to disable all plugins and set a standard theme, which worked fine but didn’t change a thing about the login error. I also never received the email I was supposed to get for the error message. After the error message and just going to my publicly visible site I can even see the bar where I could access my dashboard and profile, but when I clock on anything there I get the fatal error again.
I then enabled debug and got this:
Fatal error: Uncaught Error: Call to undefined function create_function() in /mnt/web206/c2/26/53922126/htdocs/WordPress_02/wp-config.php:90 Stack trace: #0 /mnt/web206/c2/26/53922126/htdocs/WordPress_02/wp-load.php(50): require_once() #1 /mnt/web206/c2/26/53922126/htdocs/WordPress_02/wp-admin/admin.php(34): require_once(‘…’) #2 /mnt/web206/c2/26/53922126/htdocs/WordPress_02/wp-admin/index.php(10): require_once(‘…’) #3 {main} thrown in /mnt/web206/c2/26/53922126/htdocs/WordPress_02/wp-config.php on line 90
I have found out already that create_function is something that has to do with stuff that is no longer supported with newer php versions (I use 8.1 now and can only go back to 8.0 which doesn’t fix the problem. It’s possible the problem existed for longer but I had no reason to go into the backend for a while), but I have no idea what to do about it.
I’m also a total amateur so I’d need possible explications in non-programmer speech, thank you.
The page I need help with: [log in to see the link]
The topic ‘Fatal error in admin login, undefined function create_function’ is closed to new replies.