So I am a beginner working on a project with symfony 5.2 project with php 8, and I have been trying to run this command
symfony console doctrine:fixtures:load
And this is the error I get :
In Lorem.php line 95: join(): Argument #2 ($array) must be of type ?array, string given
Check the line 95 of Lorem.php, you will find:
return join($words, ' ') . '.';
change to:
return join(' ', $words) . '.';
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With