PHP notice: "Trying to get property of non-object in webform_entity_bundle_admin_access_callback" after a cache clear upon menu rebuild.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aaronbauman created an issue. See original summary.

AaronBauman’s picture

Status: Active » Needs review
FileSize
683 bytes
Zarpele’s picture

Thanks

But is important say this patch is temporarily because when you make a update in the site is probably this file is modified.

Steff Vanhaverbeke’s picture

Applied this patch to webform_entity.module
version = "7.x-1.x-dev" released 2015-11-02
and it works.

raynimmo’s picture

Came across this post whilst searching for a solution to this error notice that has appeared within a client site.

Notice: Trying to get property of non-object in webform_entity_bundle_admin_access_callback() (line 491 of ... webform_entity/webform_entity.module).

Applied patch from #2 to 7.x-1.x-dev, all good, doesn't seem to have any adverse affect.

RTBC+1

Helianthropy’s picture

Status: Needs review » Reviewed & tested by the community

The code change makes sense and resolves the error. Adding my +1 and changing status to RTBC.