Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Mateus Getulio 3 years, 5 months ago.

Assisted by: Mateus Getulio.

Author Posts
June 15, 2021 at 12:29 pm #8998981

sylvainG-5

I am trying to:
I got these 2 warming messages on Google devtools Console for page hidden link

DevTools failed to load source map: Could not load content for hidden link: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for hidden link: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

How can I fix that?
thanks
Ananta

Link to a page where the issue can be seen:

I expected to see:

Instead, I got:

Screenshot 2021-06-15 at 20.26.50.png
June 15, 2021 at 8:47 pm #9002655

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

Thank you for contacting the WPML support forum!

A source map file is not useful on the website, but it is useful for website developers when using DevTools as you found.

This file is only requested when you open the dev tool so there will be no 404 errors and loading time for visitors and bots. You can read more about it here hidden link

Moreover, please check this answer for getting more information: https://stackoverflow.com/questions/23848364/performance-impact-of-using-css-javascript-source-maps-in-production/30777461#30777461

In summary, you can safely ignore this warning and we have reported this to our developers, so this will be fixed in the future versions of WPML.

Kind regards,
Mateus.