On a fresh install of a Drupal site with DART in the installation profile I get the following error:

Fatal error: Call to undefined function libraries_get_path() in /vagrant/repos/dennis_distro_7/profiles/dennis_distro/modules/contrib/dart/dart.install on line 91

This is not an issue with libraries as the module is present (2.x) and contains the function required. Are modules not loaded when hook_requirements is called?

Comments

rickvug’s picture

Status: Active » Needs review

Adding module_load_include('module', 'libraries'); at the top of dart_requirements() fixes the problem.

bleen’s picture

Status: Needs review » Fixed

Yikes! ... Commited #2 to 6.x & 7.x

Status: Fixed » Closed (fixed)

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