Customizer is not working

The WP customizer is not loading fine on my test site. The original site was infected, so I transfered to this test server, cleaned everything and replaced core and plugin data, and now everything seems to be working fine on the site except the customizer, that is not loading properly.