Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erreur with platform check #99

Open
thibmonier opened this issue Jun 17, 2024 · 0 comments
Open

Erreur with platform check #99

thibmonier opened this issue Jun 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@thibmonier
Copy link

I'm trying to execute a cmd (sylius:import) but I get this error

Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.2.0". You are running 8.1.29. PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.2.0". You are running 8.1.29. in /PATH_TO_PROJECT/vendor/composer/platform_check.php on line 24

I'm using a platform with several PHP installed but the default one is 8.2
When I'm launching the same command in the crontab, I haven't the error

The command :
php8.2 /PATH_TO_PROJECT/bin/console sylius:import custom_customers /ABSOLUTE_PATH/clients.csv --format=csv > /PATH_TO_PROJECT/var/log/cron/import_client.log

@thibmonier thibmonier added the bug Something isn't working label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant