hook_requirements() is not returning the $requirements array that it is supposed to. This causes a fatal error during installation.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mstef’s picture

Title: hook_requirements() not returning anything » [Fatal error] hook_requirements() not returning anything
Status: Active » Needs review
FileSize
539 bytes

Patch

hefox’s picture

Priority: Normal » Critical

oops ;_;

This is good for 6.x (does 6.x have the same bug with fataling?); 7.x doesn't actually need the hook_requirments as 5.2 is min for 7 https://drupal.org/requirements

tekante’s picture

Status: Needs review » Fixed

Fixed via removal of hook_requirements from 7.x as the built in php version requirements check for Drupal 7 is sufficient. Added return to 6.x branch. Thanks for the report and patch.

Status: Fixed » Closed (fixed)

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