warning: call_user_func_array() [function.call-user-func-array]
held69 - June 23, 2009 - 12:09
| Project: | Image Picker |
| Version: | 6.x-2.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
After entering the image picker settings page got following warning:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'imagepicker_settings_form' was given in /home/mysite/domains/mysite/public_html/includes/form.inc on line 366.

#1
Oh dear, it has not found imagepicker_settings_form which does exist, try flushing the cache under site configuration > performance
Hope this helps
#2
Thanks there.
Cleared the cache haven't seen the warning again.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.
#4
Having the same problem - flushing the cache did not help.
Anything else I could check for?
Thanks a lot!
Best regards,
Robert
#5
Try using the dev module, it will help rebuild the menu.
Oops that's the devel module
#6
#7
Thanks Hutch - it worked for me too! useful little trick that, never knew it was there...
Thanks again, joe
#8
Mmm keep getting this error, under 6.x-2.5 as well.
After i click on 'images', 'groups' or 'validate' files and return to 'general' the menu seem to be there again.
I dont have to much experience with the devel module.
Could you specify how to rebuild the menu with the devel menu?
#9
#10
Install the devel module, enable the Development block and click on rebuild menus. You can also get there by visiting the menus page and saving. Also flush cache.
#11
thanks for your quick walkthrough.
I enabled the block, rebuild the menus and cleared the cache (admin/settings/performance.
However when i return to General settings in Image picker i see
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'imagepicker_settings_form' was given in /home/voordeze/domains/voordezebuurt.nl/public_html/includes/form.inc on line 371.As mentiondened earlier when i go to another menu under image picker and return to the General settings the menu is there how it should be.
#12
Very odd, it's as if imagepicker.admin.inc has not loaded. I can't replicate this error.
#13
i'll try a reinstall.....
Not much difference.
BUT
I noticed a different behaviour between going to 'General settings' via admin menu (module) and the regular navigation menu.
Via the admin menu i'll get the warning as mentioned.
The navigation menu just gives the menu as it should be.
#14
This error has now been fixed in the latest development version, it took a while to track it down ;-(
#15
Great Hutch
Thanks, i'll trie it out.
#16
It's not been rolled out yet, after midnight gmt or pull it out of CVS
Alternately you can insert the following line:
'file' => 'imagepicker.admin.inc',into imagepicker.module line 124, just below 'type'