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..
Errors when running any command in Docker
hey , i am running any command in docker . I am getting this error
Error - Exception: Undefined constant Orm\Zed\Acl\Persistence\Map\SpyAclGroupArchiveTableMap::TABLE_PHP_NAME
in /data/vendor/propel/propel/src/Propel/Runtime/Map/DatabaseMap.php (193)
Command: /data/vendor/bin/console transfer:generate
Comments
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
seems for me still related to: https://sprykercommunity.slack.com/archives/CH2HA71C5/p1679646991543869
0 -
i have setup new project
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
seems to be something cached maybeβ¦. have you shut down the other one and deleted the docker containers etc?
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
you could try
docker/sdk clean && docker/sdk up --build --assets --data --jobs
0 -
and i was doing setup up for data export and run some commands like composer require spryker/data-export
after that i am getting error .0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
maybe you did also composer update as well?
0 -
yes
0 -
composer require spryker/data-export spryker/data-export-extension spryker/sales-data-export --update-with-dependencies
0 -
this command i have run
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
likely it installed the latest propel module as well then.
does the following fix it for you?
find ./src/Orm/Zed/ -type d -name "Map" | xargs rm -rf && find ./data/cache/propel/ -type f -name "loadDatabase.php" | xargs rm -rf && find ./src/Orm/Propel/ -type f -name "loadDatabase.php" | xargs rm -rf && console propel:model:build --no-post
0 -
i didnot get your point
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
what does
docker/sdk composer show propel/propel
return?0 -
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
sry, then this does not work⦠please go inside the cli with
docker/sdk cli
and then executecomposer show propel/propel
i thought spryker have a shortcut there as well0 -
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
yeah⦠as expected. your
composer update
updated propel and therefore you need to executefind ./src/Orm/Zed/ -type d -name "Map" | xargs rm -rf && find ./data/cache/propel/ -type f -name "loadDatabase.php" | xargs rm -rf && find ./src/Orm/Propel/ -type f -name "loadDatabase.php" | xargs rm -rf && console propel:model:build --no-post
its not your fault⦠its more about a problem with propel not using proper tags for their php8 support
0 -
so i have to run this command in docker cli ?
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
yes
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
this fixed it for me last time
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
it deletes some files which are not working anymore after the propel update.
0 -
now it is working file . Can you help me to data export
0 -
or give any refrence for that please
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 βοΈ - Guardians (admin)
I cant, sry. please have a look at the docs
0 -
ok . Thank you sir .
0 -
hey . Is there any documentation for Two factor authentication ?
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
- 930 Developer Corner
- 788 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