Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Installing ecommerce bundle in cli send many errors. #4452

Open
Yivan opened this issue May 27, 2019 · 1 comment

Comments

2 participants
@Yivan
Copy link
Contributor

commented May 27, 2019

Hello,

Installing the ecommerce bundle in cli send many errors.
This is on the last stable Pimcore.
Enabling the bundle (php bin/console pimcore:bundle:enable -v PimcoreEcommerceFrameworkBundle) was done before and went ok with no errors.

www-data@pimcore-stable-php-int:~/html$ php bin/console pimcore:bundle:install -v PimcoreEcommerceFrameworkBundle
Installing bundle PimcoreEcommerceFrameworkBundle

Migrating up to 00000001 from 0

  ++ migrating 00000001

16:38:55 ERROR     [pimcore] Exception: There is no class with the name: FilterDefinition in /var/www/html/vendor/pimcore/pimcore/models/DataObject/ClassDefinition.php:232
Stack trace:
#0 /var/www/html/vendor/pimcore/pimcore/bundles/EcommerceFrameworkBundle/Tools/Installer.php(211): Pimcore\Model\DataObject\ClassDefinition::getByName('FilterDefinitio...')
#1 /var/www/html/vendor/pimcore/pimcore/bundles/EcommerceFrameworkBundle/Tools/Installer.php(161): Pimcore\Bundle\EcommerceFrameworkBundle\Tools\Installer->installClasses()
#2 /var/www/html/vendor/pimcore/pimcore/lib/Migrations/Migration/InstallMigration.php(44): Pimcore\Bundle\EcommerceFrameworkBundle\Tools\Installer->migrateInstall(Object(ProxyManagerGeneratedProxy\__PM__\Doctrine\DBAL\Schema\Schema\Generateda7193b54919e65c954d994217ebb5fab), Object(Pimcore\Migrations\InstallVersion))
#3 /var/www/html/vendor/pimcore/pimcore/lib/Migrations/Version.php(312): Pimcore\Migrations\Migration\InstallMigration->up(Object(ProxyManagerGeneratedProxy\__PM__\Doctrine\DBAL\Schema\Schema\Generateda7193b54919e65c954d994217ebb5fab))
#4 /var/www/html/vendor/doctrine/migrations/lib/Doctrine/DBAL/Migrations/Migration.php(172): Pimcore\Migrations\Version->execute('up', false, false)
#5 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/Installer/MigrationInstaller.php(351): Doctrine\DBAL\Migrations\Migration->migrate('00000001', false)
#6 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/Installer/MigrationInstaller.php(145): Pimcore\Extension\Bundle\Installer\MigrationInstaller->executeInstallMigration(true)
#7 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/PimcoreBundleManager.php(484): Pimcore\Extension\Bundle\Installer\MigrationInstaller->install()
#8 /var/www/html/vendor/pimcore/pimcore/bundles/CoreBundle/Command/Bundle/InstallCommand.php(45): Pimcore\Extension\Bundle\PimcoreBundleManager->install(Object(Pimcore\Bundle\EcommerceFrameworkBundle\PimcoreEcommerceFrameworkBundle))
#9 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php(255): Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(978): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(86): Symfony\Component\Console\Application->doRunCommand(Object(Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(255): Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand(Object(Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(74): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(148): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/bin/console(26): Symfony\Component\Console\Application->run()
#16 {main}
16:38:55 WARNING   [pimcore] Removed unknown allowed type [ FilterInputField ] from allowed types of field collection
16:39:05 ERROR     [pimcore] Exception: There is no class with the name: OfferToolCustomProduct in /var/www/html/vendor/pimcore/pimcore/models/DataObject/ClassDefinition.php:232
Stack trace:
#0 /var/www/html/vendor/pimcore/pimcore/bundles/EcommerceFrameworkBundle/Tools/Installer.php(211): Pimcore\Model\DataObject\ClassDefinition::getByName('OfferToolCustom...')
#1 /var/www/html/vendor/pimcore/pimcore/bundles/EcommerceFrameworkBundle/Tools/Installer.php(161): Pimcore\Bundle\EcommerceFrameworkBundle\Tools\Installer->installClasses()
#2 /var/www/html/vendor/pimcore/pimcore/lib/Migrations/Migration/InstallMigration.php(44): Pimcore\Bundle\EcommerceFrameworkBundle\Tools\Installer->migrateInstall(Object(ProxyManagerGeneratedProxy\__PM__\Doctrine\DBAL\Schema\Schema\Generateda7193b54919e65c954d994217ebb5fab), Object(Pimcore\Migrations\InstallVersion))
#3 /var/www/html/vendor/pimcore/pimcore/lib/Migrations/Version.php(312): Pimcore\Migrations\Migration\InstallMigration->up(Object(ProxyManagerGeneratedProxy\__PM__\Doctrine\DBAL\Schema\Schema\Generateda7193b54919e65c954d994217ebb5fab))
#4 /var/www/html/vendor/doctrine/migrations/lib/Doctrine/DBAL/Migrations/Migration.php(172): Pimcore\Migrations\Version->execute('up', false, false)
#5 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/Installer/MigrationInstaller.php(351): Doctrine\DBAL\Migrations\Migration->migrate('00000001', false)
#6 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/Installer/MigrationInstaller.php(145): Pimcore\Extension\Bundle\Installer\MigrationInstaller->executeInstallMigration(true)
#7 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/PimcoreBundleManager.php(484): Pimcore\Extension\Bundle\Installer\MigrationInstaller->install()
#8 /var/www/html/vendor/pimcore/pimcore/bundles/CoreBundle/Command/Bundle/InstallCommand.php(45): Pimcore\Extension\Bundle\PimcoreBundleManager->install(Object(Pimcore\Bundle\EcommerceFrameworkBundle\PimcoreEcommerceFrameworkBundle))
#9 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php(255): Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(978): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(86): Symfony\Component\Console\Application->doRunCommand(Object(Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(255): Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand(Object(Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(74): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(148): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/bin/console(26): Symfony\Component\Console\Application->run()
#16 {main}
16:39:06 ERROR     [pimcore] Exception: There is no class with the name: OfferToolOffer in /var/www/html/vendor/pimcore/pimcore/models/DataObject/ClassDefinition.php:232
Stack trace:
#0 /var/www/html/vendor/pimcore/pimcore/bundles/EcommerceFrameworkBundle/Tools/Installer.php(211): Pimcore\Model\DataObject\ClassDefinition::getByName('OfferToolOffer')
#1 /var/www/html/vendor/pimcore/pimcore/bundles/EcommerceFrameworkBundle/Tools/Installer.php(161): Pimcore\Bundle\EcommerceFrameworkBundle\Tools\Installer->installClasses()
#2 /var/www/html/vendor/pimcore/pimcore/lib/Migrations/Migration/InstallMigration.php(44): Pimcore\Bundle\EcommerceFrameworkBundle\Tools\Installer->migrateInstall(Object(ProxyManagerGeneratedProxy\__PM__\Doctrine\DBAL\Schema\Schema\Generateda7193b54919e65c954d994217ebb5fab), Object(Pimcore\Migrations\InstallVersion))
#3 /var/www/html/vendor/pimcore/pimcore/lib/Migrations/Version.php(312): Pimcore\Migrations\Migration\InstallMigration->up(Object(ProxyManagerGeneratedProxy\__PM__\Doctrine\DBAL\Schema\Schema\Generateda7193b54919e65c954d994217ebb5fab))
#4 /var/www/html/vendor/doctrine/migrations/lib/Doctrine/DBAL/Migrations/Migration.php(172): Pimcore\Migrations\Version->execute('up', false, false)
#5 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/Installer/MigrationInstaller.php(351): Doctrine\DBAL\Migrations\Migration->migrate('00000001', false)
#6 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/Installer/MigrationInstaller.php(145): Pimcore\Extension\Bundle\Installer\MigrationInstaller->executeInstallMigration(true)
#7 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/PimcoreBundleManager.php(484): Pimcore\Extension\Bundle\Installer\MigrationInstaller->install()
#8 /var/www/html/vendor/pimcore/pimcore/bundles/CoreBundle/Command/Bundle/InstallCommand.php(45): Pimcore\Extension\Bundle\PimcoreBundleManager->install(Object(Pimcore\Bundle\EcommerceFrameworkBundle\PimcoreEcommerceFrameworkBundle))
#9 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php(255): Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(978): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(86): Symfony\Component\Console\Application->doRunCommand(Object(Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(255): Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand(Object(Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(74): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(148): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/bin/console(26): Symfony\Component\Console\Application->run()
#16 {main}
16:39:07 ERROR     [pimcore] Exception: There is no class with the name: OfferToolOfferItem in /var/www/html/vendor/pimcore/pimcore/models/DataObject/ClassDefinition.php:232
Stack trace:
#0 /var/www/html/vendor/pimcore/pimcore/bundles/EcommerceFrameworkBundle/Tools/Installer.php(211): Pimcore\Model\DataObject\ClassDefinition::getByName('OfferToolOfferI...')
#1 /var/www/html/vendor/pimcore/pimcore/bundles/EcommerceFrameworkBundle/Tools/Installer.php(161): Pimcore\Bundle\EcommerceFrameworkBundle\Tools\Installer->installClasses()
#2 /var/www/html/vendor/pimcore/pimcore/lib/Migrations/Migration/InstallMigration.php(44): Pimcore\Bundle\EcommerceFrameworkBundle\Tools\Installer->migrateInstall(Object(ProxyManagerGeneratedProxy\__PM__\Doctrine\DBAL\Schema\Schema\Generateda7193b54919e65c954d994217ebb5fab), Object(Pimcore\Migrations\InstallVersion))
#3 /var/www/html/vendor/pimcore/pimcore/lib/Migrations/Version.php(312): Pimcore\Migrations\Migration\InstallMigration->up(Object(ProxyManagerGeneratedProxy\__PM__\Doctrine\DBAL\Schema\Schema\Generateda7193b54919e65c954d994217ebb5fab))
#4 /var/www/html/vendor/doctrine/migrations/lib/Doctrine/DBAL/Migrations/Migration.php(172): Pimcore\Migrations\Version->execute('up', false, false)
#5 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/Installer/MigrationInstaller.php(351): Doctrine\DBAL\Migrations\Migration->migrate('00000001', false)
#6 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/Installer/MigrationInstaller.php(145): Pimcore\Extension\Bundle\Installer\MigrationInstaller->executeInstallMigration(true)
#7 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/PimcoreBundleManager.php(484): Pimcore\Extension\Bundle\Installer\MigrationInstaller->install()
#8 /var/www/html/vendor/pimcore/pimcore/bundles/CoreBundle/Command/Bundle/InstallCommand.php(45): Pimcore\Extension\Bundle\PimcoreBundleManager->install(Object(Pimcore\Bundle\EcommerceFrameworkBundle\PimcoreEcommerceFrameworkBundle))
#9 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php(255): Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(978): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(86): Symfony\Component\Console\Application->doRunCommand(Object(Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(255): Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand(Object(Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(74): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(148): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/bin/console(26): Symfony\Component\Console\Application->run()
#16 {main}
16:39:09 ERROR     [pimcore] Exception: There is no class with the name: OnlineShopOrder in /var/www/html/vendor/pimcore/pimcore/models/DataObject/ClassDefinition.php:232
Stack trace:
#0 /var/www/html/vendor/pimcore/pimcore/bundles/EcommerceFrameworkBundle/Tools/Installer.php(211): Pimcore\Model\DataObject\ClassDefinition::getByName('OnlineShopOrder')
#1 /var/www/html/vendor/pimcore/pimcore/bundles/EcommerceFrameworkBundle/Tools/Installer.php(161): Pimcore\Bundle\EcommerceFrameworkBundle\Tools\Installer->installClasses()
#2 /var/www/html/vendor/pimcore/pimcore/lib/Migrations/Migration/InstallMigration.php(44): Pimcore\Bundle\EcommerceFrameworkBundle\Tools\Installer->migrateInstall(Object(ProxyManagerGeneratedProxy\__PM__\Doctrine\DBAL\Schema\Schema\Generateda7193b54919e65c954d994217ebb5fab), Object(Pimcore\Migrations\InstallVersion))
#3 /var/www/html/vendor/pimcore/pimcore/lib/Migrations/Version.php(312): Pimcore\Migrations\Migration\InstallMigration->up(Object(ProxyManagerGeneratedProxy\__PM__\Doctrine\DBAL\Schema\Schema\Generateda7193b54919e65c954d994217ebb5fab))
#4 /var/www/html/vendor/doctrine/migrations/lib/Doctrine/DBAL/Migrations/Migration.php(172): Pimcore\Migrations\Version->execute('up', false, false)
#5 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/Installer/MigrationInstaller.php(351): Doctrine\DBAL\Migrations\Migration->migrate('00000001', false)
#6 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/Installer/MigrationInstaller.php(145): Pimcore\Extension\Bundle\Installer\MigrationInstaller->executeInstallMigration(true)
#7 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/PimcoreBundleManager.php(484): Pimcore\Extension\Bundle\Installer\MigrationInstaller->install()
#8 /var/www/html/vendor/pimcore/pimcore/bundles/CoreBundle/Command/Bundle/InstallCommand.php(45): Pimcore\Extension\Bundle\PimcoreBundleManager->install(Object(Pimcore\Bundle\EcommerceFrameworkBundle\PimcoreEcommerceFrameworkBundle))
#9 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php(255): Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(978): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(86): Symfony\Component\Console\Application->doRunCommand(Object(Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(255): Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand(Object(Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(74): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(148): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/bin/console(26): Symfony\Component\Console\Application->run()
#16 {main}
16:39:09 WARNING   [pimcore] Removed unknown allowed type [ PaymentProviderQpay ] from allowed types of object brick
16:39:09 WARNING   [pimcore] Removed unknown allowed type [ PaymentProviderPayPal ] from allowed types of object brick
16:39:09 WARNING   [pimcore] Removed unknown allowed type [ PaymentProviderDatatrans ] from allowed types of object brick
16:39:16 ERROR     [pimcore] Exception: There is no class with the name: OnlineShopOrderItem in /var/www/html/vendor/pimcore/pimcore/models/DataObject/ClassDefinition.php:232
Stack trace:
#0 /var/www/html/vendor/pimcore/pimcore/bundles/EcommerceFrameworkBundle/Tools/Installer.php(211): Pimcore\Model\DataObject\ClassDefinition::getByName('OnlineShopOrder...')
#1 /var/www/html/vendor/pimcore/pimcore/bundles/EcommerceFrameworkBundle/Tools/Installer.php(161): Pimcore\Bundle\EcommerceFrameworkBundle\Tools\Installer->installClasses()
#2 /var/www/html/vendor/pimcore/pimcore/lib/Migrations/Migration/InstallMigration.php(44): Pimcore\Bundle\EcommerceFrameworkBundle\Tools\Installer->migrateInstall(Object(ProxyManagerGeneratedProxy\__PM__\Doctrine\DBAL\Schema\Schema\Generateda7193b54919e65c954d994217ebb5fab), Object(Pimcore\Migrations\InstallVersion))
#3 /var/www/html/vendor/pimcore/pimcore/lib/Migrations/Version.php(312): Pimcore\Migrations\Migration\InstallMigration->up(Object(ProxyManagerGeneratedProxy\__PM__\Doctrine\DBAL\Schema\Schema\Generateda7193b54919e65c954d994217ebb5fab))
#4 /var/www/html/vendor/doctrine/migrations/lib/Doctrine/DBAL/Migrations/Migration.php(172): Pimcore\Migrations\Version->execute('up', false, false)
#5 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/Installer/MigrationInstaller.php(351): Doctrine\DBAL\Migrations\Migration->migrate('00000001', false)
#6 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/Installer/MigrationInstaller.php(145): Pimcore\Extension\Bundle\Installer\MigrationInstaller->executeInstallMigration(true)
#7 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/PimcoreBundleManager.php(484): Pimcore\Extension\Bundle\Installer\MigrationInstaller->install()
#8 /var/www/html/vendor/pimcore/pimcore/bundles/CoreBundle/Command/Bundle/InstallCommand.php(45): Pimcore\Extension\Bundle\PimcoreBundleManager->install(Object(Pimcore\Bundle\EcommerceFrameworkBundle\PimcoreEcommerceFrameworkBundle))
#9 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php(255): Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(978): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(86): Symfony\Component\Console\Application->doRunCommand(Object(Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(255): Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand(Object(Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(74): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(148): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/bin/console(26): Symfony\Component\Console\Application->run()
#16 {main}
16:39:18 ERROR     [pimcore] Exception: There is no class with the name: OnlineShopTaxClass in /var/www/html/vendor/pimcore/pimcore/models/DataObject/ClassDefinition.php:232
Stack trace:
#0 /var/www/html/vendor/pimcore/pimcore/bundles/EcommerceFrameworkBundle/Tools/Installer.php(211): Pimcore\Model\DataObject\ClassDefinition::getByName('OnlineShopTaxCl...')
#1 /var/www/html/vendor/pimcore/pimcore/bundles/EcommerceFrameworkBundle/Tools/Installer.php(161): Pimcore\Bundle\EcommerceFrameworkBundle\Tools\Installer->installClasses()
#2 /var/www/html/vendor/pimcore/pimcore/lib/Migrations/Migration/InstallMigration.php(44): Pimcore\Bundle\EcommerceFrameworkBundle\Tools\Installer->migrateInstall(Object(ProxyManagerGeneratedProxy\__PM__\Doctrine\DBAL\Schema\Schema\Generateda7193b54919e65c954d994217ebb5fab), Object(Pimcore\Migrations\InstallVersion))
#3 /var/www/html/vendor/pimcore/pimcore/lib/Migrations/Version.php(312): Pimcore\Migrations\Migration\InstallMigration->up(Object(ProxyManagerGeneratedProxy\__PM__\Doctrine\DBAL\Schema\Schema\Generateda7193b54919e65c954d994217ebb5fab))
#4 /var/www/html/vendor/doctrine/migrations/lib/Doctrine/DBAL/Migrations/Migration.php(172): Pimcore\Migrations\Version->execute('up', false, false)
#5 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/Installer/MigrationInstaller.php(351): Doctrine\DBAL\Migrations\Migration->migrate('00000001', false)
#6 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/Installer/MigrationInstaller.php(145): Pimcore\Extension\Bundle\Installer\MigrationInstaller->executeInstallMigration(true)
#7 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/PimcoreBundleManager.php(484): Pimcore\Extension\Bundle\Installer\MigrationInstaller->install()
#8 /var/www/html/vendor/pimcore/pimcore/bundles/CoreBundle/Command/Bundle/InstallCommand.php(45): Pimcore\Extension\Bundle\PimcoreBundleManager->install(Object(Pimcore\Bundle\EcommerceFrameworkBundle\PimcoreEcommerceFrameworkBundle))
#9 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php(255): Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(978): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(86): Symfony\Component\Console\Application->doRunCommand(Object(Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(255): Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand(Object(Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(74): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(148): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/bin/console(26): Symfony\Component\Console\Application->run()
#16 {main}
16:39:19 ERROR     [pimcore] Exception: There is no class with the name: OnlineShopVoucherSeries in /var/www/html/vendor/pimcore/pimcore/models/DataObject/ClassDefinition.php:232
Stack trace:
#0 /var/www/html/vendor/pimcore/pimcore/bundles/EcommerceFrameworkBundle/Tools/Installer.php(211): Pimcore\Model\DataObject\ClassDefinition::getByName('OnlineShopVouch...')
#1 /var/www/html/vendor/pimcore/pimcore/bundles/EcommerceFrameworkBundle/Tools/Installer.php(161): Pimcore\Bundle\EcommerceFrameworkBundle\Tools\Installer->installClasses()
#2 /var/www/html/vendor/pimcore/pimcore/lib/Migrations/Migration/InstallMigration.php(44): Pimcore\Bundle\EcommerceFrameworkBundle\Tools\Installer->migrateInstall(Object(ProxyManagerGeneratedProxy\__PM__\Doctrine\DBAL\Schema\Schema\Generateda7193b54919e65c954d994217ebb5fab), Object(Pimcore\Migrations\InstallVersion))
#3 /var/www/html/vendor/pimcore/pimcore/lib/Migrations/Version.php(312): Pimcore\Migrations\Migration\InstallMigration->up(Object(ProxyManagerGeneratedProxy\__PM__\Doctrine\DBAL\Schema\Schema\Generateda7193b54919e65c954d994217ebb5fab))
#4 /var/www/html/vendor/doctrine/migrations/lib/Doctrine/DBAL/Migrations/Migration.php(172): Pimcore\Migrations\Version->execute('up', false, false)
#5 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/Installer/MigrationInstaller.php(351): Doctrine\DBAL\Migrations\Migration->migrate('00000001', false)
#6 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/Installer/MigrationInstaller.php(145): Pimcore\Extension\Bundle\Installer\MigrationInstaller->executeInstallMigration(true)
#7 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/PimcoreBundleManager.php(484): Pimcore\Extension\Bundle\Installer\MigrationInstaller->install()
#8 /var/www/html/vendor/pimcore/pimcore/bundles/CoreBundle/Command/Bundle/InstallCommand.php(45): Pimcore\Extension\Bundle\PimcoreBundleManager->install(Object(Pimcore\Bundle\EcommerceFrameworkBundle\PimcoreEcommerceFrameworkBundle))
#9 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php(255): Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(978): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(86): Symfony\Component\Console\Application->doRunCommand(Object(Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(255): Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand(Object(Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(74): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(148): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/bin/console(26): Symfony\Component\Console\Application->run()
#16 {main}
16:39:21 ERROR     [pimcore] Exception: There is no class with the name: OnlineShopVoucherToken in /var/www/html/vendor/pimcore/pimcore/models/DataObject/ClassDefinition.php:232
Stack trace:
#0 /var/www/html/vendor/pimcore/pimcore/bundles/EcommerceFrameworkBundle/Tools/Installer.php(211): Pimcore\Model\DataObject\ClassDefinition::getByName('OnlineShopVouch...')
#1 /var/www/html/vendor/pimcore/pimcore/bundles/EcommerceFrameworkBundle/Tools/Installer.php(161): Pimcore\Bundle\EcommerceFrameworkBundle\Tools\Installer->installClasses()
#2 /var/www/html/vendor/pimcore/pimcore/lib/Migrations/Migration/InstallMigration.php(44): Pimcore\Bundle\EcommerceFrameworkBundle\Tools\Installer->migrateInstall(Object(ProxyManagerGeneratedProxy\__PM__\Doctrine\DBAL\Schema\Schema\Generateda7193b54919e65c954d994217ebb5fab), Object(Pimcore\Migrations\InstallVersion))
#3 /var/www/html/vendor/pimcore/pimcore/lib/Migrations/Version.php(312): Pimcore\Migrations\Migration\InstallMigration->up(Object(ProxyManagerGeneratedProxy\__PM__\Doctrine\DBAL\Schema\Schema\Generateda7193b54919e65c954d994217ebb5fab))
#4 /var/www/html/vendor/doctrine/migrations/lib/Doctrine/DBAL/Migrations/Migration.php(172): Pimcore\Migrations\Version->execute('up', false, false)
#5 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/Installer/MigrationInstaller.php(351): Doctrine\DBAL\Migrations\Migration->migrate('00000001', false)
#6 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/Installer/MigrationInstaller.php(145): Pimcore\Extension\Bundle\Installer\MigrationInstaller->executeInstallMigration(true)
#7 /var/www/html/vendor/pimcore/pimcore/lib/Extension/Bundle/PimcoreBundleManager.php(484): Pimcore\Extension\Bundle\Installer\MigrationInstaller->install()
#8 /var/www/html/vendor/pimcore/pimcore/bundles/CoreBundle/Command/Bundle/InstallCommand.php(45): Pimcore\Extension\Bundle\PimcoreBundleManager->install(Object(Pimcore\Bundle\EcommerceFrameworkBundle\PimcoreEcommerceFrameworkBundle))
#9 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php(255): Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(978): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(86): Symfony\Component\Console\Application->doRunCommand(Object(Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(255): Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand(Object(Pimcore\Bundle\CoreBundle\Command\Bundle\InstallCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(74): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php(148): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/bin/console(26): Symfony\Component\Console\Application->run()
#16 {main}
16:39:21 WARNING   [pimcore] Removed unknown allowed type [ PaymentProviderWirecardSeamless ] from allowed types of object brick
16:39:21 WARNING   [pimcore] Removed unknown allowed type [ PaymentProviderPayU ] from allowed types of object brick
     -> CREATE TABLE IF NOT EXISTS `ecommerceframework_cart` (
              `id` int(20) NOT NULL AUTO_INCREMENT,
              `userid` int(20) NOT NULL,
              `name` varchar(250) COLLATE utf8_bin DEFAULT NULL,
              `creationDateTimestamp` int(10) NOT NULL,
              `modificationDateTimestamp` int(10) NOT NULL,
              PRIMARY KEY (`id`)
            ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
     -> CREATE TABLE IF NOT EXISTS `ecommerceframework_cartcheckoutdata` (
              `cartId` int(20) NOT NULL,
              `key` varchar(150) COLLATE utf8_bin NOT NULL,
              `data` longtext,
              PRIMARY KEY (`cartId`,`key`)
            ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
     -> CREATE TABLE IF NOT EXISTS `ecommerceframework_cartitem` (
              `productId` int(20) NOT NULL,
              `cartId` int(20) NOT NULL,
              `count` int(20) NOT NULL,
              `itemKey` varchar(100) COLLATE utf8_bin NOT NULL,
              `parentItemKey` varchar(100) COLLATE utf8_bin NOT NULL DEFAULT '0',
              `comment` LONGTEXT ASCII,
              `addedDateTimestamp` int(10) NOT NULL,
              `sortIndex` INT(10) UNSIGNED NULL DEFAULT '0',
              PRIMARY KEY (`itemKey`,`cartId`,`parentItemKey`)
            ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
     -> CREATE TABLE IF NOT EXISTS `ecommerceframework_vouchertoolkit_statistics` (
                `id` BIGINT(20) NOT NULL AUTO_INCREMENT,
                `voucherSeriesId` BIGINT(20) NOT NULL,
                `date` DATE NOT NULL,
                PRIMARY KEY (`id`)
            ) COLLATE='utf8_general_ci' ENGINE=InnoDB;
     -> CREATE TABLE IF NOT EXISTS `ecommerceframework_vouchertoolkit_tokens` (
                `id` BIGINT(20) NOT NULL AUTO_INCREMENT,
                `voucherSeriesId` BIGINT(20) NULL DEFAULT NULL,
                `token` VARCHAR(250) NULL DEFAULT NULL COLLATE 'latin1_bin',
                `length` INT(11) NULL DEFAULT NULL,
                `type` VARCHAR(50) NULL DEFAULT NULL,
                `usages` BIGINT(20) NULL DEFAULT '0',
                `timestamp` TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP,
                PRIMARY KEY (`id`),
                UNIQUE INDEX `token` (`token`)
            ) COLLATE='utf8_general_ci' ENGINE=InnoDB;
     -> CREATE TABLE IF NOT EXISTS `ecommerceframework_vouchertoolkit_reservations` (
                `id` BIGINT(20) NOT NULL AUTO_INCREMENT,
                `token` VARCHAR(250) NOT NULL,
                `cart_id` VARCHAR(250) NOT NULL,
                `timestamp` DATETIME NOT NULL,
                PRIMARY KEY (`id`),
                INDEX `token` (`token`)
            ) COLLATE='utf8_general_ci' ENGINE=InnoDB;
     -> CREATE TABLE IF NOT EXISTS `ecommerceframework_pricing_rule` (
                `id` INT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
                `name` VARCHAR(50) NULL DEFAULT NULL,
                `label` TEXT NULL,
                `description` TEXT NULL,
                `behavior` ENUM('additiv','stopExecute') NULL DEFAULT NULL,
                `active` TINYINT(1) UNSIGNED NULL DEFAULT NULL,
                `prio` TINYINT(3) UNSIGNED NOT NULL,
                `condition` TEXT NOT NULL COMMENT 'configuration der condition',
                `actions` TEXT NOT NULL COMMENT 'configuration der action',
                PRIMARY KEY (`id`),
                UNIQUE INDEX `name` (`name`),
                INDEX `active` (`active`)
            ) ENGINE=InnoDB AUTO_INCREMENT=0;

  ++ migrated (49.53s)

  ------------------------

  ++ finished in 49.53s
  ++ 1 migrations executed
  ++ 7 sql queries


 [OK] Bundle "PimcoreEcommerceFrameworkBundle" was successfully installed

@fashxp fashxp added this to To do in 13/06/2019 - 28/06/2019 via automation Jun 13, 2019

@Yivan

This comment has been minimized.

Copy link
Contributor Author

commented Jun 18, 2019

@brusch @fashxp
I just tested again on the Pimcore 6 stable,

php bin/console pimcore:bundle:enable -v PimcoreEcommerceFrameworkBundle
php bin/console pimcore:bundle:install -v PimcoreEcommerceFrameworkBundle

All went ok now ! : )

Just, i needed to go back in GUI to clear all the Pimcore cache and others caches, because there was no ecommerce button in the GUI (even with browser cache disabled, so it was on Pimcore/Symfony cache side).
I think cache sould be cleared after installing a bundle. Cache is cleared after enabling it, but not after install.

Should another issue be open for cache clearing after installing a bundle and this one closed ?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.