Hi,

I just installed Advanced Profile (http://drupal.org/project/advanced_profile), a glue module that makes heavy use of Views, Panels and CCK. Now, when I want to view a user profile, I get the error message:

warning: implode() [function.implode]: Bad arguments. in /var/www/drupal5/sites/all/modules/cck/content_panels.inc on line 69.

I'm not really a PHP coder, but looking at line 69 in the file mentioned above I found:

/**
* Allows users to theme the group
*/
function theme_panels_content_group($vars, $nid) {
   return implode('', $fields);
 }

This funtion seems obviously broken, as (to my understanding) the variable $fields shouldn't exist inside the function; more than that, this is the only time it is mentioned in the whole file.

What will I need to do to fix this function? Any hints are welcome...

tia,
Markus

Comments

yched’s picture

Status: Active » Fixed

Doh. My bad. This needs to be return implode('', $fields); .
Fixed in latest 5.x-1.x-dev.

hurricane_rufo’s picture

Status: Fixed » Active

Huh? But that's exactly the same as before... no wonder that the error remains.

Back to active.

yched’s picture

Status: Active » Fixed

No it's not. Maybe the download tarball hadn't been regenerated yet when you grabbed it and still contained the old code. Try again, it's OK now.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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