The help in the Views interface should tell users that they don't have their view properly configured. It shouldn't just be something that pops up when you go to view the page.

Let's help guide folks through this process when they are creating views. We can suggest that adding calendars should be done through the templates.


hi, i'm getting the warning:
The view Calendar of Resource Booking has been saved.

'calendar_plugin_style: The calendar row plugin is required when using the calendar style but it is missing.'

in calendar_plugin_style->render() (line 211 of /home/julien/public_html/dt/sites/all/modules/calendar/includes/

and the calendars do not function.

i've attached an image with the view "month"

is there any setting i'm missing?

Members fund testing for the Drupal project. Drupal Association Learn more


stilllife00’s picture

Project: Resource Booking » Calendar
Version: 7.x-1.0 » 7.x-3.x-dev

Same problem here with the calendar module up to date

Guru’s picture

Try the latest development build. I was getting the same error; upgrading to the latest development release fixed the issue.

LTech’s picture

upgrade didn't solve the issue for me.

awolfey’s picture

Make sure ctools is also latest dev.

Cyberwolf’s picture

This also happened to me when using anything else than the calendar items row style (content, fields), while using the latest dev releases of all required modules (ctools, views, date, calendar).

hathi_ndg’s picture


Same thing happened to me when creating a new Calendar View. I'm using the latest dev releases of Views, Date, Calendar and CTools (as of Oct 1st).


'calendar_plugin_style: The calendar row plugin is required when using the calendar style but it is missing.'
in calendar_plugin_style->render() (line 211 in C:\xampp\htdocs\www_groupe\sites\all\modules\calendar\includes\

Any help is most welcome


somanyfish’s picture

Same error for me. I have installed the latest (as of 10/7) of CTools, Views, Calendar and Date. I followed all of the steps on the Debugging page. I uninstalled Calendar completely and then created a new view of type Calendar with these options:

Show "Content" of type "Event" sorted by "Newest first"
- Create a page
- Page title = "Events Calendar"
- Path = 'news-events/calendar'
Display format = "Calendar" of "fields"
Items to display = 10
Use pager = true
Create a menu link = false
Include an RSS feed = false

When I hit "Continue & Edit", I get this error:

User notice: <pre>&#039;calendar_plugin_style: The calendar row plugin is required when using the calendar style but it is missing.&#039;</pre> in trigger_error() (line 7193 of /var/www/html/includes/ =>
axle_foley00’s picture

I too am getting this same issue, even with the latest -dev releases of the modules required.

kortas87’s picture

having the same problem... all devs...

causalloop’s picture


causalloop’s picture

Priority: Normal » Major

can't display the mini cal at all without that error. Latest devs of calendar, date, ctools etc.

Full error:

'calendar_plugin_style: A date argument is required when using the calendar style, but it is missing.'

in calendar_plugin_style->render() (line 215 of /var/www/sites/all/modules/calendar/includes/
skolesnyk’s picture

This is quite a major bug and hasn't been fixed for over a month.

Anybody's got an idea how to quickly manually fix it?

jonjob’s picture

Comment #12 on fixed this issue for me

J. Cohen’s picture

Here's how I fixed it in Drupal 7:

  • Delete all the date fields on the content types.
  • Uninstall the calendar and date modules.
  • If you get a message like "Required by: Drupal (Fields pending deletion)" but you've already deleted all the date fields, run cron to complete the deletion process.
  • Reinstall the modules.

EDIT #1: the problem returned:

'calendar_plugin_style: The calendar row plugin is required when using the calendar style but it is missing.'
in calendar_plugin_style->render() (line 211 of /home/*****/public_html/*****/sites/all/modules/calendar/includes/

EDIT #2: I fixed that by setting "Show: Calendar Items | Settings", but now it says:


'calendar_plugin_style: A date argument is required when using the calendar style, but it is missing.'

in calendar_plugin_style->render() (line 215 of /home/*****/public_html/*****/sites/all/modules/calendar/includes/

Here is where I am so far:

mtyf’s picture

as #5 mentioned above just use calendar format & calendar items instead of fields.

AniaMi’s picture


J. Cohen’s picture

@mtyf (#15) -- thanks...

linitrex’s picture

Using calendar format & calendar items is not a solution. There is a good reason to have the fields option available. It is completely different use-case. Calendar items format is not a substitute for the fields it just works different way. Still interested if there is any solution. Maybe reverting to an older version of the module until fixed?

J. Cohen’s picture

@mtyf -- I tried that, but it isn't working or I'm not sure what you mean. This is what I had before:

This is what happened when I tried to remove the fields:

dvales’s picture

subscribing, same problem

angelinardo’s picture

I'm having the same issue. 'calendar_plugin_style: Missing calendar row plugin'

Ingmar’s picture

Me too. With the latest install

alexkb’s picture

I was getting this same error, and I first tried upgrading to -dev versions, and then even applying some patches (from another d.o issue), but the problem seemed to be caused by not having a "Contextual Filter" set to the a date field in my custom view.

I just looked at the calendar view that comes with the calendar module for an example of this.

Hope that can help someone.

mghatiya’s picture

Thanks Alex. That did help.

sr631’s picture

I have a "Contextual Filter" correctly set up (#23 is not the issue here) - I have a working month-view calendar with 'Show: Calendar Items' But I get this error if I change "Show" to anything else. (I want to use Content-teaser)

Is it supposed to be supported to choose a different "Show", or is "Calendar Items" the only setting that is supposed to work for a calendar? (I only need month- view)

Does anyone have a suggestion of how to work-around this bug to style the data rendered for an event? As a "Calendar Item" all styles and wrapping tags added per field are ignored/stripped. Overriding the field tpl gives some wrapping, but not the ability to nest and group fields. Ideally I want to be able to render the teaser view mode for my event. Is there another way to do that?

sr631’s picture

Note: I figured out a work around for this using the template_preprocess_calendar_item hook. It may be ugly to load the node view there and overwrite the "rendered_fields" array, but it works! I'd still be interested to learn the "right" way to do this if it's out there.


Cyberwolf’s picture

KarenS’s picture

Status: Active » Closed (duplicate)

I think this issue is more or less a duplicate of #1236610: Calendar plugin style does not allow usage of inherited calendar_plugin_row_node. The calendar uses its own row plugin because it has to add a bunch of information that is not available in other row plugins. The error is telling you that you need that plugin, it is not a 'bug'.

See the bottom of that related issue for an explanation of why the plugin is necessary.

pags’s picture


I'm experiencing this error at the moment too.

I am a new Drupal Developer, and in reviewing this discussion I'm not seeing what strike's me as a clear solution for the problem.

My Drupal installation is version 7.1. I have Views 7.x-3.1 installed and have a number of views created and working just fine. This morning I downloaded and enabled Date 7.x-2.0-rc1 and then downloaded and enabled Calendar 7.x-3.0-alpha2, in an attempt to get a calendar function working on the website I'm developing.

After enabling Calenedar, Date, Date All Day, Date API, Date Popup, and Date Views, I created a new content type that includes a date field. I then created a number of new nodes of this new content type. I then tried to create a Calendar view of the content I had just created and encountered the error message

'calendar_plugin_style: The calendar row plugin is required when using the calendar style, but it is missing.'

I searched for this error on the Drupal site and found this thread. I read some discussion on Contextual Filters that was indicating a fix for the problem. I tried it but the problem remains.

I also read that the suggestion for using the latest development versions for Calendar and Date and did so even though there was an explicit warning at the end of the Date notes stating that it was NOT working. The same error message occurred ( yes, I cleared the cache, and reserved my date field) Additionally, I encountered a new error (

Call to undefined function _views_prepare_handler()

Frustrated with that, I went back to the Date 7.x-2.0-rc1 and Calendar 7.x-3.0-alpha2 and the "Call to undefined function _views_prepare_handler()" went away.

So at present I cannot get my calendar view to work due to this plugin error.

Most of this thread seems geared to developers of the Calendar and Date code and perhaps there is a solution offered in here, but I'm not seeing it. Can somebody offer a straightforward explanation as to how fix this?

Thank You

navinkmrsingh’s picture

The best way to avoid any such circumstances is to 'clone the whole view' and then make required changes to FILTERS, FIELDS and Contextual FILTERS

That worked for me :)

xgougeon’s picture

Hi ! I'm having the same problem...
I'd like to try your solution, but what do you mean by "required changes to FILTERS, FIELDS and Contextual FILTERS" ??

xgougeon’s picture

Globally has anyone ever made a calendar view block working properly ??? I see many hacking and tricking, but... before diving into the jungle, if anyone could explain the proper way to get this working... It would help me a lot. Cheers !

kim_charest’s picture


I have the exact same problem as cited in #14. Can someone help?

Many thanks!

billyverde’s picture

Same problem here.

trim108’s picture

there is a solution of this problem:

when you chose field in view for CONTEXTUAL FILTERS instead "Content: Date of event - name field" you need chose "Date: Date (node) (Content: Date of event - name field)"

for more info see default calendar view

nflowers1228’s picture

This seemed to solve my issues. I got the error message when I tried to build my own view, but then found these instructions that showed me step by step how set up the calendar. The key for me was to pick a calendar template (see step 5) then the view was created for me and I could customize it the way I wanted:

pilbster’s picture

Problem solved for me by eventually following nflowers1228's advice.

trim108 also made me realise why the Arlin Sandbulte video was showing a different dialogue box to me when I was doing the contextual filter. So I'll keep this in mind in the future.


StephenWard’s picture

I recently encountered this error. I resolved it by setting the default value on the contextual filter to the current date. I hope this helps anyone still having trouble.

Umayal’s picture

I am using Calendar 7.x-3.4
I am also have same error:
'calendar_plugin_style: The calendar row plugin is required when using the calendar style, but it is missing.'
in calendar_plugin_style->render() (line 228 of /sites/all/modules/calendar/includes/

ditcheva’s picture

Version: 7.x-3.x-dev » 7.x-3.0

#35 fixes the issue. make sure you also provide the 'Current date' as the default when an argument is not present!

Umayal’s picture

Version: 7.x-3.0 » 7.x-3.4

Thanks for replay.

I already create a calender block view using calender 7.x-3.0
I pass current date as argument then I can view month calender in block.
But I update the calender module 7.x.3.4
I cannot get calender, It display error (I already set current date is default value in view)

santy’s picture

I resolved the problem deleting de view, and creating a new view of calendar,

Umayal’s picture

Thanks Mr.Santy. I done it. It works.

Dukuu’s picture

Category: support » bug
Status: Closed (duplicate) » Active

Dont know why closed the thread when this bug still occurs. Calendar worked earlier and stopped to work after upgrading.

Updated from 7.x-3.0-alpha2 to 3.4 and got an error

'calendar_plugin_style: A date argument is required when using the calendar style, but it is missing or is not using the default date.'
in calendar_plugin_style->render()

View for calendar also stops working, so that unable to change any preferences.

Several ways, such as to disable-uninstall-delete-reupload-enable the calendar module, give no results.

For me this bug became fixed when i copied my older 7.x-3.0-alpha2 version of calendar to the cleared from 3.4 version site in ordinary way. Hope that will help somewone like me.

If this thread must be closed, sorry me for opening it.

Dukuu’s picture

Status: Active » Closed (duplicate)

Yep, looks like the problem comes only if updating. In latest 3.4 version repeating the same view makes no problems. So my bug report is ot really fair. I close back this thread. Thanks to the devs, that made the module better than it was =) In new version i made that things, that i could not in old one. Great thanks for that!

rootical’s picture

Status: Closed (duplicate) » Active

I am sorry but i have to change the state to active because none of the proposed ways of fixing it did not help me.
I`ve tried totally delete and reinstall Calendar module;
I can`t edit calndar views - it gives a blank page.

Please someone help to fix it.

wisdom’s picture

To avoid the issue create a view from template:
structure >> view >> add view from templates
Then the view gets automatically the setting:
Format: Calendar | Settings
Show: Calendar Entities | Settings

tanmayk’s picture

Problem solved as in #36

dewolfe001’s picture

Ditto-- using one of the View templates seemed to be the only way I could remedy this. I used one of those views then edited the View to put in a content type filter so that the desired content would show up.

zunaeid’s picture

Problem solved in (see step 4)

pags’s picture

Just updated to 3.4 and this problem is back. I experienced this in prior version, found a fix, and now its back. Posting #45 reports this is fixed in 3.4... but NOT!!! Please fix... there are lots of posts here indicating that there is a problem.

Also, I have 3 different calendar views and I am unable to edit any of them since applying updates... all come up blank.

pags’s picture

Progress update...

I found that I could export and then import my calendar views which enabled me to be able to see and edit them.... however the plug-in error remains.

pags’s picture

I found that I could not get any of my existing calendar views to work after updating to 3.4. I had to delete them and recreate them using the "add view from template" option in Views.

So to summarize these three posts (#51, #52, #53):

  • Upgrading to calendar 7-3.4 broke my existing calendar views, I could not even see my existing calendar views... screen was blank as others have reported.
  • In order to be able to see them (so I could see enough in order to recognize how to recreate them) I tried exporting them and then imported them. The error message remained but at least I could now read them.
  • After reading them to refresh my memory as to how they were coded, I deleted them and recreated them using the "add view from template" option.

This problem needs to be fixed as I ran into this very same error in the previous calendar release... last time I got by re-specifying my contextual filter, but not this time. Something is amiss here and it was time consuming to have go through my calendar coding again this afternoon. Lots of others seem to be having similar problems.

carolinagc’s picture

I did what #47 explains create a view from template: structure >> view >> add view from templates
and it worked perfectly form me :-)


mgifford’s picture

Could some descriptive text to point folks to the Calendar templates?

alimuls’s picture

62.36 KB

in calendar_plugin_style->render() (line 228 of /var/www/vhosts/

Need a quick help.

Neverbalnost’s picture

Hi there!
I had the same problem. After I carefully read the documentation I discovered that the calendar view should be created from the template. If it is done this way - module works like magic.
Hope this information helps someone.

Sk8erPeter’s picture

Yes, it's written here:
Step by step guide to create an event listing with calendar block in Drupal 7

"Create a calendar block for events

1. [...] ›› UPDATE (2012-08-23, related to Calendar 7.x-3.4): you should rather use "Add view from template" on admin/structure/views depending on the appropriate field. Sample screenshots: "Add view from template"; Views + Calendar templates."

cllamas’s picture

Hi, I'm creating the calendar view from the template and I cannot make it work.

xbrianx’s picture

I am getting this same issue but reading #50 helped out!

tuccio’s picture

So unless you create the calendar view from a template, a calendar view does not work? This is outstanding.

cup_of_squirrel’s picture

Figured it out. Here's what worked for me:

  1. You have to have a filter using Date in your contextual filters
  2. In said filter configuration under When the filter value is NOT available check the Provide default value option and set it to Current date
arphaus’s picture

Why is this happening for me on a clean install of Drupal? Shouldn't the Views that come with the module just work out of the box?

ondway2legend’s picture

I did what #47 explains and it worked perfectly form me :-)

Thanks bro...

nicktr’s picture

#36 worked for me - Use a view template!

robearls’s picture

So the calendar "attachment" display I want to add to a view with 3 other existing, quite-complex, displays wont work unless I start all over again and create from a template?

This is broken.

mgifford’s picture

Title: 'calendar_plugin_style: The calendar row plugin is required when using the calendar style but it is missing.' » Better Help Mising - 'calendar_plugin_style: The calendar row plugin is required when using the calendar style but it is missing.'
Issue summary: View changes

We can do better at describing what needs to be done!

vishal.sirsodiya’s picture

Hello Everyone,

I am also facing this types of error.
Please help me.

calendar_plugin_style: The calendar row plugin is required when using the calendar style, but it is missing

niner94949’s picture

#62 worked for me. Thank you very much for the suggestion.

jaesperanza’s picture

For some reason, mine got fixed doing a clear cache and cron. Issue started when working around with Views fields.

Max1’s picture

This thread is four years old..

Yes, I ran into the same error too.

Max1’s picture

Wow, #58 quick saved me. Make view from template!

pattyz’s picture

It appears to me that the Calendar module is not functioning at all. I get the error: 'calendar_plugin_style: The calendar row plugin is required when using the calendar style, but it is missing.' when I only ENABLE the module. I haven't done anything yet. If we need to avoid the module, what is the alternative? I need to get a calendar up ASAP. I tried Full Calendar, but it also doesn't work. I followed the instructions carefully, but when I save the date field in the View, the screen disappears and becomes full of code.

Is there any Calendar module that is currently functioning? I would really appreciate anyone's help. Please email me at

VM’s picture

user above is reporting in the forums. It is evident the user has not worked through this thread. User also refuses to test on a clean installation.

Max1’s picture

Tip: clean installation easy to get on

CLEList’s picture

This is the answer people

allenthehusband’s picture

I fixed this for my calendar view by changing the below:


Format: Calendar
Show: Fields


Format: Calendar
Show: Calendar Entities

umeshpatil’s picture


Change the format to Calendar and change to Calendar Entities instead of fields in Show,

For data to be popped up into the calendar, the date in content type has to be Date ISO.

If you want to fresh start then follow this article,

Or check my comment on Stackoverflow

umeshpatil’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

artiprasad’s picture


Here is solution:
1) go to admin >> Views
2) Click on Add view from template
3) Select which format do you want
4) Click on add
5) Name the view >> Continue
6) Now set up your settings and finally save it.

prempatel2447’s picture

To fix the below issue-

Better Help Mising - 'calendar_plugin_style: The calendar row plugin is required when using the calendar style but it is missing.'

We Just needs to add the Configure contextual filter: Date: Date (node) in view with the below setting-

WHEN THE FILTER VALUE IS NOT IN THE URL => Provide default value (Current Date)

Granularity : Month

Dates to compare : Start/End date range

Add multiple value identifier : No

Date field(s) : Content: event_date - start date (field_event_date)

nickBumgarner’s picture

Comment #84 worked for me.

brad.bulger’s picture

there is no comment 84.

brad.bulger’s picture

Status: Closed (fixed) » Active

this is not "Fixed" in any sense. if the only row display format that will work is "Calendar entities" than the other options shouldn't be available. at the least, it should be caught by a validation error when saving the view. this raw developer's debugging message is a job half-done, to put the best face on it.

nehajyoti’s picture

For Drupal 8 version 8.x:
This is the error coming on adding any of the add view from template:
\Drupal\calendar\Plugin\views\style\CalendarStyle: A calendar date argument is required when using the calendar style, but it is missing or is not using the default date.

Is this error already fixed for D8 ?

sgurlt’s picture

The issues appears when you create a calendar from the views template. In my case it came from the week display, the contextual filter had a broken handler.

quindio’s picture

I have been trying to figure out why my event calendar view is not working,
since I updated drupal 8.1.2 to 8.1.7
Before disabling the views caching the view was not displaying anything but if I take
the SQL created by the view and ran it inside MySql I would get result.

After I disabling the Views->Views data caching->advance I am getting
the message

the calendar date argument is required

I enabled the views caching and I am still getting the above message.

My views uses a date argument for 'Fields' and for 'Sort criteria'
I have included a snapshot of my view.

Is there a fix for this?


quindio’s picture

I was able to bypass my problem by removing the latest calendar module and putting the previous calendar module and my calendar is working. Something is wrong with the latest calendar module.


NancyDru’s picture

#85 was the only comment here that helped me.