The Error : HTTP Loopback Connections are not enabled on this server. When PHP tries to connect back to the site at the URL https://mydomain.com/wp-admin/admin-ajax.php , it gets the error Response code: 500. There may be a problem with the server configuration (eg local DNS problems, mod_security, etc) preventing connections from working properly.
This is not a problem with my hosting povider, because this error only shows up when I installed aaPanel.