I just removed everything but "jpg jpeg" from the list of allowed file extensions and got the following error message:
Notice: Undefined index: media__wysiwyg_browser_plugins in media_admin_config_browser_pre_submit() (line 325 of [...]/sites/all/modules/media/includes/media.admin.inc).
Warning: array_values() expects parameter 1 to be array, null given in media_admin_config_browser_pre_submit() (line 325 of [...]/sites/all/modules/media/includes/media.admin.inc).
Warning: array_unique() expects parameter 1 to be array, null given in media_admin_config_browser_pre_submit() (line 325 of [...]/sites/all/modules/media/includes/media.admin.inc).
Comments
Comment #1
ParisLiakos CreditAttribution: ParisLiakos commentedCan you try it with latest dev? i did what you described but no notices or warnings
Comment #2
rooby CreditAttribution: rooby commentedI'm seeing this now, with:
file_entity 7.x-2.0-alpha3+17-dev
media 7.x-2.0-alpha3+77-dev
And in case it is relevant:
ckeditor 7.x-1.13+22-dev
I edited admin/config/media/browser, changed "Enabled browser plugins" & "File directory for uploaded media" and saved and saw those messages.
I have the media & media_wysiwyg modules enabled.
If I then make more changes to the form and save it again I cannot get the errors to come back.
[EDIT] The errors were seen after enabling media & media_wysiwyg, configuring ckeditor to use the media button, then editing this settings page.
Comment #3
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedClosing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team