Installing the Redactor plugin on Craft CMS 5.0.0-alpha.3 results in:
Migration Error – craft\errors\MigrationException
An error occurred while executing the "craft\redactor\migrations\Install migration: require_once(/var/www/project/cms_v5/vendor/craftcms/redactor/src/migrations/m180430_204710_remove_old_plugins.php): Failed to open stream: No such file or directory
And indeed, the plugin's install.php migration:
public function safeUp(): bool
{
// Auto-convert old Rich Text fields
$this->update('{{%fields}}', [
'type' => Field::class,
], [
'type' => 'craft\\fields\\RichText',
], [], false);
// Update any Redactor configs
Plugin::getInstance()->getMigrator()->migrateUp('m180430_204710_remove_old_plugins');
return true;
}
...tries to run m180430_204710_remove_old_plugins.php which does not exist
What happened?
Description
Installing the Redactor plugin on Craft CMS 5.0.0-alpha.3 results in:
And indeed, the plugin's
install.php
migration:...tries to run
m180430_204710_remove_old_plugins.php
which does not existhere's the
require
section of thecomposer.json
:Steps to reproduce
Expected behavior
The plugin will install
Actual behavior
An exception is thrown
Craft CMS version
5.0.0-alpha.3
PHP version
8.2
Operating system and version
n/a
Database type and version
n/a
Image driver and version
n/a
Installed plugins and versions
-