Hi,
First of all thank you for your work with the module.
It's working ok but I get the same error in config/media/socialmedia/widgets/share
Warning: Illegal offset type en _widgets_error() (línea 1016 de /home/tal/public_html/tal/sites/all/modules/widgets/widgets.module).
Warning: Illegal offset type in isset or empty en _widgets_error() (línea 1021 de /home/tal/public_html/tal/sites/all/modules/widgets/widgets.module).
Warning: Illegal offset type en _widgets_error() (línea 1016 de /home/tal/public_html/tal/sites/all/modules/widgets/widgets.module).
Warning: Illegal offset type in isset or empty en _widgets_error() (línea 1021 de /home/tal/public_html/tal/sites/all/modules/widgets/widgets.module).
Dou you have any idea how can I override this error?
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | fixed_warning-1468030-9.patch | 396 bytes | PatchRanger |
Comments
Comment #1
janes_p commentedI have the same issue
Comment #2
marktheshark commentedsame here
Comment #3
Edward007 commentedSame here.
Comment #4
dddave commentedThis seems to be an issue with the widgets module.
I cannot for the life of me recreate this problem. Could you please try and create this issue on a vanilla install and describe exactly how to provoke this behavior?
Comment #5
predde commentedI saw this issue as well, but only before I had set my Social Media profiles. Once I had configured those, no more error messages.
Comment #6
marktheshark commentedI overcame it by adding a Twitter profile...
Comment #7
TomDude48 commentedI believe this is an issue in Social Media which should be fixed in the latest dev release of social media.
Comment #8
PatchRanger commentedI have the most recent dev releases of both Social Media and Widgets and getting these warnings too.
Social media 7.x-1.0-beta12+0-dev (2012-Aug-24)
Widgets 7.x-1.0-beta5+2-dev (2012-Aug-24)
Comment #9
PatchRanger commentedIt seems that I have a solution.
See attached patch.
Comment #10
PatchRanger commentedComment #11
ayesh commentedPatch at #9 worked for me. Thanks!
Comment #12
rojosnow commentedPatch #9 worked on widgets 7.x-1.0-rc1 and socialmedia 7.x-1.0-beta13. Thanks!!
Comment #13
PatchRanger commented@Ayesh @rojosnow You are welcome.
Comment #14
richardcanoe commented+1 for patch at #9 Thanks!
Comment #15
spax commentedHow does one apply the patch so described in #9? I'm a bit of a noob. =)
Comment #16
dddave commentedhttp://drupal.org/patch/apply
Comment #17
naught101 commentedBTW, TomDude48, the change you made at http://drupalcode.org/project/widgets.git/blobdiff/99def6076c67bdb913bf4... may be unnecessary with this patch?
Comment #18
dianacastillo commentedthis patch #9
solves the problem. Why isnt' it integrated into the latest module?
Comment #19
artworker commentedPatch @ #9 worked for me also, would be nice to have it integrated into the latest dev version?
Comment #20
TomDude48 commentedThanks Staratel. I have applied the patch in dev. Please verify it is working on dev.
Comment #21
PatchRanger commented@TomDude48 You are welcome. Dev works. Marking as fixed if nobody would mind.
Comment #22
theroyal commentedis there a way to know when this patch will be adopted ? in which normal version?
Comment #24
mchecksfield commentedI know this is closed and i don't know how to reopen it, but are you sure the patch actually worked for you? Once you apply the patch it feels like it worked because the second time refreshing the page the error is not there. If you go to Configuration --> Development --> Performance and clear cache and then refresh the page the error is back.
Anyone else see this? I have tried the dev version, i have uninstalled both social media and widgets modules, used the dev of both modules and the production version of both and the error is still there. If you uncheck the widgets module the error goes away, but you lose that functionality.
I currently do not have a fix for this.
Matt
Comment #25
holeepassion commentedI have this issue also. please provide easy solution, step by step. noob here.
thanks
Comment #26
solomonkitumba commentedi have the same issue here
Warning: Illegal offset type in isset or empty in _widgets_error()
Comment #27
beatnikdude commentedw/ 7.x-1.0-beta13 I had this issue.
But using 7.x-1.x-dev I no longer have this issue.
Comment #28
Anonymous (not verified) commentedI have only one problem with the suggested solution, a big one.
After "upgrading" to 7.x-1.0-beta13+3-dev my site's socialmedia_profile-default set stopped displaying.
Have reverted to 7.x-1.0-beta13. Now it is displaying again.
Comment #29
dooug commented@Bob Newby, you should open a separate issue for the problem you are having with 7.x-1.x-dev.
Comment #30
Anonymous (not verified) commented@dooug
No, I should not open a separate issue. It is part of this issue.