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

jsimonis’s picture

I have the same problem on my site. The calendar was working previously.

ViiNCENZO’s picture

Exactly the same for me.

KarenS’s picture

Status:Active» Fixed

It 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.

ViiNCENZO’s picture

Thank you very much! - That worked for me!

johndieter’s picture

Status:Needs work» Fixed

I 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?

johndieter’s picture

When 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).

johndieter’s picture

For 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

johndieter’s picture

Status:Fixed» Needs work

the README does not give enough information for me to fix this problem.

jpguerra’s picture

Status:Fixed» Needs work

I 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.

leoklein’s picture

subscribe

kurtismccartney’s picture

I 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?

kurtismccartney’s picture

Woo- 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.

Brian Altenhofel’s picture

It 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.

glennnz’s picture

Same 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.

kpojeta’s picture

#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!!!

jonjob’s picture

#12 fixed mine! Thanks!! I've been pulling my hair out trying to get the calendar default view editable.

johndieter’s picture

#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.

chipway’s picture

#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 ?

chipway’s picture

Fixed by :
DELETE FROM views_view WHERE name = 'calendar';
drush cc all
+ redo #12

KarenS’s picture

Status:Needs work» Fixed

"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.

Status:Fixed» Closed (fixed)

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

GaneshKumar’s picture

#12 worked for me.
Thanks a lot.

dwp’s picture

It 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

sumate.sdk’s picture

#23 It's worked easily for me.

Dharmendra Jadeja’s picture

#23 also worked for me Thanks for post.

Hadi Farnoud’s picture

#23 didn't work for me

alfbarreiro’s picture

#23 worked for me.
Thanks a lot.

ZaDeveloper’s picture

I 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

larose’s picture

Issue summary:View changes

Hi,
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

TonyScott’s picture

Why 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!

TonyScott’s picture

Status:Closed (fixed)» Needs work

I 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.