When registry rebuild is run from from outside of a Drupal environment it prints "PHP Fatal error: Call to undefined function module_list()", this is misleading and would be clearer if it would first check that a Drupal site could be found and display an appropriate message if not.

Comments

MustangGB created an issue. See original summary.

omega8cc’s picture

Good idea, thanks!

omega8cc’s picture

Assigned: Unassigned » omega8cc
Status: Active » Needs work

This needs some work.

  • omega8cc committed 5299e4d on 7.x-2.x
    Issue #2602642 by MustangGB - Check for Drupal environment to avoid...
omega8cc’s picture

Assigned: omega8cc » Unassigned
Status: Needs work » Fixed

Fixed!

Status: Fixed » Closed (fixed)

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