In the node_subpages install file, the requirements hook calls a function from the main module (node_subpages.module) itself. The main module is not loaded at install time, yielding a function not found error. This can be solved by loading the main module file manually:

function node_subpages_requirements($phase) {
  $t = get_t();
  $requirements = array();
  module_load_include('module', 'node_subpages');
  if (!node_subpages_check_ctools_version()) {
  ...

Comments

BrockBoland’s picture

Status: Needs review » Fixed

Thanks for catching that! I was so focused on making sure that the upgrade path was OK that I overlooked this.

I just released 7.x-2.0-beta2 with this fix in place. I used drupal_load() instead of module_load_include() since it's intended for modules and themes.

Status: Fixed » Closed (fixed)

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