Warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in domain_node_presave() (line 1700 of /home/myoffice/public_html/sites/all/modules/domain/domain.module).
This error appears when I use Devel module to generate new nodes, without checking at least one 'publish to' domain in the domain access options of the Devel 'generate content' page.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1322652-presave-devel.patch | 541 bytes | agentrickard |
Comments
Comment #1
agentrickardThanks. Having that 'devel' piece of information is critical here.
Please do not use PHP error messages as issue titles.
Comment #2
agentrickardEasy patch for 7.x.3, likely needs backport to 7.x.2 and 6.x.
Comment #3
agentrickardThe other option, of course, is to make those fields required (as they are on node forms), but sometimes you want to test with those not filled out.
Comment #4
Yuri commentedYup, I confirm that the 1322652-presave-devel.patch works for 7.x.3.
Thanks!
Comment #5
agentrickardExcellent.
Comment #6
agentrickardCommitted to 7.x.2, 7.x.3, and 6.x.2.