Any suggestion for this message?
Warning: Invalid argument supplied for foreach() in Drupal\taxonomy\Plugin\views\filter\TaxonomyIndexTid->validateExposed() (line 330 of /var/www/drupal8/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php).
Currently my shared server is running v5.3. I have many sites there with drupal 7. I wanted to give drupal 8 a try but first I will need to upgrade the php to version 5.5. Will this affect my current sites? Should I go for it?
Is there any way to add custom variables to the menu.html.twig file? For example, I want a variable to display in a div next to a specific menu item. I've tried using hook_preprocess() and adding $variables['myvar'] but to no avail. Any ideas?
I have created a content type that is used for book pages, using the Drupal Book module from core. The content type has alternate text (long text and summary) for different purposes. I can go to Structure|Content types|Manage display and make the text for one purpose visible and hide the text for other purposes. My book is then filtered for the chosen purpose.