We recently installed the Views Custom Conditions to our site, enabled the module, and went to a View that we need to filter the results by specific values within a field that contains multiple values.
Even though we are using the correct table|field|matchvalue|operator configuration, we keep getting the same fatal error message:
ResponseText: Fatal error: Call to undefined function wr() in /srv/bindings/a8ef7e9a9e7941048d27dc403a7b7885/code/sites/all/modules/views_custom_conditions/views_custom_conditions_plugin_display_extender_code.inc on line 46
I have upload a screenshot of the entire error message for reference.
Comments
Comment #2
jacquelynfisher commentedComment #3
mylesorme commentedYup - same same. Views 7.3.13 Any news?
Comment #4
dkrockville commentedI cannot get the module to work at all. Generates an error - see below.
Can you provide more examples of the settings, please?
I want to exclude nodes where the value of a user field is not among the array objects in an entity reference field in the node.
Comment #5
sano commentedI see the same problem. It seems like changes in a newer version of Views broke this module.
Comment #6
Snehal Brahmbhatt commented@jacquelynfisher, wr() is not a PHP function even it is not in views_custom_conditions and views module. The event there is no instruction for using that code. So for now, I've added this code line in a comment and it solves the issue.
Thanks.
Comment #7
delacosta456 commentedhi
Thanks for this patch @Snehal Brahmbhatt it worked for me.. no more fatal error