Forminator stylesheets loading as HTTP on front end
-
We are finding that this site, which uses Gutenberg, loads the form correctly in the Gutenberg editor, but loads the form without the stylesheet from the front end.
When we try to load the page from the front end we get the following console error…
Mixed Content: The page at 'https://oursite.org/contact/' was loaded over HTTPS, but requested an insecure stylesheet 'https://oursite.org/wp-content/uploads/forminator/165_9649800879847eb74f4d5d5407c34388/css/style-165.css?ver=1701104200'. This request has been blocked; the content must be served over HTTPS.
The WordPress site is configure with proper “https” URL’s in the general settings. And, to repeat, the form loads fine on the back end in Gutenberg, stylesheet and all. So this feels like a problem with how Forminator is enqueueing the stylesheet on the front end.
UPDATE
We discovered that even though the general settings were showing our site as “https” and the site was appearing in browsers as “https”, the database disagreed. Somehow in the WP database the options related to the site URL were both set as “http”. We have no idea how these could be “http” in the database and show as “https” in the GUI settings of WordPress. However, once we edited the database so that it also had “https” values for these options, then Forminator behaved as expected.
So this was not a Forminator issue at all, but somehow one of the database and GUI disagreeing about the URL of the site! If anyone has an explanation of how that might have arisen, we’d love to hear it. Thanks.
- The topic ‘Forminator stylesheets loading as HTTP on front end’ is closed to new replies.