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, if anyone successfully integrate Marketplace to a Spryker B2B Shop project? Described in
Hi, if anyone successfully integrate Marketplace to a Spryker B2B Shop project? Described in https://docs.spryker.com/docs/marketplace/dev/feature-integration-guides/202204.0/marketplace-merchant-feature-integration.html
After run composer require spryker-feature/marketplace-merchant:"202204.0" --update-with-dependencies I get error like below when try to run any command like propel:install or data:import
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
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 solved it? you probably upgraded your propel modules like
spryker/propel
andspryker/propel-orm
so now your auto-generated files in src/Orm are not compatible with new interfaces anymore. you could recursively delete the auto-generated files. I deleted all Map and Base directories:find src/Orm -type d -name Map -exec rm -rf {} \; find src/Orm -type d -name Base -exec rm -rf {} \;
and re-create them with
console propel:install -o
This worked for me. I also deleteddata/cache/propel/generated-conf/loadDatabase.php
but not sure if it is necessary.0 -
Hi, yes I made like You say. I found that propel module after upgrade probably is responsible for error. Have You install composer required packages --update-with-dependencies or without this flag? Seems like in this dependencies-upgrade propel is upgraded and then error occurs.
0 -
I ran into this while upgrading spryker at all. I am still working on it but usually never use
--update-with-dependencies
.. at least for now. It would update too many modules in our project.0 -
That same me, thanks for response. Regards
0 -
Hi @UNGMX0012, may I have one more question. Have you any issues when install frontend (merchant portal) - many packages missed when run yarn run mp:build, ex: @spryker/actions
@angular/element etc.0 -
hi @U044UNCCTDH weβre not using this feature. I had the propel problems during upgrade process of propel related modules
0 -
Thank You Sebastian
0 -
I guess You are using user roles function in Back Office instead of Merchant Portal to give merchants access?
0 -
right
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 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
- 70 Spryker Safari Questions
- 50 Random