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.

Comments

dave reid’s picture

Status: Active » Needs review
StatusFileSize
new943 bytes

Patch that checks !isset($xml->releases->release) which is causing the error message described.

dave reid’s picture

StatusFileSize
new945 bytes

Updated patch with an extra newline at the end of file so you won't get that warning on any more CVS diffs.

Jorge Campo’s picture

To 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.

jabapyth’s picture

Status: Needs review » Fixed

thanks for the patch.
committed.

Status: Fixed » Closed (fixed)

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