I am using the widgets module (for facebook like buttons etc) on most pages of a new site. The same site also makes heavy use of Entity Registrations.

I am getting a Widgets error, with entities for which I have registrations enabled. The error appears the first time when either the Manage Registration or Registrations tabs are selected.

Notice: Trying to get property of non-object in widgets_get_context_author_uid() (line 1315 of /sites/all/modules/widgets/widgets.module).

Since both modules are in beta, but the error occurs only with entity registrations I thought I'd post here first.

Any ideas?

Comments

dpi’s picture

From widgets.module:

Line: 1315 | $uid = menu_get_object()->uid;

I don't see how this is a problem with registration. I cant exactly guess what the issue is either.

mrpauldriver’s picture

Thanks dpi , I'll post the issue over there

dpi’s picture

Project: Entity Registration » Widgets
Component: Registration Core » Code

Moving.

TomDude48’s picture

Status: Active » Closed (duplicate)

This is a duplicate of http://drupal.org/node/1414932. Should be fixed in latest release.

TomDude48’s picture

Issue summary: View changes

typo