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?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | og_content_type_admin-call_user_func_array_fix-633244-3.patch | 868 bytes | c-logemann |
Comments
Comment #1
Ole Martin commentedany?
Comment #2
c-logemannI 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
Comment #3
c-logemannIn 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:
or per git from current mirror:
Comment #4
Anonymous (not verified) commentedI have this issue too - it appears in the dev version as well as 1.2. Subscribing - please help!