Not at all but on some User profiles the following error occurs
"warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /usr/www/users/tpkskh/modules/imagecache_profiles/imagecache_profiles.module on line 41."
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 586546_icp.patch | 837 bytes | andypost |
| #6 | imagecache_profiles.module | 7.1 KB | andypost |
| #2 | imagecache_profiles.zip | 11.2 KB | Witch |
Comments
Comment #1
andypostCan you provide more information about conditions where you get this error?
Comment #2
Witch commentedOnly on Userprofile pages. I override userprofiles with panels 2. Using an older dev version (September, 4th) of imagecache profiles with the same functions works fine.
The attached Version is the named one which i downloaded in september. This dev version contains most of the new improvements. maybe you find some differences.
Comment #3
andypostThe main change between this versions
So avatars are processed if URL is like /user/{number} or /user/{number}/edit
What is your URLs that have trouble?
Another change in displaying avatars on comments preview, this is more strong check for comment render but suppose this is not your case.
Comment #4
andypostSorry, line 41 is a change for comments:
$account should be an object but error your provide said that is not object, which is strange
What is your php version?
Comment #5
Witch commentedAh okay! Comments. I override userprofiles with panels. i think comments may occur the error because i am using content_profile and comments are displayed on profiles.
My PHP Version 5.2.11
http://www.blacksins.de
here is a Profile
http://www.blacksins.de/darkdream/75
At the moment i switched back to the attached dev version.
Comment #6
andypost@Buffer2k I have no ability to debug your case but I think this bug is related to some other module which pass USER not as object but array.
Please try this patch or this module (remove .txt extension)
Comment #7
toth_O commentedHi all,
I have this error too,same things,panel whith comments on profile.
Comment #8
andypost@toth_O please, try #6
Comment #9
toth_O commentedWorks for me.
I have changed the status to "fixed"
Don't know if it's good first time i do that.
Oh thanks you andypost.
Comment #10
andypost@toth_O are you tryed patch from #6 to make it work? If patch works for you you should set status to RTBC
Comment #11
andypostCommited