View Issue Details

IDProjectCategoryView StatusLast Update
0007211OXID eShop (all versions)5. ------ UpdateApp / Update ------public2021-06-01 09:49
ReporterQA Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status acknowledgedResolutionopen 
Summary0007211: Update EE 6.1.X to EE 6.2.0 with subshops and older Moduls (legacy broken?)
Descriptionedit by QA: Please see workaround in notes.

There is a error msg, when you update like described in https://docs.oxid-esales.com/eshop/en/6.2/installation/update/update-from-6.1.x-to-6.2.0.html

Steps To Reproduce1. Install fresh OXID 6.1.X EE
2. Add Subshops
3. Install e.g. https://github.com/OXIDprojects/captcha-module
4. Update like described in docs https://docs.oxid-esales.com/eshop/en/6.2/installation/update/update-from-6.1.x-to-6.2.0.html
5. vendor/bin/oe-console oe:module:apply-configuration emits msg - see below
Additional InformationPHP Fatal error: Uncaught TypeError: call_user_func() expects parameter 1 to be a valid callback, class 'oecaptchaevents' not found in [Shop-Root-Path]/vendor/oxid-esales/oxideshop-ce/source/Internal/Framework/Module/Setup/EventSubscriber/DispatchLegacyEventsSubscriber.php:83
Stack trace:
#0 [Shop-Root-Path]/vendor/oxid-esales/oxideshop-ce/source/Internal/Framework/Module/Setup/EventSubscriber/DispatchLegacyEventsSubscriber.php(50): OxidEsales\EshopCommunity\Internal\Framework\Module\Setup\EventSubscriber\DispatchLegacyEventsSubscriber->executeMetadataEvent('onActivate', 'oecaptcha', 2)
#1 [internal function]: OxidEsales\EshopCommunity\Internal\Framework\Module\Setup\EventSubscriber\DispatchLegacyEventsSubscriber->executeMetadataOnActivationEvent(Object(OxidEsales\EshopCommunity\Internal\Framework\Module\Setup\Event\FinalizingModuleActivationEvent), 'OxidEsales\\Esho...', Object(OxidEsales\EshopCommunity\Internal\Framework\Event\ShopAwareEventDispatcher))
#2 /var/www/html/oxid/m in [Shop-Root-Path]/vendor/oxid-esales/oxideshop-ce/source/Internal/Framework/Module/Setup/EventSubscriber/DispatchLegacyEventsSubscriber.php on line 83

--- sg ---
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Activities

QA

2021-06-01 09:45

administrator   ~0013447

Last edited: 2021-06-01 09:49

Workaround:
The error is only triggered in an EE environment with at least two shops. The command is applying every configuration from every single shop, if not specified any further. The workaround is to run the command per individual shop by using parameter --shop-id.

Example:
vendor/bin/oe-console oe:module:apply-configuration --shop-id=1
vendor/bin/oe-console oe:module:apply-configuration --shop-id=2
vendor/bin/oe-console oe:module:apply-configuration --shop-id=3
and so on

[sp]