sammarks / ablecore

A library for Drupal developers.
MIT License
5 stars 4 forks source link

Fatal error when installing any Able Core module. #6

Closed sammarks closed 10 years ago

sammarks commented 10 years ago

If there are some functions being called in hooks called during the installation process, Able Core doesn't have time to automatically load the helper files, so fatal errors are generated.

This causes a fatal error when enabling Able Core itself:

PHP Fatal Error: Call to undefined function ablecore_menu_hooks_theme() in 
/.../ablecore.module on line 27.

While the modules still enable successfully, this will be problematic in some configurations and is mainly an annoyance.

sammarks commented 10 years ago

It appears that this only happens when enabling an Able Core module through Drush.