Problem with wordpress after switching from PHP 7.4 to PHP 8.0, 8.1, 8.2 or 8.3
-
When I try to change the php version from 7.4 to 8.0, 8.1, 8.2 or 8.3 I get the following error
Fatal error: Uncaught Error: Call to undefined function create_function() in /home/server754199/ftp/neurodydaktyka/wp-includes/init.php:265 Stack trace: #0 /home/server754199/ftp/neurodydaktyka/wp-includes/init.php(33): MimeTypeDefinitionService->prepareDir(‘/home/server754…’) #1 /home/server754199/ftp/neurodydaktyka/wp-includes/init.php(336): MimeTypeDefinitionService->init() #2 /home/server754199/ftp/neurodydaktyka/wp-config.php(105): include_once(‘/home/server754…’) #3 /home/server754199/ftp/neurodydaktyka/wp-load.php(50): require_once(‘/home/server754…’) #4 /home/server754199/ftp/neurodydaktyka/wp-blog-header.php(13): require_once(‘/home/server754…’) #5 /home/server754199/ftp/neurodydaktyka/index.php(17): require(‘/home/server754…’) #6 {main} thrown in /home/server754199/ftp/neurodydaktyka/wp-includes/init.php on line 265The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.