Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
hi,
I get the following error when i try to activate the mapping kit module: Fatal error: Call to a member function debug() on a non-object in /drupal/modules/mappingkit/mappingkit.module on line 154
I'm using drupal 6.4.
Comments
Comment #1
jpulles CreditAttribution: jpulles commentedThe error is because a global variable $logger is not valid at that time, why I don't know. Which PHP version are you using?
Comment #2
Clown69 CreditAttribution: Clown69 commentedphp 5.2.0
if i remove the comment in front of require_once("logger.inc.php"); in mappingkit.module it seems to work. but all the modules beside of mapping kit general are missing.
Comment #3
jpulles CreditAttribution: jpulles commentedThe comment was there because the require_once was replaced by module_load_include on the following line. Apparently module_load_include (http://api.drupal.org/api/function/module_load_include/6) can't find the file to be included. I don't have much of clue what the problem can be: are the other modules working ok, are the default install folders used (sites/all/modules), are you using php hosting with limited access?
Comment #4
jpulles CreditAttribution: jpulles commented