Title: getComputedStyle ERROR
Last modified: February 2, 2018

---

# getComputedStyle ERROR

 *  Resolved [haritiana](https://wordpress.org/support/users/haritiana/)
 * (@haritiana)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/getcomputedstyle-error/)
 * Hello,
 * We get the following Javascript error in our form, could you please help us ?
 * Mixed Content: The page at ‘[https://www.portailduconseil.fr/depot-de-projet&#8217](https://www.portailduconseil.fr/depot-de-projet&#8217);
   was loaded over HTTPS, but requested an insecure stylesheet ‘[http://weloveiconfonts.com/api/?family=fontawesome&#8217](http://weloveiconfonts.com/api/?family=fontawesome&#8217);.
   This request has been blocked; the content must be served over HTTPS.
    ajax.saverequest.
   js Failed to load resource: the server responded with a status of 404 () frontend.
   min.js:2 Uncaught TypeError: Failed to execute ‘getComputedStyle’ on ‘Window’:
   parameter 1 is not of type ‘Element’. at Object.getCurrentDeviceMode (frontend.
   min.js:2) at u (frontend.min.js:2) at HTMLDocument.init (frontend.min.js:2) at
   i (jquery.js:2) at Object.fireWith [as resolveWith] (jquery.js:2) at Function.
   ready (jquery.js:2) at HTMLDocument.K (jquery.js:2) frontend.min.js:2 Uncaught
   TypeError: Failed to execute ‘getComputedStyle’ on ‘Window’: parameter 1 is not
   of type ‘Element’. at Object.getCurrentDeviceMode (frontend.min.js:2) at u (frontend.
   min.js:2) at dispatch (jquery.js:3) at r.handle (jquery.js:3) depot-de-projet:
   1 Mixed Content: The page at ‘[https://www.portailduconseil.fr/depot-de-projet&#8217](https://www.portailduconseil.fr/depot-de-projet&#8217);
   was loaded over HTTPS, but requested an insecure stylesheet ‘[http://weloveiconfonts.com/api/?family=fontawesome&#8217](http://weloveiconfonts.com/api/?family=fontawesome&#8217);.
   This request has been blocked; the content must be served over HTTPS.
 * Thank you
    Hari
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgetcomputedstyle-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/getcomputedstyle-error/#post-9932165)
 * Hi Hari,
 * This is probably best asked on the general help forum, as this doesn’t appear
   to be connected with Events Manager:
 * [https://wordpress.org/support/forum/how-to-and-troubleshooting/](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * That said, the problem is probably that not all the items you’re loading on your
   site are using _https_ links and sources, which is causing a browser security
   error.

Viewing 1 replies (of 1 total)

The topic ‘getComputedStyle ERROR’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/getcomputedstyle-error/#post-9932165)
 * Status: resolved