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

'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/calendar_plugin_style.inc).

and the calendars do not function.

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

is there any setting i'm missing?

Files: 

Comments

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

Same problem here with the calendar module up to date

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

upgrade didn't solve the issue for me.

Make sure ctools is also latest dev.

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

Hi,

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

Debug:

'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\calendar_plugin_style.inc).

Any help is most welcome

thanks!

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/common.inc). =>

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

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

ditto

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/calendar_plugin_style.inc).

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?

Comment #12 on http://drupal.org/node/1263456 fixed this issue for me

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:

Debug:
'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/calendar_plugin_style.inc).

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

Debug:
'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/calendar_plugin_style.inc).

Here is where I am so far:
http://i.imgur.com/0qF8d.png

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

subs

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

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?

@mtyf -- I tried that, but it isn't working or I'm not sure what you mean. This is what I had before:
http://i.imgur.com/0qF8d.png

This is what happened when I tried to remove the fields:
http://i.imgur.com/QOLKU.png

subscribing, same problem

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

Me too. With the latest install

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.

Thanks Alex. That did help.

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?

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.

Thanks.

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.

Hello,

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 (http://drupal.org/node/1413200)

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

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 :)

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

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 !

Hi!

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

Many thanks!

Same problem here.

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

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: http://drupal.org/node/1477602

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.

cheers

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.

I am using Calendar 7.x-3.4
I am also have same error:
Debug:
'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/calendar_plugin_style.inc)

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!

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)

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

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

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

Debug:
'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.

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!

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.

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

Problem solved as in #36
http://drupal.org/node/1477602

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.

Problem solved in http://drupal.org/node/1477602 (see step 4)

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.

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.

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.

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

Thanks!!

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

StatusFileSize
new62.36 KB

in calendar_plugin_style->render() (line 228 of /var/www/vhosts/launchinteractivemedia.com/httpdocs/clients/exploreut/sites/all/modules/calendar/includes/calendar_plugin_style.inc).

Need a quick help.

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.

Yes, it's written here:
http://drupal.org/node/1250714
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."

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

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

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

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

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?

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

Thanks bro...

#36 worked for me - Use a view template!

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.