drush cr
PHP Fatal error: Uncaught Error: Interface 'Drupal\wysiwyg_template_core\TemplateInterface' not found in /app/docroot/modules/contrib/wysiwyg_template/src/Entity/Template.php:40
Stack trace:
#0 /app/vendor/composer/ClassLoader.php(571): include()
#1 /app/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/app/vendor/com...')
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass('Drupal\\wysiwyg_...')
#3 [internal function]: spl_autoload_call('Drupal\\wysiwyg_...')
#4 /app/docroot/core/lib/Drupal/Core/Entity/EntityType.php(431): is_subclass_of('Drupal\\wysiwyg_...', 'Drupal\\Core\\Ent...')
#5 /app/docroot/core/lib/Drupal/Core/Entity/EntityType.php(315): Drupal\Core\Entity\EntityType->entityClassImplements('Drupal\\Core\\Ent...')
#6 /app/docroot/core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php(65): Drupal\Core\Entity\EntityType->__construct(Array)
#7 /app/docroot/core/lib/Drupal/Core/Entity/Annotation/EntityType.php(60): Drupal\Core\Config\Entity\ConfigEntityType->__construct(Array)
#8 /app/d in /app/docroot/modules/contrib/wysiwyg_template/src/Entity/Template.php on line 40
Fatal error: Uncaught Error: Interface 'Drupal\wysiwyg_template_core\TemplateInterface' not found in /app/docroot/modules/contrib/wysiwyg_template/src/Entity/Template.php:40
Stack trace:
#0 /app/vendor/composer/ClassLoader.php(571): include()
#1 /app/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/app/vendor/com...')
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass('Drupal\\wysiwyg_...')
#3 [internal function]: spl_autoload_call('Drupal\\wysiwyg_...')
#4 /app/docroot/core/lib/Drupal/Core/Entity/EntityType.php(431): is_subclass_of('Drupal\\wysiwyg_...', 'Drupal\\Core\\Ent...')
#5 /app/docroot/core/lib/Drupal/Core/Entity/EntityType.php(315): Drupal\Core\Entity\EntityType->entityClassImplements('Drupal\\Core\\Ent...')
#6 /app/docroot/core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php(65): Drupal\Core\Entity\EntityType->__construct(Array)
#7 /app/docroot/core/lib/Drupal/Core/Entity/Annotation/EntityType.php(60): Drupal\Core\Config\Entity\ConfigEntityType->__construct(Array)
#8 /app/d in /app/docroot/modules/contrib/wysiwyg_template/src/Entity/Template.php on line 40
[warning] Drush command terminated abnormally.
Works well during migration and after, but when test the migration of fresh DB from Production website it has the error above.
Same results with version 2.3 and 3@RC
Upgrade Drupal 8.9.19 to 9.2.7
PHP 7.4.23
Using LANDo for my local environment
Composer
...
"drupal/wysiwyg_template": "^2.3",
"drupal/wysiwyg_template_core": "^2.3",
...
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
},
{
"type": "package",
"package": {
"name": "ckeditor/templates",
"version": "4.11.1",
"type": "drupal-library",
"dist": {
"url": "https://download.ckeditor.com/templates/releases/templates_4.11.1.zip",
"type": "zip",
"reference": "master"
},
"require": {
"composer/installers": "~1.0"
}
}
}
],
...
composer require 'drupal/wysiwyg_template:^3.0@RC' 'drupal/wysiwyg_template_core:^3.0@RC' --with-dependencies
did not fixed the issue
Closed: cannot reproduce
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.