It may be that the file is corrupt. Please replace all WP core files: https://wordpress.org/support/article/updating-wordpress/#step-1-replace-wordpress-files
That you, I will try to do this. How do I deactivate all plugins when I have white screen and can not log in?
You can skip that step for now.
Ok. I had the site up for a moment. Now it is white screen and this: [php][/php]
I see
Warning: require(/home/1/l/larsnygaard/www/scooterlars/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php): failed to open stream: No such file or directory in /home/1/l/larsnygaard/www/scooterlars/wp-settings.php on line 256
Fatal error: require(): Failed opening required '/home/1/l/larsnygaard/www/scooterlars/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php' (include_path='.:/usr/share/php') in /home/1/l/larsnygaard/www/scooterlars/wp-settings.php on line 256
Are you sure you uploaded all the files?
I’ll try to do the procedure again.
If I stop the procedure after point 5 (uploading wp-content and wp-admin folders) it seems to work.
The only thing you had to do was the one step of replacing the files. 🙂 Glad it’s working now.