Closed (outdated)
Project:
D7 Media
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2011 at 16:24 UTC
Updated:
26 Jan 2019 at 16:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
erikwebb commentedCan you include the field that was being filtered that caused this notice?
Comment #2
felixvang commentedhelp me out please:
Notice: Undefined offset: 1 in SmtpMailSystem->mail() (line 125 of /var/www/drupal/sites/all/modules/smtp/smtp.mail.inc).
Notice: Undefined offset: 1 in SmtpMailSystem->mail() (line 125 of /var/www/drupal/sites/all/modules/smtp/smtp.mail.inc).
Unable to send e-mail. Contact the site administrator if the problem persists.
Comment #3
dave reid@felixvang: Your error is completely unrelated to the Media module. File an issue with the smtp module instead.
Comment #4
devin carlson commentedClosing this because I haven't been able to duplicate it and no activity has occurred for a long time. Feel free to reopen with updated info if issue still remains.
Comment #5
kehan commentedHi,
I just found this. The Wysiwyg module had somehow stuck some extraneous elements in the json that creates the media field. The offending $declarations that came through were as follows
The attached patch makes sure that the delimiter is present in the child elements before exploding them
Comment #6
ParisLiakos commentedshould be fixed in 2.x-dev first and then backported
Comment #7
ParisLiakos commentedComment #8
Mat77 commentedLooks like the patch fixed the bug for me, but as the notice appears totally randomly, I can't be sure.
I'll let you know if it comes back.
Using Media 7.x-1.3
Comment #9
jerry commentedFWIW, patch in #5 appears to have fixed the problem for me in 7.x-1.3 as well.
Comment #10
devin carlson commented5: media-1313454-5-undefined_index.patch queued for re-testing.
Comment #12
longlivelance commented5: media-1313454-5-undefined_index.patch queued for re-testing.
Comment #14
greggmarshallThe #5 patch worked to resolve an issue on our Media 1.4 site.
Oddly this site was affected, but a "sister" site that was built as a clone of the code/database of this site, didn't have any issues. Go figure.
Comment #15
chris matthews 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