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

登录报错 #22

Open
zdwork opened this issue Jul 29, 2021 · 1 comment
Open

登录报错 #22

zdwork opened this issue Jul 29, 2021 · 1 comment

Comments

@zdwork
Copy link

zdwork commented Jul 29, 2021

[500]: /?r=login/account - Declaration of Illuminate\Container\Container::get($id) must be compatible with Psr\Container\ContainerInterface::get(string $id) in /usr/local/src/php-monitor/vendor/illuminate/container/Container.php on line 15

@zsc8917zsc
Copy link

zsc8917zsc commented Sep 2, 2021

打开composer.json文件,在require 的最后一行加上"psr/container": "1.0.0"
"require": { "php": "^5.6 || ^7.0", "ext-json": "*", "illuminate/database": "~5.8", "jenssegers/mongodb": "^3.5", "illuminate/pagination": "^5.8", "psr/container": "1.0.0" },

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