Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I get an error after upgrading to latest version of Calendar and Date module.
Error: Display calendar_1 refers to a plugin named 'calendar', but that plugin is not available.
I've read http://drupal.org/node/1234882 cleared caches multiple times and updated to all the latest dev versions of Calendar Chaos Date and views. reverted to calendar view, cleared more caches but no luck.
I can only access the upcomming views section the other sections in the view give me the error and no way of editing any settings in that view.
Any help would be greatly appreciated.
Comments
Comment #1
jsimonis CreditAttribution: jsimonis commentedI have the same problem on my site. The calendar was working previously.
Comment #2
ViiNCENZO CreditAttribution: ViiNCENZO commentedExactly the same for me.
Comment #3
KarenS CreditAttribution: KarenS commentedIt sounds like you are trying to use views created in Calendar 7.2 in Calendar 7.3, which won't work. Please read the README.txt file and/or the release notes. The plugins and handlers in 7.3 have changed.
Comment #4
ViiNCENZO CreditAttribution: ViiNCENZO commentedThank you very much! - That worked for me!
Comment #5
johndieter CreditAttribution: johndieter commentedI have this exact same problem. The README say to "revert" your views? How do you "revert" a view? I don'
t see any option to revert views. How do I revert the civi_events calendar view?
Comment #6
johndieter CreditAttribution: johndieter commentedWhen I try to create a brand new view of format "calendar" I get Debug:
'calendar_plugin_style: Missing calendar row plugin'
in calendar_plugin_style->render() (line 205 of /var/www/drupal/sites/all/modules/calendar/includes/calendar_plugin_style.inc).
Comment #7
johndieter CreditAttribution: johndieter commentedFor the old calendar view that does work, Under Format - I see show calendar items, and can choose:
Calendar Items
Content
Fields
For all new views I create - I don't see anything but fields in the format show
Comment #8
johndieter CreditAttribution: johndieter commentedthe README does not give enough information for me to fix this problem.
Comment #9
jpguerra CreditAttribution: jpguerra commentedI got the same problem. I'm trying to create a calendar view for civievents, but I always get the error: 'calendar_plugin_style: The calendar row plugin is required when using the calendar style but it is missing.'. Under Format > Show: the only choice I got is Fields, there is no Calendar Items, etc.
I tried using the default civicrm events calendar but I got the same error as they have, Error: Display calendar_1 refers to a plugin named 'calendar', but that plugin is not available.
Im using Drupal 7.0 and civicrm 4.0, Date 7.x-2.x, Calendar 7.x-3.x, Views 7.x-3.x and CTools 7.x-1.x all in dev. Please help me here.
Comment #10
leoklein CreditAttribution: leoklein commentedsubscribe
Comment #11
kurtismccartney CreditAttribution: kurtismccartney commentedI cant even see the view edit functions, I think this may be a views issue but am unclear on how to perform and transmit a diagnostic report without letting someone into the CMS. I'd like to just be able to set parameters for it to check the event dates field.
New Calendar is still visiblethough, just not the view edit areas. Getting both messages:
Display "Defaults" has an invalid style plugin.
Unable to preview due to validation errors.
What is display 'Defaults' anyway?
Comment #12
kurtismccartney CreditAttribution: kurtismccartney commentedWoo- Fixed it manually.
Ok here it is:
1) Disable the Calendar and iCal Modules
2) Go into you DB for under ctools_object_cache you will find your broken calendar despite the disable
3) Drop it, delete it, kill it with fire (leave your other views that work.
4) Re-enable the Calendar module and it will regenerate a clean version of the new calendar system
Until the next Calendar release that should fix your problems, if you're willing to dive into it. 100% success rate.
Comment #13
Anonymous (not verified) CreditAttribution: Anonymous commentedIt appears to me that after uninstalling 7.x-2.x, the view remained overridden. I don't recall actually overriding the default calendar view previously as I (apparently almost) always clone the default as a starting point, but you might check to see if there is a "revert" link in the menu for the default "calendar" on the Views listing page.
Comment #14
glennnz CreditAttribution: glennnz commentedSame fault for me, comment #12 didn't fix mine, but cloning the default Calender view and editing it works fine....
Using the latest dev versions of Date and Calendar.
Comment #15
kpojeta CreditAttribution: kpojeta commented#12 by samichx FIXED mine! I pretty much had no Views UI on the default calendar, even after following the steps going from 7.2 to 7.3. The database delete process worked. I emptied my cache after deleting the database files just to be sure and then enabled my modules again. Went to views and the calendar worked perfectly. Thank you samichx!!!
Comment #16
jonjob CreditAttribution: jonjob commented#12 fixed mine! Thanks!! I've been pulling my hair out trying to get the calendar default view editable.
Comment #17
johndieter CreditAttribution: johndieter commented#12 did not fix it. I get Display "Defaults" has an invalid style plugin.
Unable to preview due to validation errors.
and cannot access the view no matter what.
Comment #18
chipway CreditAttribution: chipway commented#12 did not fix it. I get only the issue Title error when triyng to edit the view (latest dev version).
And Preview with contextual filters: message "Separate contextual filter values with a "/". For example, 40/12/10." is quite misleading.
What is the right date format to use ?
Comment #19
chipway CreditAttribution: chipway commentedFixed by :
DELETE FROM views_view WHERE name = 'calendar';
drush cc all
+ redo #12
Comment #20
KarenS CreditAttribution: KarenS commented"Needs work" means there is a patch here.
There is probably not much I can do. There are no easy ways for a module to force-delete a view, plus it wouldn't be safe to make assumptions about what views to delete, so the code can't do anything. That means you have to delete it yourself if there is a view you don't want.
Marking fixed because this is a support request and I've responded to it in the only way I can.
Comment #22
GaneshKumar CreditAttribution: GaneshKumar commented#12 worked for me.
Thanks a lot.
Comment #23
marcel.jtf CreditAttribution: marcel.jtf commentedIt worked for me but a bit simpeler way than #12
1) Disable the Calendar (calendar-7.x-3.4) and iCal Module
2) Use de-install procedure (admin/modules/uninstall)
3) Delete module using FTP
4) Upload calendar-7.x-3.2
5) Enable modules again
Comment #24
sumate.sdk CreditAttribution: sumate.sdk commented#23 It's worked easily for me.
Comment #25
dharmendra.jadeja CreditAttribution: dharmendra.jadeja commented#23 also worked for me Thanks for post.
Comment #26
Hadi Farnoud CreditAttribution: Hadi Farnoud commented#23 didn't work for me
Comment #27
alfonsobarreiro CreditAttribution: alfonsobarreiro commented#23 worked for me.
Thanks a lot.
Comment #28
michaelrajchandra CreditAttribution: michaelrajchandra commentedI dont think this is a good solution... but reverting back to an older version
It would be best for the bug to be fixed so that it could function as expected
Thanks
Comment #29
larose CreditAttribution: larose commentedHi,
I think it may be easier: I have observed that in the view configuration, the "format" field was empty. Clicking on it, I could select format view "calendar" again and configure months, days, etc..
It was that simple.
Hope this helps you
Comment #30
TonyScott CreditAttribution: TonyScott commentedWhy is this problem still coming up so long after it was identified? Surely 7.3 should have been patched by now? Most of the suggested "fixes" - even the "easy" ones - are not stuff newbies would like to attempt!
Comment #31
TonyScott CreditAttribution: TonyScott commentedI don't think this issue should be marked "closed" - it sure isn't closed for me! Validity of style plug in. Obligation of originators to fix bugs they introduce. "Work arounds" are NOT fixes.
Comment #32
Neslee Canil Pinto