Hi,
After adding event date to the filters i started getting this error
TypeError: Argument 1 passed to _calendar_view_convert_to_timestamp() must be an instance of mixed, string given, called in /modules/contrib/calendar_view/src/Plugin/views/style/Calendar.php on line 537
Also if i want to display the page same happens. Drupal 9.5.2.
Regards,
Nino
Comments
Comment #2
matthieuscarset commentedThank you for reporting this issue.
Can you double check you are using the latest version of this module?
I think you're on an old release with a known bug, already fixed.
composer require 'drupal/calendar_view:^2.0'or using the dev branch:
composer require 'drupal/calendar_view:dev-2.0.x'Comment #3
orcalator commentedHi matthieuscarset,
I already saw your patch for that bug, but i got this on 2.0.2 and now on 2.0.4 version too. I also notice this error:
TypeError: Argument 1 passed to Drupal\\calendar_view\\Plugin\\views\\style\\Calendar::isDateField() must be an instance of Drupal\\calendar_view\\Plugin\\views\\style\\mixed, instance of Drupal\\views\\Plugin\\views\\field\\EntityField given, called in /modules/contrib/calendar_view/src/Plugin/views/style/Calendar.php on line 142
when i click on "Settings" right of "Calendar" in Format section of the view.
Regards,
Nino
Comment #4
ab_connor commentedI can confirm this error. No calendar view possible. Using calendar_view 2.0.4 and Drupal 9.5.3.
Comment #6
matthieuscarset commentedOh okay I see, there are unnecessary
mixedpseudo type set in those functions' arguments.It is fixed in 2.0.5 freshly released.
Thank you very much for reporting the issue.
Comment #7
orcalator commentedThis is now solved, thank you. Now i have another one, so i'll open a new thread :-)