I just updated from unstable4 to unstable5 and now when I edit a node and try to add media I get the following errors:
Notice: Undefined index: file_entity_add_upload in drupal_retrieve_form() (line 760 of /mysite/includes/form.inc).
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'file_entity_add_upload' not found or invalid function name in drupal_retrieve_form() (line 795 of /mysite/includes/form.inc).
I have a multilingual Drupal 7.14 site.
When I go to the reports admin page (to look up which version of Drupal I'm currently running) I get the following error messages (which I did not get prior to updating):
Warning: file_get_contents(sites/all/libraries/colorbox/colorbox/jquery.colorbox-min.js): failed to open stream: No such file or directory in _locale_parse_js_file() (line 1482 of /home/cpelham/public_html/crsny.org/public/includes/locale.inc).
Warning: file_get_contents(sites/all/libraries/colorbox/colorbox/jquery.colorbox-min.js): failed to open stream: No such file or directory in drupal_build_js_cache() (line 4841 of /mysite/includes/common.inc).
Comments
Comment #0.0
cpelham commentedjust edited links
Comment #1
dave reidWhenever you update Media 7.x-2.x you also need to update to the same version of File entity. So make sure you're using File entity 7.x-2.0-unstable5.
Comment #2
cpelham commentedThank you for responding so quickly. I have to say ou are doing a splendid job, Dave, especially considering all you have taken on. I deeply appreciate it.
I found that I also apparently needed to re-save my colorbox settings for some reason to get the error messages to vanish. or else it just took a re-load.
in any event, the problem is indeed solved.
Comment #3.0
(not verified) commentedtwo errors were unrelated and I have removed them.