[development] warning: Missing argument 1

Ken Winters kwinters at coalmarch.com
Wed Feb 3 13:52:50 UTC 2010


Usually this means that either:

1) Core or EmMarketing is out of date, fixed by updating
2) There is a bug in EmMarketing.  If that is a drupal.org module,  
open an issue for it.  If it's custom code, check out api.drupal.org  
for expected usage.

- Ken Winters

On Feb 2, 2010, at 6:49 PM, ktt wrote:

> 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