πŸ‡¨πŸ‡¦Canada @gordonio

Account created on 19 September 2018, almost 6 years ago
#

Recent comments

πŸ‡¨πŸ‡¦Canada gordonio

I ran into this issue as well. It looks like it's because enable_social is set to false to begin with.

πŸ‡¨πŸ‡¦Canada gordonio

I have been able to reproduce this issue with the following:

  1. Add a view to a global section of the site (Mine is an exposed form search block in the site header)
  2. Go to a url that gives you a 404.

In the following, $route_name returns null and then fails the strpos.


  public function viewExposedFormBlocks() {
    // Avoid interfering with the admin forms.
    $route_name = \Drupal::routeMatch()->getRouteName();
    if (strpos($route_name, 'views_ui.') === 0) {
      return;
    }
    $this->view->initHandlers();

    if ($this->usesExposed() && $this->getOption('exposed_block')) {
      /** @var \Drupal\views\Plugin\views\exposed_form\ExposedFormPluginInterface $exposed_form */
      $exposed_form = $this->getPlugin('exposed_form');
      return $exposed_form->renderExposedForm(TRUE);
    }
  }
πŸ‡¨πŸ‡¦Canada gordonio

gordonio β†’ made their first commit to this issue’s fork.

Production build 0.69.0 2024