Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
5.x-1.x-dev
Component:
content.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Mar 2008 at 21:50 UTC
Updated:
5 Apr 2008 at 14:52 UTC
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
Comment #1
yched commentedDoh. My bad. This needs to be
return implode('', $fields);.Fixed in latest 5.x-1.x-dev.
Comment #2
hurricane_rufo commentedHuh? But that's exactly the same as before... no wonder that the error remains.
Back to active.
Comment #3
yched commentedNo 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.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.