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..
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
seems for me still related to: https://sprykercommunity.slack.com/archives/CH2HA71C5/p1679646991543869
i have setup new project
seems to be something cached maybeβ¦. have you shut down the other one and deleted the docker containers etc?
you could try docker/sdk clean && docker/sdk up --build --assets --data --jobs
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 .
maybe you did also composer update as well?
yes
composer require spryker/data-export spryker/data-export-extension spryker/sales-data-export --update-with-dependencies
this command i have run
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
i didnot get your point
what does docker/sdk composer show propel/propel
return?
sry, then this does not work⦠please go inside the cli with docker/sdk cli
and then execute composer show propel/propel
i thought spryker have a shortcut there as well
yeah⦠as expected. your composer update
updated propel and therefore you need to execute
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
its not your fault⦠its more about a problem with propel not using proper tags for their php8 support
so i have to run this command in docker cli ?
yes
this fixed it for me last time
it deletes some files which are not working anymore after the propel update.
now it is working file . Can you help me to data export
or give any refrence for that please
I cant, sry. please have a look at the docs
ok . Thank you sir .
hey . Is there any documentation for Two factor authentication ?