Failed to load resource: net::ERR_UNKNOWN_URL_SCHEME

Created on 29 February 2024, 4 months ago
Updated 7 April 2024, 2 months ago

Problem/Motivation

When loading a page with images, the console displays the following message : Failed to load resource: net::ERR_UNKNOWN_URL_SCHEME

On the PageSpeed page, in the Best Practices section, it is shown as an error to be solved.

This error is caused by changes in the issue https://www.drupal.org/project/blazy/issues/3364903 📌 W3C validation - Bad value for attribute srcset on element source Fixed -> https://git.drupalcode.org/project/blazy/-/commit/abbce8ba8472ba59f9e0cd...

To solve this we will replace the following line $source->setAttribute('srcset', Placeholder::BLANK); by $source->setAttribute('srcset', $placeholder ?? Placeholder::BLANK);

💬 Support request
Status

Needs work

Version

3.0

Component

Code

Created by

🇪🇸Spain Bryan Toapanta

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024