The panels module is installed and working properly and when enabling the friendslist module I am getting an error on the user profile panels page.
warning: Invalid argument supplied for foreach() in /var/www/vhosts/domain.com/httpdocs/cms/sites/all/modules/panels/content_types/user_profile.inc on line 32.
Comments
Comment #1
irakli commentedPlease indicate the exact version of Panels you are using, as well as - which Friendlist modules you have enabled?
If you could, also, disable FriendList modules one by one and see if the error goes away with any of them, in particular - that would be a tremendous help.
Thank you
Comment #2
portait commentedIt is panel version 6.x-2.0-alpha3 and Friendlist 6.x-1.x-dev. As soon as I turn on Friendlist UI the user gets that error message on his own profile.
Comment #3
irakli commentedThanks for the clarification. It helps a lot. Will look into it and get back to you.
Comment #4
Witch commentedexactly the same error here!
subscribe
Comment #5
irakli commentedSorry if it's a stupid question, but what exactly do you mean by "user profile panels page"?
Did you create a custom panel page that you are using as a user profile (can you describe what exactly you did if so)?
Or did you use the Advanced Profile Kit (http://drupal.org/project/advanced_profile) module?
Comment #6
portait commentedI am using Panels 6.x-2.0-alpha3 and Advanced Profile Kit 6.x-1.0-alpha1. I replaced the default user profile page using panels (user/%) and the Advanced Profile Kit.
Comment #7
irakli commentedOk, that's what I thought, but to be on the safe side - it would be great if you can describe the exact sequence of steps you took to set up your panels-driven user profiles, so that i can replicate it and make sure i am debugging with the exact same setup.
thank you!
Comment #8
Witch commented6.x-2.0-alpha3
Advanced Profile Kit 6.x-1.0-alpha1
6.x-1.x-dev
I installed the panels module -> apk -> authorpane
After that i tried to use the friendlist module.
furthermore i am using the latest cck and views (dev) versions.
I hope it helps a bit. Ask me, if the details are not enough.
Comment #9
portait commentedInstalled Guestbook module version 6.x-2.x-dev
Installed Panels Version 6.x-2.0-alpha3
Installed Advanced Profile Version Kit 6.x-1.0-alpha1
Installed Views Version 6.x-2.2
Installed CCK Version 6.x-2.1
Installed Token Version 6.x-1.x-dev
Installed Rules Version 6.x-1.x-dev
Created a panel page with a flexibel layout.
The URL is set to: user/%
The CSS-ID is set to: user-profile
The content has the following settings: http://i44.tinypic.com/2llkp08.png
Remember that the users get this error message only when viewing their own profile.
Comment #10
pixelpreview@gmail.com commentedsame problem and warnings with panels and friendlist ui
Comment #11
irakli commentedSorry guys, things a little crazy with the DrupalCon.
I will be looking into this right after DCDC.
Comment #12
mercmobily commentedHi,
I am looking into this right now.
The new beta version of panels doesn't even have panels/content_types/user_profile.inc ...
Since this report is specific to a file that no longer exists, I am going to assume that it's fixed in the latest version of Panels.
BUT! Please open a new bug if there are still problems with the latest beta version of Panels and I will look into it.
Bye,
Merc.
Comment #13
mercmobily commentedHi,
I spent another hour on this, and no, I couldn't reproduce this problem with the latest version of Panel. So, I assume this is fixed.
However, I installed Ctools, panel, content profile just to test this, and... well, maybe I missed sometiing.
So, please reopen with an exact list of steps to reproduce it (install module, create profile, etc.) for me to reproduce it and fix the issue.
But, I am fairly certain it's good now.
Merc.
Comment #14
mercmobily commented