Undefined property: stdClass::$content in sexybookmarks_entity_view()

Comments

Zarevac’s picture

I dont see a patch

Zarevac’s picture

I keep getting this error:

Notice: Undefined property: stdClass::$content in sexybookmarks_entity_view() (line 110 of /sites/all/modules/sexybookmarks/includes/field_ui.inc).

Hugh’s picture

Category: support » bug
StatusFileSize
new1.39 KB

Workaround attached. Not sure if this is a proper fix or not but it gets rid of the error messages :-).

21tech’s picture

It looks like this was ported to 7.2.0 release, but I still get the error.

21tech’s picture

Version: 7.x-2.0-beta2 » 7.x-2.0
enomertens’s picture

Having same issue after enabling Media module +Vimeo + Youtube ..... maybe intresting for those concerning....

I think Media module causes lot of bugs with other modules.

Better, I would call those modules already for couple months unstable... and embedding code.... even faster ... no fields

Greetz,

Eno

21tech’s picture

I can verify that I have media module installed. I have not had any other problems with it though. I will try to install this module without media installed next week.

Did you have any issues installing this module? You did not have media installed at the time?

Other than the undefined class warning this module is working.

I was looking at the ouput of my site today and found about 50 (looks like same number of warning messages) of this script

<!--//--><![CDATA[//><!--
jQuery.extend(SHRSB_Settings, {"sexybookmarks-default-8953":{"service":"5,7,304,43,2,3,78,74,54,191,265,52,53,236","fbLikeButton":true,"fbButtonPos":"top-left","dontShowShareCount":false,"designer_toolTips":true,"tip_bg_color":"#f8c81b","tip_text_color":"#0f053e","rel":"nofollow","target":"_blank","shrlink":true,"shortener":"google","twitter_template":"${title} - ${short_link} via @BayPreps","expand":true,"center":true,"spaced":false,"apikey":"19afe428dd0d6406b366252cf4204ec6e","src":"http:\/\/67.23.245.11\/sites\/default\/files\/sexybookmarks\/bc34a786c6cb8d515e1056008ec855f1","link":"http:\/\/67.23.245.11\/y","title":"BayPreps.com | MaxPreps Ten Most Memorable Games, Best Player in East Bay, State Coaching Wins Leaders Bay Preps Report: Thursday morning, July 26","notes":"","localize":true}});
//--><!]]>

The only difference in the scripts is the number after "sexybookmarks-default-8953

Each one has a different number there. Have no idea what to do with that. Hope that helps find the problem.

manoloka’s picture

I guess because it's an older post but ... the patch in #3 doesn't even match my file field_ui.inc code

Still getting this error plus another one

 Notice: Undefined property: stdClass::$content in sexybookmarks_entity_view() (line 110 of /usr/home/mysite/www/sites/all/modules/sexybookmarks/includes/field_ui.inc).
Notice: Undefined property: stdClass::$nid in node_uri() (line 257 of /usr/home/misite/www/modules/node/node.module).

Seems related to media and/or youtube modules as it only shows on nodes where I have embedded youtube videos and they are showing as many times as videos I have (so 1 video = 1 time, 3 videos = 3 times).

manoloka’s picture

Upgrading to the latest dev version got rid of the 2nd message

Notice: Undefined property: stdClass::$nid in node_uri() (line 257 of /usr/home/misite/www/modules/node/node.module)

However the first, the one this issue started with is still there and as many times as embedded videos on de node

manoloka’s picture

About this comment in #8

I guess because it's an older post but ... the patch in #3 doesn't even match my file field_ui.inc code

Part of the mismatch it's because I applied the patch here http://drupal.org/node/1237452#comment-7456194 but still not matching the rest of it ... so I'm pretty confused.

shareaholic’s picture

Issue summary: View changes

SexyBookmarks module is no longer being actively maintained. It was a port of Shareaholic for WordPress, and Shareaholic has since released an official Drupal module:

http://drupal.org/project/shareaholic

Please migrate to the official Shareaholic for Drupal module, which has updated buttons, styles, services, 100% mobile-ready and much more! You can learn more here: https://blog.shareaholic.com/drupal-module/

shareaholic’s picture

Version: 7.x-2.0 »
Status: Patch (to be ported) » Closed (fixed)