Notice: Undefined index: #options in media_internet_form_file_entity_add_upload_alter() (line 166 of /home/build24v/public_html/profiles/commons/modules/contrib/media/modules/media_internet/media_internet.module).
| Comment | File | Size | Author |
|---|---|---|---|
| #25 | media-oembed-2280941-15.patch | 761 bytes | Andrei Tyuhai |
| #14 | media-oembed-2280941-14.patch | 724 bytes | shushu |
| #11 | media-oembed-2280941-11.patch | 1.07 KB | _antonioFazari |
| #5 | media-oembed-2280941.patch | 879 bytes | jlporter |
| Untitled.png | 21.79 KB | nishant_k |
Comments
Comment #1
vlooivlerke commentedI have the same problem when installed the latest dev
Unable to embed youtube or vemo
Comment #2
vlooivlerke commentedThis is a bug, not a support request.
Comment #3
cybertrail commentedI updated my version of File entity (7.x-2.x-dev - 04-Jun-02) and this fixed the error message but Web uploads just fail without any error message now.
Comment #4
cybertrail commentedActually they uploaded without any notification. I just had a look in Libraries and both images are there.
Comment #5
jlporter commentedQuick fix attached. I see some error message between submitting embed url and the media embed final form. It changes too fast for me to see.
I know the paths are wrong but this patch is just a start.
$form['#options'] does not exist if you dpm($form) there. Not sure how this ever worked.
Comment #6
devin carlson commentedThis should now be fixed in the latest -dev releases of Media and File Entity.
Comment #7
kaizerking commentedThis error still exists
Comment #8
claymarshall commentedSubscribing. See the same error still existing in latest dev.
Comment #9
valross.nu commentedCan confirm that the bug still exists but it was solved by updating to latest dev of Media and File Entity.
We did upgrade core and other modules in need of updates at the same time - so try that if you still have problems and have pending updates =)
Or a patch might interfere with something something... You never know ;)
Comment #10
DonnyYouwe commentedPatch works great! Thanks :)
Comment #11
_antonioFazari commentedAltered the patch so it has the correct path.
Comment #13
shushu commented@Devin, seems this patch did not get into dev branch.
See media_internet_form_file_entity_add_upload_alter() current code.
Comment #14
shushu commentedComment #15
devin carlson commented@shushu It sounds like you aren't using the same versions of Media and File Entity (ie -dev and -dev).
Comment #16
shushu commentedI am not sure what you mean.
To verify I cloned clean media repository and looked into media_internet.module. The current code is:
All the patch does is to put the $options into an if block.
Comment #17
arosboro commented@shushu, I had the same issue, wasn't using the dev version of both media and file_entity. This patch is not necessary if you are comfortable running both modules in dev.
Comment #18
shushu commentedIt seems #2284861: File size error on first upload after updating to 7.x-2.x-dev touch the same code (and pushed into dev).
Checking whether it solves the issue in a different way.
Comment #19
devin carlson commentedAs mentioned in #17, this is fixed in the latest -dev of Media and File entity (you must be running both).
Comment #22
devin carlson commentedComment #25
Andrei Tyuhai commentedComment #26
draganerorWell done @Andrei Tyuhai, thanks a lot! Quick and clean, nice! ;)
Comment #27
luksakThe patch in #25 fixes an error message I get when having media_youtube and media_vimeo installed. Should we open a new issue for this re-open this one? For now opening this one so we don't forget about it.
Comment #29
ann b commentedThis is fixed using the following:
File Entity - 7.x-2.0-beta3
Media - 7.x-2.0-rc5