I have recently installed a SSL certificate on my hosting server and I switched WordPress to SSL. The website is running normally, with no mixed content errors and everything is loading as it should. I have run search and replace for all links to replace with https.

The problem is the admin panel. For example when I go to themes and try to add a new one, I get no output and I have some errors in the console (see attached picture). Also when I try to edit a page built with Elementor, over SSL, it does not load. Also when over SSL, customize panel on the page does not load.

Everything is normal if I switch over to plain HTTP. My php version is 5.6

Admin area over SSL

Update on the issue

The error is not shown anymore and I am not getting any error output on the console, nor I'm getting any errors logged, with WP_DEBUGGING enabled. The problems still persist.

In summary the errors are:

  • Add new theme page does not fully load, so does add new plugins
  • Edit using elementor does not work (elementor is not loading)
  • Customization menu does not load on the page

All the above errors are present when the website is over SSL. Any redirections, URL fixes have been taken care of.

  • is jquery loading after all your plugins? Im sure you do but make sure you have https in the admin settings. Maybe try adding define('FORCE_SSL_ADMIN', true); in wp-config. – RiddleMeThis Mar 11 at 17:10
  • @RiddleMeThis I do have FORCE_SSL_ADMIN enabled, but this is not the issue. – dim23 Mar 11 at 17:25
  • u have https in settings > general? Just ruling out the basics. Maybe it would be beneficial to say in your question how you setup your SSL. – RiddleMeThis Mar 11 at 17:29
  • @RiddleMeThis Yes it is all set. – dim23 Mar 11 at 17:31
  • 1
    I think you'll have to debug the script error at the top of the list, and work out where it's coming from - which script is it, and does the formatted version form (the '{}' button) look sensible? You can also try defining SCRIPT_DEBUG in wp-config to get WordPress to serve the original not-minified version in case that helps. – Rup Mar 11 at 18:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.