Closed (fixed)
Project:
Trace
Version:
6.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
11 Aug 2008 at 19:54 UTC
Updated:
2 Oct 2008 at 22:22 UTC
"warning: Missing argument 1 for trace_menu() in /somepath/testing/sites/all/modules/trace/trace.module on line 66."
Is the $may_cache argument in use in Drupal 6?
Comments
Comment #1
kimachi commentedI am having same issue in a site I am working on. I see this in the admin screen:
* warning: Missing argument 1 for trace_menu() in /home/*****/domains/*****/webroot/modules/trace/trace.module on line 66.
* warning: Missing argument 1 for trace_menu() in /home/*****/domains/*****/webroot/modules/trace/trace.module on line 66.
* There are updates available for one or more of your modules or themes. To ensure the proper functioning of your site, you should update as soon as possible. See the available updates page for more information.
***** = (asterisks are removing my client's name & domain)
Comment #2
kimachi commentedHelp!
Comment #3
polarbear128 commentedLooks like the $may_cache parameter for hook_menu was taken out of D6.
See http://drupal.org/node/114774
To fix this I just changed line 66 of trace.module to
function trace_menu() {
as the $may_cache flag being passed doesn't get used anyway
Owner may want to roll this change into the alpha release.
Cheers
Comment #4
Justin MillerComment #5
Justin MillerSorry about this -- it's fixed in the latest alpha release.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.