If you fail to enter location information when using Location CCK, you sometimes get a WSOD. Backtracing led me to line 385, in function location_cck_token_values, where apparently, $item['location_settings']['display']['hide'] is NULL, but array_filter expects an array.
Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| location.location_array_value.patch | 1.14 KB | aaron |
Comments
Comment #1
yesct commentedaaron, I tried to reproduce this with the latest dev release by making a content type, adding cck location and submitting it with a title but no cck location fields filled out. And it worked ok (no WSOD).
Please report back with exactly the steps to reproduce the WSOD.
the patch no longer applies, and it looks like that line of code is no longer there. At about line 436
It might be related to #463618: Field display information not available in the $item array.
?