Title: Javascript Not Loading: Mixed Content Error when Admin is Forced SSL
Last modified: December 23, 2016

---

# Javascript Not Loading: Mixed Content Error when Admin is Forced SSL

 *  Resolved [alxbclrk](https://wordpress.org/support/users/alxbclrk/)
 * (@alxbclrk)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-loading-mixed-content-error-when-admin-is-forced-ssl/)
 * Hello,
 * Thanks for making such a useful plugin. It’s really come in handy for our site.
 * Like a few others here, I am having issues with the new version of your plugin(
   the date picker doesn’t work, settings don’t load, etc). I’m wondering if it 
   has to do with the mixed content error I’m getting from Google Chrome.
 * My live site forces SSL on the admin screens. So when I try to make a new event
   or click on the settings page I get a shield icon in the URL bar alerting me 
   that “this page is trying to load scripts from unauthorized sources.”
 * In the google console, I see this error message:
 * `Mixed Content: The page at 'https://www.###/wp-admin/options-general.php' was
   loaded over HTTPS, but requested an insecure script 'http://www.###/?ai1ec_render_js
   =common_backend&is_backend=true&ver=2.5.14'. This request has been blocked; the
   content must be served over HTTPS.`
 * And I get this on all admin pages, not just the ai1ec pages.
 * In addition to the live site, I have a fully reproduced dev site. The calendar
   is working normally on the dev site. And the only difference between the two 
   sites is that my live site forces SSL on the admin screen and my dev site does
   not.
 * So with that I think I figured out the cause… but I’m not sure how to fix it 
   yet. I’m not ready to move my entire live site to SSL, but I need to add some
   important calendar events soon– like real soon.
 * I could turn off SSL for a brief period of time, but I don’t want to do that 
   every time I need to add an event.
 * Thanks for your help.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Jake Adley](https://wordpress.org/support/users/sslsecurity/)
 * (@sslsecurity)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-loading-mixed-content-error-when-admin-is-forced-ssl/#post-8592535)
 * **“Mixed Content Error”** means your code contains both the mixture of HTTPS 
   and HTTP content.
 * Review your content code, if there is HTTP in it, update it with HTTPS.
 * If you force SSL Certificate on your script, it will only accept HTTPS content.
   HTTP content will give your the Mixed Content Error.
 *  Thread Starter [alxbclrk](https://wordpress.org/support/users/alxbclrk/)
 * (@alxbclrk)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-loading-mixed-content-error-when-admin-is-forced-ssl/#post-8598007)
 * Yes thank you. My issue is that the mixed content is coming from the plugin. 
   I don’t want to root around through the plugin’s code without knowing what I’m
   looking for.
 *  [Jake Adley](https://wordpress.org/support/users/sslsecurity/)
 * (@sslsecurity)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-loading-mixed-content-error-when-admin-is-forced-ssl/#post-8599155)
 * So, the other solution is, Remove that plugin from your website and install the
   plugin which is offering HTTPS.
 * If you still want to continue with the same plugin, then contact a Programming
   Geek, who is aware of troubleshooting this kinds of issues.
 *  Thread Starter [alxbclrk](https://wordpress.org/support/users/alxbclrk/)
 * (@alxbclrk)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-loading-mixed-content-error-when-admin-is-forced-ssl/#post-8601108)
 * We’ve been using the plugin for over a year in the exact same setup with no issue.
   This issue arose after the latest update. Judging the amount of support tickets
   referring to the datepicker and settings page not loading, and the file trying
   to load via http is a javascript file, I’m guessing there is an issue with their
   latest update.
 * I am contacting a programming expert, the developer of the plugin.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Javascript Not Loading: Mixed Content Error when Admin is Forced SSL’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/all-in-one-event-calendar.svg)
 * [Timely All-in-One Events Calendar](https://wordpress.org/plugins/all-in-one-event-calendar/)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-event-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-event-calendar/reviews/)

## Tags

 * [HTTP](https://wordpress.org/support/topic-tag/http/)
 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [java-script](https://wordpress.org/support/topic-tag/java-script/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)
 * [ssl error](https://wordpress.org/support/topic-tag/ssl-error/)

 * 4 replies
 * 2 participants
 * Last reply from: [alxbclrk](https://wordpress.org/support/users/alxbclrk/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/javascript-not-loading-mixed-content-error-when-admin-is-forced-ssl/#post-8601108)
 * Status: resolved