Closed marlonjet closed 1 year ago
This has to do with your local environment and is not a bug in Sage. I do not use Local WP, but the problem is likely due to you installing Composer dependencies with your local terminal instead of through Local's SSH/container thus having mis-matched PHP versions.
Please make a post on Discourse for support if my above tip doesn't help.
Terms
Description
What's wrong?
I found Bedrock and Sage days ago so I'm trying to use them to develop a custom Wordpress theme. I set up a new development environment wit Local-WP. The web server is Nginx, PHP Version: 8.1.9 and MySQL 8.0.16. Then when I open the site I see all these errors
What have you tried?
I downgrade the PHP Version to 7.4.3.0 and all those error disappeared but I read the life cicle of tis version ended on November of last year.
What insights have you gained?
Possible solutions
Temporary workarounds
Steps To Reproduce
you can follow the tutorial below to install bedrock with local. https://www.youtube.com/watch?v=J6-zK4JvLXE&t=276s
Expected Behavior
to develop without any issues
Actual Behavior
those error messages
Relevant Log Output
Versions
PHP Version: 8.1.9 and MySQL 8.0.16, Sage v10.5.1, Bedrock v1.22.0