Testing out the module, and created a simple recurring event series, and saved.
Edited the same event series to change the recurrence definition
Clicked on the "confirm changes" button to delete and re-create

WSOD

Here's the error message:
Drupal\Core\Entity\EntityStorageException: The "" plugin does not exist. Valid plugin IDs for Drupal\recurring_events\EventInstanceCreatorPluginManager are: recurring_events_eventinstance_recreator in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 811 of /Users/bauman/Sites/iccr-db/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).

And partial stacktrace:

0 = {array} [6]
 file = "~/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php"
 line = {int} 25
 function = "doGetDefinition"
 class = "Drupal\Core\Plugin\DefaultPluginManager"
 type = "->"
 args = {array} [3]
1 = {array} [6]
 file = "~/web/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php"
 line = {int} 16
 function = "getDefinition"
 class = "Drupal\Core\Plugin\DefaultPluginManager"
 type = "->"
 args = {array} [1]
2 = {array} [6]
 file = "~/web/core/lib/Drupal/Component/Plugin/PluginManagerBase.php"
 line = {int} 83
 function = "createInstance"
 class = "Drupal\Core\Plugin\Factory\ContainerFactory"
 type = "->"
 args = {array} [2]
3 = {array} [6]
 file = "~/web/modules/contrib/recurring_events/recurring_events.module"
 line = {int} 224
 function = "createInstance"
 class = "Drupal\Component\Plugin\PluginManagerBase"
 type = "->"
 args = {array} [2]

The root problem here is the "creator_plugin" config value is not initialized, so the call to $active_plugin = $plugin_manager->createInstance($config->get('creator_plugin'), []); craps out.

Recommended solution: fix the install config.

Comments

AaronBauman created an issue. See original summary.

owenbush’s picture

Yea the plugin was missing from the install config, this was fixed as part of #3316080: Plugin not found after upgrading from rc2 to rc5 but no release yet including it.

aaronbauman’s picture

Status: Active » Needs review
StatusFileSize
new654 bytes

Updated: following up from #3316080: Plugin not found after upgrading from rc2 to rc5, which was a partial fix except for adding the new config to the settings form.

Here's a patch for that.

owenbush’s picture

Oh wow, I missed this too. Awesome. Thank you for the patch. I'll get this merged as soon as possible.

  • owenbush committed 5fd69a0 on 2.0.x
    Issue #3319567 by AaronBauman, owenbush: WSOD when updating event series...

  • owenbush committed dd8196c on 8.x-1.x
    Issue #3319567 by AaronBauman, owenbush: WSOD when updating event series...
owenbush’s picture

Status: Needs review » Fixed

Thank you for the patch. This has been merged into the latest dev branches for 8.x-1.x and 2.0.x

Status: Fixed » Closed (fixed)

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