Any time I try to add a field to a content type I get this error:

There was a problem creating field eventdatesplease: The "consecutive_recurring_date" plugin does not exist. Valid plugin IDs for Drupal\Core\Field\FormatterPluginManager are: comment_default, comment_permalink, comment_username, datetime_plain, datetime_time_ago, datetime_default, datetime_custom, daterange_default, daterange_custom, daterange_plain, file_link, file_filemime, file_audio, file_uri, file_extension, file_size, file_default, file_url_plain, file_rss_enclosure, file_video, file_table, image_url, image, link_separate, link, list_default, list_key, recurring_events_eventinstance_date, entity_reference_rss_category, text_summary_or_trimmed, text_default, text_trimmed, author, user_name, number_decimal, number_integer, email_mailto, boolean, basic_string, entity_reference_label, entity_reference_entity_view, uri_link, timestamp, timestamp_ago, number_unformatted, language, entity_reference_entity_id, string

I also get a 404 when I go to add an event.

CommentFileSizeAuthor
#14 issues.png135.27 KBhamza_niazi
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

thisiskonrad created an issue. See original summary.

owenbush’s picture

Component: Code » Recurring Events (Main module)

Is this still happening? I have no idea how I missed this issue, sorry about that.

matt_paz’s picture

The ... plugin does not exist

I experienced the same thing (after clearing cache) when trying to add several different types of recurring events field defs using 2.0.x-dev both 2.0.0-beta3/8.x-1.0-beta3, but didn't investigate more deeply. I was testing with drupal 9.1.8 and php 7.4

micnap’s picture

Also experiencing this on D8.9.14 and PHP 7.4.

jrb’s picture

I ran into this same problem myself, but it was due to a misunderstanding of how the Recurring Events module works. Not sure if other people are doing the same thing...

I saw this when I tried to add a Consecutive/Daily/Monthly Event field to a node. But, that's not how this module works. There are separate entities for events. You can add fields to Event Series or Event Instance entities. To create a new event, got to Content -> Events -> Add Event here:

http://example.com/events/add

micnap’s picture

Aha! That was it. The site I was testing the module on already had an event node type so it wasn't very obvious how to actually add a recurring event. I thought adding the individual event entity field types was odd. Thank you! I'll update the readme.

owenbush’s picture

Thanks for raising this issue and for the help with the understanding and documentation. When git.drupalcode.org has recovered from the sec issue I'll look at getting this merged.

owenbush’s picture

The merge request looks good, but I am confused by this line:

"- Add a reference field to the Event Series entity type."

To get started you shouldn't have to add anything to the Event Series, it should work out of the box.

Can you explain what you meant by that line in the instructions?

  • owenbush committed eec8bfb on 8.x-1.x authored by micnap
    Issue #3115678 by micnap, owenbush, jrb: Plugin does not exist
    

  • owenbush committed fdc4238 on 2.0.x authored by micnap
    Issue #3115678 by micnap, owenbush, jrb: Plugin does not exist
    
owenbush’s picture

Status: Active » Fixed
Issue tags: +rc eligible

This has been merged, thanks all.

Status: Fixed » Closed (fixed)

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

hamza_niazi’s picture

StatusFileSize
new135.27 KB

I am still facing the same issue i have installed recurring_events:^2.0@RC and when i try to create the field consecutive daily etc i got the error plugin doesn't exist

owenbush’s picture

Looks like you're attempting to add one of the recurrence fields to an existing node type, that unfortunately is not how the module works. Instead you get new entity types with the fields, you cannot add those fields to nodes.