Question

Wordpress Theme on droplet not loading problems

Posted February 24, 2021 108 views
WordPress

As I was following the WordPress 1 click install guide and updated WordPress to 5.6.2 on my website. I’m unable to install any themes to work.

When I use the inspect tool I see that there, the following error message: “load-scripts.php?c=1&load[chunk0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.6.2:2 Mixed Content: The page at ’https://pistoncardelivery.tech/wp-admin/themes.php?page=neve-welcome&onboarding=yes#starter-sites’ was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ’http://pistoncardelivery.tech/index.php?restroute=/wp/v2/’. This request has been blocked; the content must be served over HTTPS.”

Please help resolve this problem. Thank you.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi there,

It looks like that a specific AJAX request is failing as it is trying to use HTTP rather than HTTPS.

To fix that, you need to find the reference for http://pistoncardelivery.tech/index.php?restroute=/wp/v2/’ and change it from http:// to https://.

That way you will not be getting the mixed content error.

This could be defined in either your files or your database, so I would recommend checking both.

Let me know how it goes!
Regards,
Bobby