error:
warning: Missing argument 1 for advuser_menu() in /home/..../modules/advuser/advuser.module on line 31.
below is the code on line 31, i also attached the entire advuser.module
code:
/**
* Implementation of hook_menu().
*/
function advuser_menu($may_cache) {
// Include filters
include_once(drupal_get_path('module','advuser').'/advuser_filters.inc');
$admin_access = user_access('administer advuser');
$access_access = user_access('access advuser');
| Comment | File | Size | Author |
|---|---|---|---|
| advuser.txt | 23.29 KB | nickit |
Comments
Comment #1
darren.ferguson commentedIf your using drupal 6.2 then hook_menu no longer takes a parameter $may_cache
What you have in the .txt file is a version either 4.7 or 5 but it is not compatible with 6
Comment #2
john morahan commentedThe advuser module has not yet been ported to Drupal 6. This is the issue you want.