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.
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | issues.png | 135.27 KB | hamza_niazi |
Issue fork recurring_events-3115678
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
Comment #2
owenbush commentedIs this still happening? I have no idea how I missed this issue, sorry about that.
Comment #3
matt_paz commentedI 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
Comment #4
micnap commentedAlso experiencing this on D8.9.14 and PHP 7.4.
Comment #5
jrbI 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
Comment #6
micnap commentedAha! 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.
Comment #8
owenbush commentedThanks 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.
Comment #9
owenbush commentedThe 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?
Comment #12
owenbush commentedThis has been merged, thanks all.
Comment #14
hamza_niaziI 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
Comment #15
owenbush commentedLooks 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.