The year view from calendar generate html code incorrect
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3217106. -->
Reported by: [manuga](https://www.drupal.org/user/3513315)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>The year view generate html code incorrect</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>Create a default calendar view and check the year view, filter for a specific year, for example 2020<br>
I only have this error in version: 8.x-1.0-alpha4<br>
8.x-1.0-alpha3 and before works fine.</p>
<p>log errors to visit this year view:<br>
Warning: explode() expects parameter 2 to be string, object given a Drupal\calendar\CalendarHelper::getViewRouteParameters() (línia 962 de /var/local/html/drupal8/node3/web/modules/contrib/calendar/src/CalendarHelper.php)<br>
Warning: Invalid argument supplied for foreach() a Drupal\calendar\CalendarHelper::getViewRouteParameters() (línia 964 de /var/local/html/drupal8/node3/web/modules/contrib/calendar/src/CalendarHelper.php)</p>
> Related issue: [Issue #3143617](https://www.drupal.org/node/3143617)
> Related issue: [Issue #2969749](https://www.drupal.org/node/2969749)
issue