Notice: Undefined index: default_value in views_plugin_argument_default_query->get_argument() (line 44 of /srv/bindings/eba708d12fe940fd968019990d5eb953/code/sites/all/modules/views_contextual_filter_query/plugins/views/views_plugin_argument_default_query.inc).
I think the new argument should be in an elseif to check if isset otherwise its trying to return default_value for any view on the site whether there is one or not.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | views_contextual_filter_query-undefined_index_default_value_get_argument-2560743-5.patch | 1.14 KB | monstrfolk |
Comments
Comment #2
karenann commentedPlease test this patch out to see if it resolves the issue.
Comment #3
akishankarI updated the patch. Please test this patch out to see if it resolves the issue
Comment #4
nwom commentedWorks perfectly. I think it's RTBC.
Comment #5
monstrfolk commentedThis also affects contextual filters of type Global: Null
Updated patch.
Comment #6
robinvdvleuten commentedWhat's the status of this patch? I would like to fix close this issue.
Comment #7
monstrfolk commentedThe patch is good.
Comment #8
robinvdvleuten commentedThanks @monstrfolk! I've applied the patches to the latest version in the 1.x branch.