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.
Comments
Comment #1
hutch commentedOh dear, it has not found imagepicker_settings_form which does exist, try flushing the cache under site configuration > performance
Hope this helps
Comment #2
held69 commentedThanks there.
Cleared the cache haven't seen the warning again.
Comment #4
murokoma commentedHaving the same problem - flushing the cache did not help.
Anything else I could check for?
Thanks a lot!
Best regards,
Robert
Comment #5
hutch commentedTry using the dev module, it will help rebuild the menu.
Oops that's the devel module
Comment #6
hutch commentedComment #7
joecanti commentedThanks Hutch - it worked for me too! useful little trick that, never knew it was there...
Thanks again, joe
Comment #8
held69 commentedMmm 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?
Comment #9
held69 commentedComment #10
hutch commentedInstall 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.
Comment #11
held69 commentedthanks 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.
Comment #12
hutch commentedVery odd, it's as if imagepicker.admin.inc has not loaded. I can't replicate this error.
Comment #13
held69 commentedi'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.
Comment #14
hutch commentedThis error has now been fixed in the latest development version, it took a while to track it down ;-(
Comment #15
held69 commentedGreat Hutch
Thanks, i'll trie it out.
Comment #16
hutch commentedIt's not been rolled out yet, after midnight gmt or pull it out of CVS
Alternately you can insert the following line:
into imagepicker.module line 124, just below 'type'
Comment #17
hutch commented