When I installed media_mover 6.x-1.0-beta6 or 6.x-1.x-dev
I get 4 of these warnings at the add config page:
warning: Invalid argument supplied for foreach() in /var/www/html/virtualschool/includes/form.inc on line 1429.
warning: Invalid argument supplied for foreach() in /var/www/html/virtualschool/includes/form.inc on line 1429.
warning: Invalid argument supplied for foreach() in /var/www/html/virtualschool/includes/form.inc on line 1429.
warning: Invalid argument supplied for foreach() in /var/www/html/virtualschool/includes/form.inc on line 1429.
Type php
Date Thursday, January 14, 2010 - 03:46
User admin
Location http://XXXXX/admin/build/media_mover/add
Referrer http://XXXXX/admin/build/media_mover
Message Invalid argument supplied for foreach() in /var/www/html/virtualschool/includes/form.inc on line 1429.
Severity error
Hostname XXX.XXX.XXX.XXX
Operations
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | bug683740.patch | 4.11 KB | Tobias Weibel |
Comments
Comment #1
arthurf commentedCan you give me a list of which media mover modules you have installed? It's a form that is throwing the error.
Comment #2
irakli commented+1. I get the same errors, with beta6.
I get these if I either create configuration manually or try to import (before the save step, right after import). Both cases - the same error.
Modules installed:
Media Mover API
Media Mover API Token
Media Mover Auto Run
Media Mover CCK
S3 Media Mover module
Comment #3
rexsham commentedHI Arthurf,
I have installed:
Media Mover Antiword
Media Mover directory module
FFmpeg module
ImageCache processing
Media Mover node module
Media Mover Views
Media Mover Zip Compression
Media Mover defaults
Harvest from a FTP server
Media Mover CCK module
MM Remove module
Comment #4
rexsham commentedWill there be any follow up on this?
Comment #5
rexsham commentedHi Dear Developers, can anyone give me a clue on this?
Comment #6
nonom commentedI have the same problem
Comment #7
Tobias Weibel commentedI had the same problems. Debugging helped finding the problem. A possible patch is attached. I'm quite new in php so someone should review it carefully.
Main changes to fix this problem:
- '#options' => $options['name'],
+ '#options' => $options,
I fixed some other 'problems' I found during debugging.
Tobias
Comment #8
arthurf commentedThanks for the patch Tobias- I accidentally mixed up who has credit on the commit- it's yours. I made a slight change, but should not impact the fix.
Comment #9
arthurf commentedComment #10
armyofda12mnkeys commentedI just installed this module... Havent done anything with it yet....
Just wanted to say I got this error on the admin/build/media_mover/add page:
Invalid argument supplied for foreach() in /home/smoministries/smoministries.us/includes/form.inc on line 1434.
I had rc7 and now updated to dev1.x version, but same problem.