Hi guys, I just installed Meta Tags, but when I view a node, it give these warning messages:

* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'phptemplate_username' was given in /home/sloki/user/t54451/sites/nontonbioskop.com/www/includes/theme.inc on line 617.
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'phptemplate_username' was given in /home/sloki/user/t54451/sites/nontonbioskop.com/www/includes/theme.inc on line 617.

If I disable the module, the warning goes away.
I dont know if this is useful, but I also use RealName module..

Comments

jwoolson’s picture

Suggest disabling the 'Override username theme' setting in RealName, rebuild permissions, then empty cache. See related issue and fix, that appears to be related to using RealName and getting this error:
http://drupal.org/node/303715#comment-1198624

I just fixed a similar conflict between the checkout module and RealName using the advice in the above comment.

natrio’s picture

If I disable the 'Override username theme', then I won't be able to use the custom profile-field as usernames, right? Or am I missing something obvious?

avpaderno’s picture

Category: bug » support
Status: Active » Fixed

It seems that what reported as a bug of Meta tags is really caused by another module (Meta tags doesn't deal with the user name, but RealName does).

I am changing the report metadata.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.