While trying to upload two new modules I get this message:
* warning: Invalid argument supplied for foreach() in /home/MYWEB/public_html/sites/all/modules/plugin_manager/plugin_manager.module on line 359.
* warning: Invalid argument supplied for foreach() in /home/MYWEB/public_html/sites/all/modules/plugin_manager/plugin_manager.module on line 359.
After that only one of them shows up.
The interesting thing is that one of the modules seems to work fine but not the other.
I tried the Intenationalization and the Ajax Internationalization modules.
The first one alone does not give a problem.
Together produce the above messages and only the first one is showed as being downloaded.
I had this warning before for other module but I do not recall now which one.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 363909-plugin-manager-D6.patch | 945 bytes | dave reid |
| #1 | 363909-plugin-manager-D6.patch | 943 bytes | dave reid |
Comments
Comment #1
dave reidPatch that checks
!isset($xml->releases->release)which is causing the error message described.Comment #2
dave reidUpdated patch with an extra newline at the end of file so you won't get that warning on any more CVS diffs.
Comment #3
Jorge Campo commentedTo tell you the truth, I checked the patching process and, either I have no clue or it looks like a quite complex process (I am not a newbie but neither a specialist).
When you create patches, are they always later applied to the new versions?
If that is the case I´d rather wait.
In any case I am very grateful of your job. You must feel proud of yourself.
Comment #4
jabapyth commentedthanks for the patch.
committed.