Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composer 升级项目以后 报错 Call to a member function connect( ) on null #1110

Open
Tihhx opened this issue Apr 25, 2022 · 2 comments

Comments

@Tihhx
Copy link

Tihhx commented Apr 25, 2022

QQ图片20220425091039
image

@Tihhx
Copy link
Author

Tihhx commented Apr 25, 2022

image

@Greatfar
Copy link
Contributor

Greatfar commented Apr 26, 2022

升级后,注意.env环境变量配置文件的值不能有双引号。
top-think/framework v6.0.10 后,环境变量的值被双引号括起来,连引号也会被读取出来。
你这个问题很大可能就是引号括起来了一些链接造成的。
在.env文件中,把所有带引号的值,去掉引号即可。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants