Error on fresh installation.



  • Declaration of Symfony\Component\Translation\TranslatorInterface::setLocale($locale) must be compatible with Symfony\Contracts\Translation\LocaleAwareInterface::setLocale(string $locale)



  • I believe that you have been installing it the old fashion way instead of using the console command

    php artisan bagisto:install
    

    Check your .env file and make sure that the timezone and locale are set

    APP_NAME=Bagisto
    APP_ENV=local
    APP_VERSION=1.0.0
    APP_KEY=c4WbNntQCTc6dbwPvDS6jFch43qPYyYE
    APP_DEBUG=true
    APP_URL=http://localhost
    APP_TIMEZONE=Europe/Brussels
    APP_LOCALE=en
    LOG_CHANNEL=stack
    APP_CURRENCY=EUR
    


  • Yes i did install it the old way, its working now even though it was installed the old way.
    Does this new way necessary, should i reinstall using the new way?


Log in to reply