Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
PHP notice: "Trying to get property of non-object in webform_entity_bundle_admin_access_callback" after a cache clear upon menu rebuild.
Comment | File | Size | Author |
---|---|---|---|
#2 | webform_entity-notice_in_access_callback-2607644.patch | 683 bytes | AaronBauman |
Comments
Comment #2
AaronBaumanComment #3
Zarpele CreditAttribution: Zarpele commentedThanks
But is important say this patch is temporarily because when you make a update in the site is probably this file is modified.
Comment #4
Steff Vanhaverbeke CreditAttribution: Steff Vanhaverbeke commentedApplied this patch to webform_entity.module
version = "7.x-1.x-dev" released 2015-11-02
and it works.
Comment #5
raynimmo CreditAttribution: raynimmo as a volunteer commentedCame across this post whilst searching for a solution to this error notice that has appeared within a client site.
Applied patch from #2 to 7.x-1.x-dev, all good, doesn't seem to have any adverse affect.
RTBC+1
Comment #6
Helianthropy CreditAttribution: Helianthropy as a volunteer and commentedThe code change makes sense and resolves the error. Adding my +1 and changing status to RTBC.