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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mstef’s picture

Status: Active » Needs review
geert’s picture

The 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).

30equals’s picture

Hey, 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

30equals’s picture

Version: 6.x-1.0 » 7.x-1.x-dev

switching the version as it still appears in the D7 version as well.

30equals’s picture

mark as needs review

sgabe’s picture

Status: Needs review » Reviewed & tested by the community

The patch in #3 applies fine and eliminates the notice.

sgabe’s picture

Component: Code » Views integration

Changing component.

sgabe’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.