Navigation überspringen

[Gelöst] The is a error icon on Elementor Templates with custom Post Type only

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem: I'm seeing a mixed content error message in the browser console on posts that use an Elementor Template.

Solution: Update to the latest Elementor plugin.

This support ticket is created vor 6 Jahren, 2 Monaten. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Dieses Thema enthält 6 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von jorg-andreasK vor 6 Jahren, 2 Monaten.

Assistiert von: Christian Cox.

Author
Artikel
#1131970
https error icon .png

Hi there from Germany,

On a live Website with https there is no issue, no problem with https in all kinds of browsers except on pages with a custom Post Type.

On templates I created with Elementor for custom Post Types only. In my case I do have a custom Post Type "Landingpages with some fields...:-).

Even when I start creating a template, nearly empty,.... the error icon comes into the scene. Here is an example for the mostly empty template:
versteckter Link

Live Landingpages which are in use do have the same problem like:
versteckter Link

Is there anything wrong in my configuration of toolset?

all the best

Jörg

#1132147
Screen Shot 2018-10-22 at 1.05.12 PM.png

If you look in the browser console, you can see the source of this error:

Mixed Content: The page at '<em><u>versteckter Link</u></em>' was loaded over HTTPS, but requested an insecure font '<em><u>versteckter Link</u></em>'. This request has been blocked; the content must be served over HTTPS.

I don't think this is a Toolset-specific problem, because Toolset doesn't load custom fonts like this. Somewhere your site is trying to load a custom font file from a different domain, and that domain is not HTTPS. Mixed content errors are thrown because you're trying to load insecure content on a secure site. I'm not sure exactly where this is happening, but my first suggestion is to switch to a default theme like Twenty Seventeen. If that solves the problem, then you can assume that the path to that font file is hard-coded somewhere in your theme, or written into the theme options.

#1132622

Hi Christian,...

Thx for your reply.

Maybe you saw, that this problem only comes up with the elementor template in combination with a custom post type. All the other psages, fonts all graphics, etc. All is working fine. On the whole website.

Due to the new GPDR in Europe we need to use Google Fonts embedded in the page, to avoid google taking to much information out of the website users. It seems to be a "must".

I am using an standard Child of the GeneratePress Theme which is well known for a good cooperation with elementor or Toolset and I never had a Problem like this before.

I also checked the database,... the path "versteckter Link" does not exist in the database... !!!

Previosly I deinstalled all fonts an uploaded them again,... worked for the whole site... but not for the custom post type Elementor Template

I am still speechless and do not have any idea to fix it.

Can it be a problem while using templates from Elementor with toolset custom post type?

Jörg

#1132623

Actually we are talking of a page, which is a new version: versteckter Link

#1132814

I also checked the database,... the path "versteckter Link" does not exist in the database... !!!
The error path is actually "versteckter Link", can you check for this path?

Also, that isn't the only URL problem. Check the page source on the lorem-2 page, and you'll see this link:

<a href="<em><u>versteckter Link</u></em>" data-elementor-open-lightbox="">
							<img width="100" height="100" src="<em><u>versteckter Link</u></em>" class="attachment-large size-large" alt="Wohnungsauflösung">								</a>

Not sure what's going on with this link URL. Is it possible both of these problems are symptoms of a migration script or find-and-replace error?

#1132846

Hi Chris,...

yes you are right, I did a migration earlier with find and replace in the past. But these pages did not exist at that time.

I fixed the code you mentioned. But it is of course does net effect the core problem ,.. from what I can see.

So, these wrong pathes are not in the database, not in the page source of the page. Where else can it be hidden?

Jörg

#1132918

They are either in the database or in the theme files. I'll be glad to take a look if you provide login credentials in the private reply fields. I will log in and create a clone of your site using the Duplicator plugin. Then I can do a thorough analysis.