Problem with contact form- resolved

Check if your server is running PHP 8.0, if so change it to 7.4.

Sounds like a similar issue I had recently: .htaccess tweaks for security and performance - #12 by Brocky120