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
- Update CKEditor 5 Premium Features to the latest version
- Run
drush cr - Fatal error occurs
Issue fork ckeditor5_premium_features-3541895
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 #3
chikeComment #5
salmonek commentedHi Ferdinand,
Thank you for bringing this to our attention and your fix.
I have added a LegacyInstaller class for compatibility with <11.2
Comment #6
salmonek commentedTested by our QA team, merged to 1.6.x
Comment #7
salmonek commentedReleased in 1.6.1 which was broken by wrong commit merge of another issue. Hotfix version 1.6.2 is already released.