IcecatNV / magento-extension

MIT License
2 stars 9 forks source link

ConfigPatch issue #14

Open coresh opened 12 months ago

coresh commented 12 months ago
bin/magento --version
Magento CLI 2.4.6-p3
"icecat/magento2-extension":
"version": "2.0.0",
PHP 8.2.11 (cli)
bin/magento setup:upgrade -vvv
There is an error in vendor/magento/framework/Setup/Patch/PatchApplier.php at line: 255
get_class(): Argument #1 ($object) must be of type object, string given#0 vendor/magento/framework/Setup/Patch/PatchApplier.php(255): get_class('Icecat\\DataFeed\\Setup\\Patch\\Schema\\ConfigPatch')
#1 setup/src/Magento/Setup/Model/Installer.php(1095): Magento\Framework\Setup\Patch\PatchApplier->applySchemaPatch('Icecat_DataFeed')
#2 setup/src/Magento/Setup/Model/Installer.php(898): Magento\Setup\Model\Installer->handleDBSchemaData(Object(Magento\Setup\Module\Setup), 'schema', Array)
#3 setup/src/Magento/Setup/Console/Command/UpgradeCommand.php(146): Magento\Setup\Model\Installer->installSchema(Array)
#4 vendor/symfony/console/Command/Command.php(298): Magento\Setup\Console\Command\UpgradeCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 vendor/symfony/console/Application.php(1040): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand(Object(Magento\Setup\Console\Command\UpgradeCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 vendor/magento/framework/Console/Cli.php(116): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 vendor/symfony/console/Application.php(171): Magento\Framework\Console\Cli->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 bin/magento(23): Symfony\Component\Console\Application->run()
#10 {main}
Thank you for the quick fix