- Issue created by @dlfaison
- πΊπΈUnited States erutan
I just created a new fullcalendar view and can go into settings, make a change, and save the view fine. Existing views work as well.
What other views plugins do you have? I swear that sometimes VERF going bad on one view will impact another, and there's sometimes odd AJAX errors when you're running a lot of contrib.
Drupal 10.4.1
PHP 8.2.27
No smartdateI'd recommend:
1) Try upgrading to Drupal 10.4.1
2) Look at the actual error in the dev console. This varies by browser but will be googleable. - π¦πΉAustria mvonfrie
I have the same error and get a lot of
Warning: Undefined array key...
colors
insrc/Plugin/views/style/FullCalendar.php
on line 302
title_field
insrc/Plugin/fullcalendar/type/FullCalendar.php
on line 229
url_field
insrc/Plugin/fullcalendar/type/FullCalendar.php
on line 253
date_field
insrc/Plugin/fullcalendar/type/FullCalendar.php
on line 277
bundle_type
insrc/Plugin/fullcalendar/type/FullCalendar.php
on line 371
createTarget
insrc/Plugin/fullcalendar/type/FullCalendar.php
on line 403
bundle_type
insrc/Plugin/fullcalendar/type/FullCalendar.php
on line 1477
[numeric value]
insrc/Plugin/fullcalendar/type/FullCalendar.php
on line 1704 - π¦πΉAustria mvonfrie
mvonfrie β changed the visibility of the branch 3501869-undefined-array-key to hidden.
- π¦πΉAustria mvonfrie
mvonfrie β changed the visibility of the branch 3501869-undefined-array-key_3.1.x to hidden.
- π¦πΉAustria mvonfrie
mvonfrie β changed the visibility of the branch 3501869-undefined-array-key to active.
- π¦πΉAustria mvonfrie
Sorry for the confusion with the many branches, I probably am to tired now.
3501869-undefined-array-key
and MR !54 are for the3.0.x
development as this was the base branch suggested by the Git integration.3501869-undefined-array-key-3.1.x
and MR !55 are for the3.1.x
development as I've seen too late that that branch already exists.
For now I would keep both branches/MRs open as I've only fixes the occurrences reported to me and I'm not sure whether there are more.
- πΊπΈUnited States dlfaison
Sorry for the delay in responding, Erutan.
I was able to get the module installed. From the image included in my initial conversation, I was able to configure the module by right clicking on the Settings link which opened the Style options configuration panel in another tab. I made the changes and saved the changes. Then I refreshed my views page and resave it.
I did uninstall and reinstall the module a second time and I didn't have to open the Settings link in another tab.
I am running into another issue. Not sure if I should create another ticket or use another forum to address but here it goes.
Problem
We are using the calendar to display events using the event content type. From the initial display all seems fine. I expected to click through each month to display the events. However, I realize I am able to only view 4-5 months of events. At this point I do not have the AJAX setting in the view enabled .If I enable AJAX, then all of my event show, but it adds this exposed filter, which I do not want. I can hide the exposed filter using CSS and everything seems to display.
form.views-exposed-form{
display:none;
}https://www.drupal.org/files/issues/2025-02-18/exposed-filter.png β
I was hoping it would just display all of the events without the Minimum or Maximum date exposed filter.
Any suggestions or thoughts would be greatly appreciated.
My current setup (We just had a module update push 2/13)
- Drupal 10.4.1
- SmartDate 4.2.1 (we do not use the recurring submodule)
- PHP 8.3.15
- FullCalendar 3.0.2
- πΊπΈUnited States erutan
@dlfaison the ajax/scrolling thing would be a separate issue - it has nothing to do with what you originally posted. If you keep on tagging unrelated issues onto an existing issue then there's no way to set the status of issues correctly - I'd edit the new issue out of this one and create a new issue. There shouldn't be exposed filters if you don't have them set up in the view. Do you have some other contrib installed that interacts with filters?
It sounds like reinstalling the module fixed your original issue? If not I'd recommend trying to apply mvonfrie's patch https://git.drupalcode.org/project/fullcalendar/-/merge_requests/55.diff
I'm able to scroll through a year or so worth of months with AJAX disabled.
- πΊπΈUnited States dlfaison
will create another ticket. Reinstalling again helped resolve the initial issue.
The module was installing via composer. I will take a look at mvonfrie's patch as well.
Thank you again for the help.
- πΊπΈUnited States erutan
If anyone else has this issue, try mvonfrie's patch. If that works, let us know here, if not also let us know then try installing the module a few times, possibly opening the view display the settings in a new tab. :)