Giter VIP home page Giter VIP logo

Comments (4)

Sanjay-100 avatar Sanjay-100 commented on August 30, 2024

@damianed
I am not able to reproduce the problem
Run php artisan config:cache run php artisan serve

can you please provide me with all setups on my setup project both are working fine?

from shopify-app-template-php.

github-actions avatar github-actions commented on August 30, 2024

This issue is stale because it has been open for 90 days with no activity. It will be closed if no further action occurs in 14 days.

from shopify-app-template-php.

github-actions avatar github-actions commented on August 30, 2024

We are closing this issue because it has been inactive for a few months.
This probably means that it is not reproducible or it has been fixed in a newer version.
If it’s an enhancement and hasn’t been taken on since it was submitted, then it seems other issues have taken priority.

If you still encounter this issue with the latest version of this template, please reopen using the issue template. You can also contribute directly by submitting a pull request

Thank you!

from shopify-app-template-php.

greatwitenorth avatar greatwitenorth commented on August 30, 2024

I found the exact same issue today. I had to replace all the uses of env to config, then move the env calls to the appropriate config files. This is directly from Laravel's website:

If you execute the config:cache command during your deployment process, you should be sure that you are only calling the env function from within your configuration files. Once the configuration has been cached, the .env file will not be loaded; therefore, the env function will only return external, system level environment variables.

The only fix without code changes is to not use config:cache.

from shopify-app-template-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.