Finally the profile pages start to look good. But when I click on the profile of another user I get the following error (long list, repeated about 15 times) underneath all the errors the profile looks good and everything seems to be working.

Now if I could just get rid of all the nasty looking red error messages ...

warning: Invalid argument supplied for foreach() in /home/zoooapo0/public_html/sites/all/modules/panels/content_types/user_profile.inc on line 32.

This is what is in the file at around line 32

// Retrieve and merge all profile fields:
$fields = array();
foreach (module_list() as $module) {
if ($data = module_invoke($module, 'user', 'view', '', $account)) {
foreach ($data as $category => $items) {
foreach ($items as $key => $item) {
$item['class'] = "$module-". $item['class'];
$fields[$category][$key] = $item;
}
}
}
}

When I click on my own profile everything works perfectly. At first I thought that it had something to do with the cck content field privacy but after deinstalling that the error was still there.

Any hints what I can try next?

Paul.

Comments

michelle’s picture

Project: Advanced Profile Kit » Panels
Version: 6.x-1.0-unstable1 » 6.x-2.x-dev

This is a panels error. The core profile integration might not be working, yet, in the D6 version.

Michelle

kenorb’s picture

Status: Active » Closed (duplicate)