SOLVED: There is might be something strange in the SRC of the images

Bricks Version: 1.5
URL: https://telakka2.nixit.fi/

I found this strange “parse error”. It has only appeared on this particular site.

The error is related to all images on this site. I’ve a little images also on another site (https://telakka.nixit.fi/). But there Bricks doesn’t try to make “data:image/svg+xml” version of them. There is basically the same set of plugins (ACF, ACSS, WPCodebox).

Hi Jarmo,
Thanks again for your report!

Can you please remove your logo SVG from the header and check if the problem persists? Something seems to be wrong with it :thinking:

Best regards,
timmse

Hi timmse,
I removed all the SVGs and still the same errors appear in the *jpg and *png images. ;(
Best regards,
Jarmo

Hmmm… strange. Can you send us temporary credentials and a link to this thread to help@bricksbuilder.io? Please use the email address you used to buy Bricks.

Hi timmse,

I found even stranger thing. When you inspected image, code it’s fine, but when you look source code it’s that error one!?

I’ll send crediantials for you later today.

Best,
Jarmo

Hey Jarmo,
Have you sent us access data yet? I can’t find an email that I can assign to you…

Hi timmse,

yes I send it to help@bricksbuilder.io on thursday.

I just send It again and its title as same as thread.

It does not need a password or username. It’s a "one time " temporary login and it’s valid for another five days.

Best,
Jarmo

I found it where error comes! The apparently wrongly parsed “scr”-code error goes away when disable Brick’s lazy loading.

Same error appears on my WooCommerce website, but it’s appears only when the page uses default product module. I use them on homepage, shop, and product archive page. You can see this Facebook Post for more details.

Sorry @nixitdesign , but I can’t find an email from you :thinking: Please send me the temporary link as a private message - then it will arrive for sure.

@masoodalam51 Jarmo doesn’t have a products element on his site, so I don’t think the error is related to that. Does the error persist when you disable lazy loading?

Best regards,
timmse

After disabling the lazy load, It’s gone.

Hi guys,
the lazy loading was the crucial hint, so I was able to identify the problem and added it to the bug tracker: it is the image placeholder used when lazy loading is enabled :sunglasses:

Best regards,
timmse

Great that it was resolved! Will it fit in the 1.5.1 update?

Hi Jarmo,
We’ve fixed this bug in Bricks 1.5.1, which is soon available as a one-click update in your WordPress Dashboard.

Please let us know if you are still experiencing issues.

Best regards,
timmse

1 Like

@timmse The problem is still presented when the page uses the default product module and I am using 1.5.3

Hi Masood,
I cannot reproduce the issue. The w3 validator is also no longer complaining a bad value for the SVG. Do you have a live link or a specific error message?

Check this link

Ok, and where does the above validator error show up?
https://validator.w3.org/nu/?doc=https%3A%2F%2Fzeroland.in%2F

I am checking it with Firefox or check this GtMetrix Report waterfall where you’ll find two 404 links. It’s clearly shown with pictures in facebook post which I already reported earlier in this thread.

Correct - this is gtmetrix specific. When the page is called, gtmetrix tries to load the images (which are unavailable since they are SVG placeholders and not images). They are instantly replaced with the image URL in real life…