View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007211 | OXID eShop (all versions) | 5. ------ UpdateApp / Update ------ | public | 2021-02-18 13:01 | 2024-07-31 14:47 |
Reporter | QA | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Summary | 0007211: Update EE 6.1.X to EE 6.2.0 with subshops and older Moduls (legacy broken?) | ||||
Description | edit 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 Reproduce | 1. 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 Information | PHP 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 --- | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
|
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] |