Hi,

I have installed 7.x-1.0-alpha1 and Libraries 7.x-2.0-alpha2.

If I try to upload images I get Server error! message. I checked admin/reports/dblog and there are several errors

Recoverable fatal error: Argument 2 passed to token_replace() must be an array, string given, called in /home/users/example.com/sites/all/modules/swfupload/swfupload.module on line 197 and defined in function token_replace() (line: 79 in file /home/users/example.com/includes/token.inc).

Strict warning: Creating default object from empty value in function swfupload_js() (line: 96 in file /home/users/example.com/sites/all/modules/swfupload/swfupload.admin.inc).

Notice: Undefined property: stdClass::$description_field in function swfupload_swfupload() (line: 137 in file /home/users/example.com/sites/all/modules/swfupload/swfupload.module).

Notice: Undefined property: stdClass::$display_field in function swfupload_swfupload() (line: 143 in file /home/users/example.com/sites/all/modules/swfupload/swfupload.module).

Comments

caesar9171’s picture

I have the same versions installed on Drupal 7 and I get the same first error.

Type: php
Message: Recoverable fatal error: Argument 2 passed to token_replace() must be an array, string given, called in /home/content/32/9329232/html/sites/all/modules/swfupload/swfupload.module on line 197 and defined in token_replace() (line 79 of /home/content/32/9329232/html/includes/token.inc).

caesar9171’s picture

The following thread seems to have solved my issue.
http://drupal.org/node/1576104

caesar9171’s picture

The following thread seems to have solved my issue.
http://drupal.org/node/1576104

zwerg’s picture

Issue summary: View changes

This patch doesn't solve the problem. Now I get the error:

Notice: Undefined property: stdClass::$filepath in swfupload_swfupload() (Zeile 206 von /var/www/mysite/sites/all/modules/swfupload/swfupload.module).