Whenever I enable the Gallery Image Block (comes with gallery.module), I get this line:

warning: implode(): Bad arguments. in /lalala/modules/gallery/gallery.module on line 142.

What is that? I'm not a programmer. :\

Gallery is working fine.

Comments

talltim’s picture

I get it as well. No idea why.

muergano’s picture

The error I get shows up with the same message. The only difference is that my line is 139. I am using drupal 4.5.2. And Gallery2.

In case this info is relevant, the error only appears once I enable the random block in Gallery2. Even with the error, everything works fine, it's just that the message on the top is annoying. I am using the "pushbutton" theme.

There is another weird issue... If a link takes me back to: http://www.mydomain.com the random block works (still shows up the error message tough)... but if the links puts me back in http://www.mydomain.com/?q= the random block doesn't display the thumbnail and the error message still shows up.

Any help will be appreciated.

walkah’s picture

addylo’s picture

Still getting this error.

warning: implode() [function.implode]: Bad arguments. in /export/var/www/nealaddy/htdocs/modules/gallery.module on line 190.

This is a fresh, new install of drupal, G2, etc. Versions in use are as follows:

drupal-4.6.3
gallery-2.0.1
gallery-4.6.0 (gallery.module)
g2-module-imageblock-0.9.7
php-5.0.5-r4
mysql-5.0.15
apache-2.0.55
Gentoo Linux

I've followed all the instructions (I could find) for Drupal and Gallery. Both are working great. G2 works in both the random image and integrated page modules.

So, if this was fixed in April why is it still here?

Montrealer’s picture

When I configure the Gallery Block not to display Title I get the implode error on line 190. When Title is re-enabled it goes away.

Any questions or suggestions?

agilpwc’s picture

Add an option 'none' in the function gallery_block and select it.
It goes after fullsize in the array declaration. Line 175 in gallery.module,v 1.4.2.4 2005/12/02 20:39:56