First argument is expected to be a valid callback

robbiet480 - November 12, 2007 - 03:29
Project:Onlinestatus Indicator
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I run a medium scale drupal-based website. After upgrading to Drupal 5.3, I am getting errors on all user pages to the effect of
warning: call_user_func(onlinestatus_messenger_aim) [function.call-user-func]: First argument is expected to be a valid callback in /var/www/modules/onlinestatus/onlinestatus.module on line 112.

There is also the same message but with aim replaced with yahoo or skype. I cant keep having this problem or I will have to disable the module and it is a large piece of the site.

Thanks for your help in advance
Robbie Trencheny
WebMaster for ScottSigler.com

#1

xeniac - November 12, 2007 - 17:34

call_user_func(onlinestatus_messenger_aim) [function.call-user-func]: First argument is expected to be a valid callback in /var/www/modules/onlinestatus/onlinestatus.module on line 112.
Means that PHP could not find a function called "onlinestatus_messenger_aim()",
You could find this function im messengers.inc.php.
This could mean: messengers.inc.php is not found in your onlinestatus directory, or a file called messengers.inc.php exist - but is empty or broken.

I would suggest that you shoud try to upload this File to your Server again, in ASCII Mode.

#2

xeniac - March 2, 2008 - 16:02
Category:bug report» support request
Status:active» closed

I think the problem ist fixed.

 
 

Drupal is a registered trademark of Dries Buytaert.