• Resolved leeboone

    (@leeboone)


    When I try to use the Custom HTML block, I get the message, “an unknown error has occurred”

    The two errors I see in my console indicate this is a result of the plugin trying to load files over http while the site is loaded https.

    index.js?ver=1534557604:37 Mixed Content: The page at 'https://site.url/wp-admin/post.php?post=2684&action=edit' was loaded over HTTPS, but requested an insecure script 'http://site.url/wp-admin/load-scripts.php?load=wp-codemirror,code-editor,htmlhint,csslint,jshint'. This request has been blocked; the content must be served over HTTPS.

    Mixed Content: The page at 'https://site.url/wp-admin/post.php?post=2684&action=edit' was loaded over HTTPS, but requested an insecure stylesheet 'http://site.url/wp-admin/load-styles.php?load=wp-codemirror,code-editor'. This request has been blocked; the content must be served over HTTPS.

    • This topic was modified 7 years, 9 months ago by leeboone.
Viewing 1 replies (of 1 total)
  • Thread Starter leeboone

    (@leeboone)

    I figured it out. I simply needed to set the URLs in Settings > General to HTTPS. Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Code Editor does not load in Custom HTML block’ is closed to new replies.