Which error is displayed exactly? If no concrete error message is visible, it should be found in the error log. Or you can activate debugging in WordPress: https://wordpress.org/support/article/debugging-in-wordpress/
I would recommend to set PHP 7.4 or 8.0. With 8.1 WordPress itself still has minor problems. I suspect the cause of your problems are plugins you use or the theme. Also make sure that they are up to date. On the above way in the error log or debugging you should be able to see what the actual cause of the error message.
Thread Starter
popajp
(@popajp)
Error is this:
Fatal error: Uncaught Error: Call to undefined function create_function() in /home/rtcaribr/public_html/wp-content/plugins/date-and-time-widget/date-time.php:372 Stack trace: #0 /home/rtcaribr/public_html/wp-settings.php(447): include_once() #1 /home/rtcaribr/public_html/wp-config.php(67): require_once('/home/rtcaribr/...') #2 /home/rtcaribr/public_html/wp-load.php(50): require_once('/home/rtcaribr/...') #3 /home/rtcaribr/public_html/wp-blog-header.php(13): require_once('/home/rtcaribr/...') #4 /home/rtcaribr/public_html/index.php(17): require('/home/rtcaribr/...') #5 {main} thrown in /home/rtcaribr/public_html/wp-content/plugins/date-and-time-widget/date-time.php on line 372
hi! Deactivate the plugin date-and-time-widget. It’s not compatible with php8 yet. It’s using the function create_function. That function is removed in php8.
https://www.php.net/manual/en/function.create-function.php
Thread Starter
popajp
(@popajp)
I deactivated this plug-in in my site, but it still doesn’t work.
hi! What is the error now when you deactivate the plugin?