getSetting() Error
zqq-nuli opened this issue · comments
zqq-nuli commented
- php : 8.1.21
- MySQL : 5.7.40
- Redis : 7.0.11
I encountered two exception errors
one:
sudo php key:generate
Could not open input file: key:generate
row:
composer install --optimize-autoloader --no-dev
In web.php line 279:
Call to undefined function App\Helpers\getSetting()
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
I'd love some help, thank you very much!
I don’t know if I can participate in the Chinese localization function?
A1Gard commented
why use sudo for key generate?
use this command:
composer install --optimize-autoloader --no-dev --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
No bro, we don't know Chinese, you can add to translate of project and contribute, we are so pleased :)