imageflow is working on my view, but throwning this error many times:

Undefined index: und in theme_views_view_imageflow() (line 59 of sites/all/modules/imageflow/theme/theme.inc).

Clean install with d7 and views3

Comments

tarausa’s picture

I have the same error, did you fix?

hwasem’s picture

I am trying out imageflow to see if it will work for my site. I, too, am receiving the error, along with the following:

Undefined index: uri in theme_imageflow_image_formatter() (line 73 of /root/sites/all/modules/imageflow/theme/theme.inc).

Undefined index: alt in theme_imageflow_image_formatter() (line 74 of /root/sites/all/modules/imageflow/theme/theme.inc).

Undefined index: title in theme_imageflow_image_formatter() (line 87 of /root/sites/all/modules/imageflow/theme/theme.inc).

I'm a bit unclear on configuration and setting up my view with Imageflow, so it is likely a configuration problem. I just don't know where to look. Did you find a solution?

rinasek’s picture

StatusFileSize
new12.75 KB

I have same problem here. Thing is that i use image flow on two different pages.

On landing page everything works fine: images are show, captions are show etc. For that landing page content type has only image and link.

On other page i need imageflow again but it needs to show images from other content type (with more fields). Everything is set same as first view (showing only image since there should be no link) but images are not show as you can see in attachment.

Also i am getting these errors:

Notice: Undefined index: en in theme_views_view_imageflow() (line 57 of /var/www/reri/pv/sites/all/modules/imageflow/theme/theme.inc).
Notice: Undefined index: en in theme_views_view_imageflow() (line 57 of /var/www/reri/pv/sites/all/modules/imageflow/theme/theme.inc).
Notice: Undefined index: uri in theme_imageflow_image_formatter() (line 73 of /var/www/reri/pv/sites/all/modules/imageflow/theme/theme.inc).
Notice: Undefined index: alt in theme_imageflow_image_formatter() (line 74 of /var/www/reri/pv/sites/all/modules/imageflow/theme/theme.inc).
Notice: Undefined index: title in theme_imageflow_image_formatter() (line 87 of /var/www/reri/pv/sites/all/modules/imageflow/theme/theme.inc).
Notice: Undefined index: uri in theme_imageflow_image_formatter() (line 73 of /var/www/reri/pv/sites/all/modules/imageflow/theme/theme.inc).
Notice: Undefined index: alt in theme_imageflow_image_formatter() (line 74 of /var/www/reri/pv/sites/all/modules/imageflow/theme/theme.inc).
Notice: Undefined index: title in theme_imageflow_image_formatter() (line 87 of /var/www/reri/pv/sites/all/modules/imageflow/theme/theme.inc

Also i tried to create new Imageflow preset but got same result.
My guess is that this has to do something with reflection image generation but not sure what.....

Thanks in advance!

bbujisic’s picture

Status: Active » Needs review
StatusFileSize
new1.93 KB

Seemed like error happened when node's language was different than field's language.

For example, node language was en, but field_image's language is und. So theme_views_view_imageflow() was looking for ['field_image']['en'], which in fact, did not exist.

The patch simply skips entire language stuff, and uses current() function to access the image data.

Please review.

hwasem’s picture

I found that my images were using the same language, but I had a bad configuration in my Views fields.

I think I had my Fields out of order and was using a content field in the image link that had not been defined before it, but after. Once I changed the order and made sure the image link and title were already defined (and excluded from display in my case), it worked fine.

tuwebo’s picture

Hi,
Patch from #4 is working fine for me so far.

Thanks Branislav.

jamesbenison’s picture

Status: Needs review » Fixed

Patch has been applied in latest dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.