paky50 It's better if you update in a dev site or local site first because it's not just template, it relates to other extensions also. They must all be compatible with Joomla 4 first.
For the current error, you can check with your server to check the error log and see which extension caused this error.