When ever I try to set the video display dimensions, or make any change for that matter including setting providers supported to Vimeo, in the embeded video field configure link, I get the following error upon saving:

* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/.../httpdocs/sites/all/modules/emfield/emfield.cck.inc on line 163.
* warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.../httpdocs/sites/all/modules/emfield/emfield.cck.inc on line 163.
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/.../httpdocs/sites/all/modules/emfield/contrib/emvideo/emvideo.module on line 584.

I shortened the paths above taking out non-pertinent info. I am using embed video field 6.x-2.5 and I just updated CCK to 6.x-1.6. I set this as a bug but likely there is something in my install as this does not seem to be a generalized problem.

line 163 in emfield.cck is:
$columns = array_merge($columns, module_invoke($module, 'emfield_widget_settings_extra', 'save', $widget));

and line 584 of emvideo,module is:
ksort($files);

(just fyi)

Thanks in advance.

Comments

timani’s picture

Priority: Normal » Major

I got the same error and found another issue that already has the solution: http://drupal.org/node/398400

Check out #78 for the correct patch.

Just checked the repository and even 6.x.3 does not have the patch which is a bit of an issue, as you can not change the settings without manually patching this yourself. This doesn't help because if there is a new release the manual patch will just be overridden if you update the module.

Not sure if this is still actively being maintained as the last update was Fri, 25 Feb 2011 02:07:43 +0000.

Perhaps a maintainer would be able to get this added for the next release? I wouldn't have a problem if the module maintainers need help

mattschlanger’s picture

Thanks for pointing me to the post. I missed the thread. Patched and fixed.

mattschlanger’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.