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.
WD php: Notice: Undefined variable: views in signup_views_default_views() (line 28 of [error]
/var/www/globalnet/dscadev/trunk/docroot/sites/all/modules/contrib/signup/views/signup.views_default.inc).
--
The $views variable that's returned is never defined, which means that function, at times, tries to return an undefined variable.
Comment | File | Size | Author |
---|---|---|---|
#3 | fix-undefined-var-1266764-3.patch | 585 bytes | 30equals |
signup_undefined-variable-default-views.patch | 610 bytes | mstef |
Comments
Comment #1
mstef CreditAttribution: mstef commentedComment #2
geert CreditAttribution: geert commentedThe same happens in D7.8 using signup DEV of 29/06 (most recent version available)
Notice: Undefined variable: views in signup_views_default_views() (line 25 of d7test/drupal/sites/all/modules/signup/views/signup.views_default.inc).
Comment #3
30equals CreditAttribution: 30equals commentedHey, i got the same error on a Drupal 7 install , and i created a proper git diff patch for the 7.x-1.x branch
Comment #4
30equals CreditAttribution: 30equals commentedswitching the version as it still appears in the D7 version as well.
Comment #5
30equals CreditAttribution: 30equals commentedmark as needs review
Comment #6
sgabe CreditAttribution: sgabe commentedThe patch in #3 applies fine and eliminates the notice.
Comment #7
sgabe CreditAttribution: sgabe commentedChanging component.
Comment #8
sgabe CreditAttribution: sgabe commentedCommitted, thanks!