Error Creating Transforms

thekeyper - May 26, 2008 - 00:38
Project:Media API
Version:5.x-5.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

I have created a derivitave, added a scale, then clicked add again (trying to add a second transform) and recieved a list of errors:
warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/html/chris_workspace/chris_realtest1/sites/all/modules/mapi/mapi_derivatives/derivatives.inc on line 526.
warning: array_filter() [function.array-filter]: The first argument should be an array in /var/www/html/chris_workspace/chris_realtest1/sites/all/modules/mapi/mapi_derivatives/derivatives.inc on line 528.
warning: array_unique() [function.array-unique]: The argument should be an array in /var/www/html/chris_workspace/chris_realtest1/sites/all/modules/mapi/mapi_derivatives/derivatives.inc on line 528.
warning: Invalid argument supplied for foreach() in /var/www/html/chris_workspace/chris_realtest1/sites/all/modules/mapi/mapi_derivatives/admin.inc on line 342.

It seems like these errors all stem from what seems to be a test entry in derivatives.inc on line 526:
$new = array_merge($new, mapi_invoke_transforms('test', $transform->name, $transform->settings, $ext));

#1

rhys - November 6, 2008 - 09:34
Status:active» postponed (maintainer needs more info)

Please let me know whether this applies to the d6 version. It will be backported to d5 soon.

 
 

Drupal is a registered trademark of Dries Buytaert.