laynefyc / php-monitor

A free, flexible, powerful tool that helps you monitor PHP Service and profiling PHP code.
233 stars 33 forks source link

登录报错 #22

Open zdwork opened 3 years ago

zdwork commented 3 years ago

[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 commented 3 years ago

打开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" },