When I try and paste an image into the URL field (using Media File Selector) and press submit, I get this error message (it comes up in a new window, so essentially a window in a window):

Warning: Invalid argument supplied for foreach() in element_children() (line 6400 of ..\includes\common.inc).

(See attached image)

EDIT: Is it because I'm using Xampp?

CommentFileSizeAuthor
Create Post - error.png89.48 KBgoatboy14

Comments

K-G’s picture

I'm having the same problem. I'm working with xampp on a windows machine, but tried it even on my server and it results to the same error.

goatboy14’s picture

I have solved the problem using a different module now. What is it you're trying to achieve?

K-G’s picture

I fixed it with this patch:
http://qa.drupal.org/pifr/test/365573

I'm trying to embed external images into my drupal site without to host them on my drupal site.

K-G’s picture

Issue summary: View changes

Thought of an explanation

haunted’s picture

Issue summary: View changes

I have the same problem and i'm not using xampp, this bug make this module completely unusable.