Closed (fixed)
Project:
Token
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 May 2008 at 17:12 UTC
Updated:
14 Jul 2008 at 16:12 UTC
If you add 'token' to the list of modules to be enabled in hook_profile_modules(), you get the following on install:
notice: Undefined property: stdClass::$menu in /Applications/MAMP/htdocs/6x2/sites/all/modules/token/token_node.inc on line 55.
Comments
Comment #1
mikeryanSome other module must be calling node_token_values('node') at install time - is your profile creating nodes (perhaps with pathauto enabled)? http://drupal.org/node/67921 warns against enabling modules in profile_modules() if they depend on other modules actually being active. The referenced issues http://drupal.org/node/164458 and http://drupal.org/node/176003 suggest it should be fixed in Drupal 6, but this sounds like a manifestation of that issue.
I would say that most likely either:
1. This is an unfixed scenario of the core install bug, or
2. The issue is with whatever module (or install code) is calling (or triggering) the call to node_token_values().
Can you identify how node_token_values() is getting called?
Comment #2
greggles9 weeks with no response - closing.