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');

CommentFileSizeAuthor
advuser.txt23.29 KBnickit

Comments

darren.ferguson’s picture

If 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

john morahan’s picture

Project: Drupal core » Advanced User
Version: 6.2 » 6.x-2.x-dev
Component: user.module » Code
Status: Active » Closed (duplicate)

The advuser module has not yet been ported to Drupal 6. This is the issue you want.