Trying to generate content on site running domain access with Drush results in PHP warnings, also results in empty nodes being generated.
$ drush generate-content 5
array_filter() expects parameter 1 to be array, null given domain.module:1489 [warning]
array_filter() expects parameter 1 to be array, null given domain.module:1489 [warning]
array_filter() expects parameter 1 to be array, null given domain.module:1489 [warning]
array_filter() expects parameter 1 to be array, null given domain.module:1489 [warning]
array_filter() expects parameter 1 to be array, null given domain.module:1489 [warning]
When i tried Devel generate from UI, had no such problems.
Comments
Comment #1
agentrickardNot major. Please update to 7.x-2.16.
Here's a patch.
Note that domain settings will not be added if generating content via drush.
Comment #2
agentrickardApplied to 7.x.3
Comment #3
agentrickardCommitted to 7.x.2.
Comment #4
Ravi.J commentedGreat, will test this and comeback to you.
Thanks
Ravi
Comment #5
agentrickardIt's too late to test it. You have to test patches when they are "needs review".
I already committed this one because you ignored it for two weeks.
Comment #6
Ravi.J commentedSorry for delay in reviewing. Glad that fix has been committed.
Comment #7
agentrickardIt's a common problem. But it does delay releases.