Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Great module and it really works, but when I enable it, there's a warning displayed on the page.
warning: array_filter() expects parameter 1 to be array, null given in /var/www/sites/all/modules/views/modules/node/views_plugin_argument_validate_node.inc on line 59.
Does anybody see this? needs help please.
Comments
Comment #1
js_kiran CreditAttribution: js_kiran commentedI get the same message
warning: array_filter() expects parameter 1 to be array, null given in \sites\all\modules\views\modules\node\views_plugin_argument_validate_node.inc on line 58.
Comment #2
dichevad CreditAttribution: dichevad commentedI am also getting the same message, which prevents me of using the module, although it works... Can somebody help, please??
Comment #3
dichevad CreditAttribution: dichevad commentedHello,
Actually, I was also getting the error "Duplicate key name - error message on cron", so when I fixed it by applying the suggested for that error change, and also set some Types in the Configure Arguments' box 'Validator Option',
I stopped getting this error.
Hope this helps.
Comment #4
pianomansam CreditAttribution: pianomansam commentedI have confirmed that changing the argument validation from node to basic validation eliminates this error.
Comment #5
DerekAhmedzai CreditAttribution: DerekAhmedzai commentedYes, that fixes the error. Thanks @pianomansam!
Comment #6
DerekAhmedzai CreditAttribution: DerekAhmedzai commentedActually, it seems that if you edit and save the
similar_entries
view, it seems to work.Comment #7
alexmoreno CreditAttribution: alexmoreno commentedOne validator must be chosen, or select basic validation as commented by #4. If we choose to use a validator, a content type must be chosen.
Comment #8
jenlamptonIssue queue triage, closing all 6.x issues. If this one is still a problem for Drupal 7, please re-open.