After upgrading this modul to 6.x.1,2 i get this error:

  * warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /home/xxxx/public_html/xxxx/sites/all/modules/og_content_type_admin/og_content_type_admin.module on line 800.
    * warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /home/xxxx/public_html/xxxx/sites/all/modules/og_content_type_admin/og_content_type_admin.module on line 800. 

How can I fix this?

Comments

Ole Martin’s picture

any?

c-logemann’s picture

Title: call_user_func_array() » warning: call_user_func_array() ... og_content_type_admin.module on line 805.
Category: support » bug

I have the same warnings.

The error is in og_content_type_admin_menu_access() in og_content_type_admin.module.

closed duplicate issue: #853428: Error Message for /og_content_type_admin.module on line 805

c-logemann’s picture

Version: 6.x-1.2 » 6.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new868 bytes

In 6.x-1.2 and current published 6.x-1.x-dev version the first argument of call_user_func_array() is sometimes empty. I created a little patch to test this but I don't know if there are any complications.
At this time I will not test this way bymyself because in current head branch isn't any call_user_func_array(). I think the logic has changed and the problem seems to be solved. I think the dev-download file has to be updated. So more people can test and we can go forward to a new stable version.

Here are the checkout commands:

cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -d og_content_type_admin-HEAD contributions/modules/og_content_type_admin/

or per git from current mirror:

git clone git://git.drupalcode.org/project/og_content_type_admin.git
Anonymous’s picture

I have this issue too - it appears in the dev version as well as 1.2. Subscribing - please help!