Message Error: Call to a member function renderRoot() on null in Drupal\yandex_maps\Plugin\views\style\YandexMap->render() (line 314 of
\modules\contrib\yandex_maps\src\Plugin\views\style\YandexMap.php).

replace

if (is_array($balloon_content)) {
$balloon_content = $this->renderer->renderRoot($balloon_content);
}

on

if (is_array($balloon_content)) {
$balloon_content = $this->getRenderer()->renderInIsolation($balloon_content);
}

- The error has disappeared. Everything is working now.

Comments

scorpionghost created an issue. See original summary.

  • xandeadx committed bf3bad04 on 3.x
    #3638766: Fix render with show_balloon option
    
xandeadx’s picture

Status: Patch (to be ported) » Fixed

Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.