Question

Wordpress Theme on droplet not loading problems

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[chunk_0]=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?rest_route=/wp/v2/’. This request has been blocked; the content must be served over HTTPS.”

Please help resolve this problem. Thank you.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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