What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hi Can any please guide and help on these error get solve Thank you PHP Fatal error: Declaration o
Hi
Can any please guide and help on these error get solve
Thank you
PHP Fatal error: Declaration of Orm\Zed\Acl\Persistence\Map\SpyAclGroupArchiveTableMap::initialize() must be compatible with Propel\Runtime\Map\TableMap::initialize(): void in /data/src/Orm/Zed/Acl/Persistence/Map/SpyAclGroupArchiveTableMap.php on line 185
ErrorException - Exception: FATAL ERROR - Declaration of Orm\Zed\Acl\Persistence\Map\SpyAclGroupArchiveTableMap::initialize() must be compatible with Propel\Runtime\Map\TableMap::initialize(): void
in /data/src/Orm/Zed/Acl/Persistence/Map/SpyAclGroupArchiveTableMap.php (185)
Comments
-
You should always mention the tec stack you are using in detail. Otherwise it will be more difficult to give a correct advice/help.
In this case it is vital to provide info about what exact version of propel is in use, same as spryker modules related to this.0 -
I assume that u have updated propel modules and now the auto-generated files in /Orm arenβt compatible with newer interfaces. We solved it by recreating them:
find src/Orm -type d -name Map -exec rm -rf {} \; find src/Orm -type d -name Base -exec rm -rf {} \; rm data/cache/propel/generated-conf/loadDatabase.php vendor/bin/console propel:model:build
0 -
If this is about beta2, then indeed, the steps are also mentioned on https://api.release.spryker.com/release-group/4239 as well as details linked from there.
0 -
Yes, I am updating spryker feature Product Labels,
I have updated the spryker core version to 202009 (202001 to 202009) and now updating feature Product labels
I am follwing the Product Labels Feature integration doc available in spryker documentation
While executing docker up or any command like data:import, shows such error, do
we need to do any manual changes as spryker/propel is updatedThese are the propel module versions
propel/propel 2.0.0-beta2
spryker/propel 3.35.0
spryker/propel-orm 1.17.0
spryker/silex 2.2.1Thank you
0 -
Thank you @UNGMX0012, Thank you @UQK3ZPJEN
Following these steps of removing the files, and executing propel:model:build, shows the error like
Spryker\Zed\SynchronizationBehavior\Persistence\Propel\Behavior\Exception\InvalidConfigurationException - Exception: SpyProductLabelDictionaryStorage uses mutually exclusive "store" and "queue_pool" synchronization attributes.
in /data/vendor/spryker/synchronization-behavior/src/Spryker/Zed/SynchronizationBehavior/Persistence/Propel/Behavior/SynchronizationBehavior.php (531)The Synchronization module versions are:
spryker/synchronization = 1.14.0
spryker/synchronization-behavior = 1.19.0Please find the screenshot of Trace
0 -
Hi
Can any please help on to get the cause of these error and get the resolution
Thank you0 -
u should check the table definition in the related schema file especially the part:
<behavior name="synchronization">
it can either have
<parameter name="store" required="true"/>
or
<parameter name="queue_pool" value="synchronizationPool"/>
not both.
Afaik spryker added the store synchronization here cause store relation was added and u have to remove the queue_pool
0 -
it think it was
src/Pyz/Zed/ProductLabelStorage/Persistence/Propel/Schema/spy_product_label_storage.schema.xml
π€ try to comment that part out0 -
Thank you @UNGMX0012, these fixes helped to resolve the synchronization error
Thank you so much0 -
nice! you are welcome
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 69 Spryker News
- 899 Developer Corner
- 760 Spryker Development
- 83 Spryker Dev Environment
- 361 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 24 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 68 Spryker Safari Questions
- 50 Random