Images don't load after Pro update. (Failed to load resource error)

Hello,

I’ve just updated pro. The images on the main page won’t load. I’ve inspected the element(s) and here are the related errors.

my website is… (On chrome there seems to be a lot more errors). Also, tried to see if there was a plugin that conflicted, but didn’t find any. Help (ASAP) would be appreciated.

Hello @jmarsilla,

Thanks for writing in! I have checked your site in Chrome and I am seeing the images.

After doing the updates, always remember to clear all caches (if you are using WP Rocket, WP SuperCache, W3 Total Cache, Autoptimize, etc.) when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

And please clear your browser cache too. You may use private browsing mode in testing your site to make sure that you are viewing the latest codes from the updates and not the cached version in your browser.

The Failed to load errors were about the Source Maps. You can ignore this error as this does not have any impact in your site.

A Source Map provides a way of mapping code within a compressed file back to it’s original position in a source file. This means that – with the help of a bit of software – you can easily debug your applications even after your assets have been optimized. The Chrome and Firefox developer tools both ship with built-in support for source maps.

**Note: Support for source maps is enabled by default in Firefox’s developer tools. You may need to enable support manually in Chrome. To do this, launch the Chrome dev tools and open the Settings pane (cog in the bottom right corner). In the General tab make sure that Enable JS source maps and Enable CSS source maps are both ticked.**

To know more about Source maps and how does it works, please check this out:

Hi thank you for your prompt response. I don’t believe that fixed the issue, I did as you said clearing the caches on both site and browser level. It seems to me like images (including the logo in the header) cannot load on all old pages, but on 404 pages the header can load without issue. Help to get this resolved would be greatly appreciated!

Hey @jmarsilla,

It’s because of the lazy loading feature of the Smush plugin. I deactivated the feature and now your images show up.

Please thoroughly test for plugin conflict next time.

Thanks.

1 Like

Awesome, ironically that was the only plugin I didn’t check!! Thanks for your help & patience!! Much appreciated :heart_eyes:

No worries, glad to hear it’s sorted, @jmarsilla.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.