Hi, this module is great. Im just having some trouble finishing the configuration.
I get these errors when opening Galleries main page:

Notice: Undefined offset: 1 i _node_gallery_api_gallery_view() (linje 1119 av/node_gallery/node_gallery_api.module).
Notice: Undefined offset: 1 i _node_gallery_api_gallery_view() (linje 1119 av /modules/node_gallery/node_gallery_api.module).

What do I need to do to fix this? Se attatchment as well.

gallery_error.jpg49.54 KBRob3rtkvi



A bit of a late reaction, but I still think some users may have profit of this solution I found.

I had the same error, and the error went away when I set the following:

Admin > Settings > Node Gallery > [Choose a node gallery relation ship] > settings > gallery view modes > search index

To the view: Image Sort. (initially, this was set to None).

I hope this helped some of the readers!

ps. I am using the 7.x-1.0-beta3 version, but the function _node_gallery_api_gallery_view() is the same in that version.

Thank you so much for the info!

I changed my settings as you said and still received the error. Then I checked and there were other view modes where "none" was selected. I made sure all had something chosen. I am not getting the error any more.

I did go back and choose "none" again to test, but the error did not come back. Not complaining... just thought I'd point that out.

Thanks again.