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

Fatal error when running translator commands #10033

Closed
robdekort opened this issue May 10, 2024 · 0 comments · Fixed by #10037
Closed

Fatal error when running translator commands #10033

robdekort opened this issue May 10, 2024 · 0 comments · Fixed by #10037
Labels

Comments

@robdekort
Copy link
Contributor

Bug description

I cloned statamic/cms, ran composer install and then php translator generate nl. This gives me the following error:

Fatal error: Declaration of Statamic\Translator\Commands\Stats::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output) must be compatible with Symfony\Component\Console\Command\Command::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): int in /Users/robdekort/Desktop/cms/src/Translator/Commands/Stats.php on line 37

How to reproduce

Follow the above steps.

Logs

No response

Environment

Please is not available. I'm on php 8.2.

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants