Background of the issue:
I have this error when logging in the dashboard of this website: WPML could not load configuration files, which your site needs. Here's what the error log says: code: http_request_failed message: cURL error 7: Failed to connect to cdn.wpml.org port 80 after 4087 ms: Couldn't connect to server
Symptoms:
WPML could not load configuration files, which your site needs.