[development] warning: Missing argument 1

ktt kestutis98 at yahoo.com
Tue Feb 2 23:49:18 UTC 2010


Hello,

I have strange errors(warnings) with hook_access in 6.15:

function EmMarketing_access($op, $node, $account) {


}

Getting these in admin interface:

warning: Missing argument 1 for EmMarketing_access() in /Applications/MAMP/htdocs/drupal-6.15/modules/EmMarketing/EmMarketing.module on line 158.
warning: Missing argument 2 for EmMarketing_access() in /Applications/MAMP/htdocs/drupal-6.15/modules/EmMarketing/EmMarketing.module on line 158.
warning: Missing argument 3 for EmMarketing_access() in /Applications/MAMP/htdocs/drupal-6.15/modules/EmMarketing/EmMarketing.module on line 158.

Probably something goes wrong in hook_menu? Mising some values?

Thank you in advance,
Ktt



      


More information about the development mailing list