Jump to content

[SOLVED] Image Undefined


powerdada2

Recommended Posts

Two things to try:

 - move the cursor over the word "undefined: 1". It will display some link

 - look at the source code of the page (left click with the mouse in the browser and select source code). Search with what you found in the previous step for the exact location of the "undefined" resource.

 

Link to comment
Share on other sites

Hi,

I have no idea if this could help, but I also had a problem with category images and after I "rebuild" the images it works.

So you can try:

  • log in into backend
  • optimization -> design -> images
    • on the bottom you have a button with something like rebuild thumbnails (i use it in german so i dont know the exactly naming in EN sry)

 

This solved a few image problems and also some image not found issues for me.

 

Link to comment
Share on other sites

Not sure for image, did not get error every time, but think it is some image that is loaded through JavaScript. But got this error few times

bottom-5b91eb1159.js:2417 Uncaught TypeError: $(...).lazy is not a function

and block with bundle products do not load. On refresh it is fine though.

If you want try to disable Smarty cache for CSS and JS, clear cache and debug bit more.

So maybe some preloaded image for lazyload or main product image zoom area.

Link to comment
Share on other sites

I do get error also but just in new incognito window and when first time checking the product. 

Think it might be connected to zoom feature as then zoom is not active, but that is just a guessing.

@powerdada2   could you disable Smarty cache for JS  and clear PrestaShop cache?

Link to comment
Share on other sites

  • razaro changed the title to [SOLVED] Image Undefined

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...