This is a warning I received after installing IMCE:

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'imce_access' was given in C:\dev\wamp\www\development\galproject\includes\menu.inc on line 452.
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '_signup_menu_access' was given in C:\dev\wamp\www\development\galproject\includes\menu.inc on line 452.
# warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '_signup_menu_access' was given in C:\dev\wamp\www\development\galproject\includes\menu.inc on line 452.
# warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '_signup_menu_access' was given in C:\dev\wamp\www\development\galproject\includes\menu.inc on line 452.

How should I troubleshoot this problem?

Thanks, fndtn357

Comments

isaacbowman.com’s picture

I just flipped a site over from 6.6 to 6.8 and got the same error message after the update.php

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'imce_access' was given in /home/xx/dxxxxxx/htdocs/drupal/includes/menu.inc on line 452.

Isaac Bowman
www.isaacbowman.com

canepa’s picture

I had the same problem, which occurred only when logged-in.

I went in the IMCE config options and gave a profile to a new "Editorial User" and the problem was fixed.

Alessandro

pjanoti’s picture

This may be the reason, May be once you coped the IMCE module and checkd the box in Aminister->Site building->Modules->IMCE
and deleted IMCE from /drupal/sites/all/modules directory or /drupal/modules directory.

1.Copy extracted IMCE /drupal/sites/all/modules directory or /drupal/modules directory (whre you have copied the IMCE module)
2.Go to Aminister->Site building->Modules and uncheck IMCE at the bottom. (save configuration)
3.Agin go to /drupal/sites/all/modules directory and delete IMCE

Hope it ill work

or@hakdesign.de’s picture

i receive the same error message also in the frontend
i think it's got to do with the languages
i've got english and german

Stephen Winters’s picture

I'm putting this message here in case someone else made the same mistake that I made: I also had the errors shown below and investigated to see what the problem was. I had originally had the IMCE and related modules installed, but, unknown to me, I had accidentally deleted from the IMCE folders from the files section of CPanel. Then, when I came back later, I got this error message:

Fatal error: require_once() [function.require]: Failed opening required 'modules/Added/imce/inc/admin.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mywebid/public_html/mywebsite-com/includes/menu.inc on line 346

After going into Administration and clicking on IMCE, got that same above error message. Then I thought I'd chose someplace else so I then Clicked on Site Maintenance and got these error messages:

•	warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'imce_access' was given in /home/mywebid/public_html/mywebsite-com/includes/menu.inc on line 452.
•	warning: require_once(modules/Added/imce/inc/admin.inc) [function.require-once]: failed to open stream: No such file or directory in /home/mywebid/public_html/mywebsite-com/includes/menu.inc on line 346.
•	warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'imce_access' was given in /home/mywebid/public_html/mywebsite-com/includes/menu.inc on line 452.
•	warning: require_once(modules/Added/imce/inc/admin.inc) [function.require-once]: failed to open stream: No such file or directory in /home/mywebid/public_html/mywebsite-com/includes/menu.inc on line 346.
•	warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'imce_access' was given in /home/mywebid/public_html/mywebsite-com/includes/menu.inc on line 452.
•	warning: require_once(modules/Added/imce/inc/admin.inc) [function.require-once]: failed to open stream: No such file or directory in /home/mywebid/public_html/mywebsite-com/includes/menu.inc on line 346.
•	warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'imce_access' was given in /home/mywebid/public_html/mywebsite-com/includes/menu.inc on line 452.

I found out that these messages came because I had accidentally deleted the IMCE modules from the Modules file section of my website. Once I put the IMCE modules back in the Modules files, the error messages went away.

Best Wishes,
Stephen

ygmusa’s picture

I'm a Newbie, this is the warning message i received after I download and install FCKeditor;
warning: require_once(sites/all/modules/fckeditor/fckeditor.admin.inc): failed to open stream: No such file or directory in /var/www/includes/menu.inc on line 346.
Please help me.

yg musa