This module is the cause of an "Invalid argument supplied for foreach()..." error in common.inc.
Upon looking at the affected line in common.inc I discovered it was looking for an array as the 2nd argument; this module was sending NULL.
The attached patch fixed this issue by sending an empty array() instead of the NULL.
NOTE: This patch must be applied AFTER these patches: #590724: Code cleanup
| Comment | File | Size | Author |
|---|---|---|---|
| gtranslate_links.module.patch | 412 bytes | Anonymous (not verified) |
Comments
Comment #1
blinkingtwelve commentedThanksfor your help! It's in CVS HEAD. This will help those on PHP installations without curl and will most probably solve #484286: Support curlless PHP setups.