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

CommentFileSizeAuthor
#9 fixed_warning-1468030-9.patch396 bytesPatchRanger
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

janes_p’s picture

I have the same issue

marktheshark’s picture

same here

Edward007’s picture

Same here.

dddave’s picture

Project: Social media » Widgets
Version: 7.x-1.0-beta9 » 7.x-1.0-beta5
Status: Active » Postponed

This 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?

predde’s picture

I saw this issue as well, but only before I had set my Social Media profiles. Once I had configured those, no more error messages.

marktheshark’s picture

I overcame it by adding a Twitter profile...

TomDude48’s picture

Project: Widgets » Social media
Status: Postponed » Needs review

I believe this is an issue in Social Media which should be fixed in the latest dev release of social media.

PatchRanger’s picture

Status: Needs review » Active

I 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)

PatchRanger’s picture

Status: Active » Needs review
FileSize
396 bytes

It seems that I have a solution.
See attached patch.

PatchRanger’s picture

Title: Warning: Illegal offset type en _widgets_error() » Warning: Illegal offset type in _widgets_error()
Version: 7.x-1.0-beta5 » 7.x-1.x-dev
Ayesh’s picture

Patch at #9 worked for me. Thanks!

rojosnow’s picture

Patch #9 worked on widgets 7.x-1.0-rc1 and socialmedia 7.x-1.0-beta13. Thanks!!

PatchRanger’s picture

Status: Needs review » Reviewed & tested by the community

@Ayesh @rojosnow You are welcome.

richardcanoe’s picture

+1 for patch at #9 Thanks!

spax’s picture

How does one apply the patch so described in #9? I'm a bit of a noob. =)

dddave’s picture

naught101’s picture

BTW, TomDude48, the change you made at http://drupalcode.org/project/widgets.git/blobdiff/99def6076c67bdb913bf4... may be unnecessary with this patch?

dianacastillo’s picture

this patch #9
solves the problem. Why isnt' it integrated into the latest module?

artworker’s picture

Patch @ #9 worked for me also, would be nice to have it integrated into the latest dev version?

TomDude48’s picture

Status: Reviewed & tested by the community » Needs review

Thanks Staratel. I have applied the patch in dev. Please verify it is working on dev.

PatchRanger’s picture

Status: Needs review » Fixed

@TomDude48 You are welcome. Dev works. Marking as fixed if nobody would mind.

theroyal’s picture

is there a way to know when this patch will be adopted ? in which normal version?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

mchecksfield’s picture

I 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

holeepassion’s picture

I have this issue also. please provide easy solution, step by step. noob here.

thanks

solomonkitumba’s picture

i have the same issue here

Warning: Illegal offset type in isset or empty in _widgets_error()

BeatnikDude’s picture

w/ 7.x-1.0-beta13 I had this issue.
But using 7.x-1.x-dev I no longer have this issue.

Anonymous’s picture

Issue summary: View changes

I 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.

dooug’s picture

@Bob Newby, you should open a separate issue for the problem you are having with 7.x-1.x-dev.

Anonymous’s picture

@dooug

No, I should not open a separate issue. It is part of this issue.