Problem/Motivation

I updated ckeditor5_plugin_pack to 1.4.0 which installed 1.5.0 version of ckeditor5_premium_features and the site started experiencing fatal errors when I ran drush cr or drush updb:

PHP Fatal error: Uncaught Error: Class "Drupal\package_manager\StageBase" not found in /var/www/html/public_html/modules/contrib/ckeditor5_premium_features/src/ComposerInstaller/Installer.php:17

I searched for the StageBase class in the Package Manager module and found it has been renamed to SandboxManagerBase as per this change record, https://www.drupal.org/node/3521441

Steps to reproduce

  1. Update CKEditor 5 Premium Features to the latest version
  2. Run drush cr
  3. Fatal error occurs
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

chike created an issue. See original summary.

chike’s picture

Status: Active » Needs review

salmonek made their first commit to this issue’s fork.

salmonek’s picture

Hi Ferdinand,

Thank you for bringing this to our attention and your fix.
I have added a LegacyInstaller class for compatibility with <11.2

salmonek’s picture

Version: 1.5.0 » 1.6.0
Status: Needs review » Reviewed & tested by the community

Tested by our QA team, merged to 1.6.x

salmonek’s picture

Status: Reviewed & tested by the community » Fixed

Released in 1.6.1 which was broken by wrong commit merge of another issue. Hotfix version 1.6.2 is already released.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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