When creating a Drupal view that filters based on multiple tags, I'm getting the following error when I click preview:

An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /admin/structure/views/view/breakfast_things/preview/page_1/ajax StatusText: Internal Server Error ResponseText:

And the following error when I hit save:

Notice: Undefined property: Drupal\views\ManyToOneHelper::$query in Drupal\views\ManyToOneHelper->add_filter() (line 312 of core/modules/views/lib/Drupal/views/ManyToOneHelper.php).

Here is a screenshot of my page (this was after I clicked save)

enter image description here

If I keep everything the same but only use one tag, like eggs, then it works perfectly fine. Anyone know what's wrong here? I'm trying to create a view that will show all posts about eggs, spam, and other breakfast items.

  • look at logs of your site: error 500 maybe because of luck amount of RAM. "Allowed memory size of ... bytes exhausted"
    – Dunot
    Jul 10, 2016 at 16:33

1 Answer 1


SK , When you choose tag field in sort criteria, you will get two options Dropdown and Autocomplete. Choose Dropdown . This should fix your problem.

  • Choosing the Dropdown and selecting both tags makes the second error go away, but the Internal Server Error remains. EDIT: Actually scratch that, after saving a second time the 2nd error appears again.
    – Steve
    Nov 5, 2012 at 19:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.