Php Laravel4错误:类Illumb\Foundation\Application包含1个抽象方法,因此必须声明为抽象
在编写器更新和随后的自动加载生成器之后,我遇到此错误:Php Laravel4错误:类Illumb\Foundation\Application包含1个抽象方法,因此必须声明为抽象,php,laravel,laravel-4,Php,Laravel,Laravel 4,在编写器更新和随后的自动加载生成器之后,我遇到此错误: PHP Fatal error: Class Illuminate\Foundation\Application contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Illuminate\Support\Contracts\ResponsePreparerInterface::ready
PHP Fatal error: Class Illuminate\Foundation\Application contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Illuminate\Support\Contracts\ResponsePreparerInterface::readyForResponses)
我有一个干净的安装与这些依赖关系
"require": {
"laravel/framework": "4.0.*",
"cartalyst/sentry": "2.1.*"
},
如果我切换到laravel/framework:4.1.,则此错误已修复。4.0发生了什么事 你在安装后做过composer转储自动加载吗?是的,我做过。没有错误,但是任何php调用都会触发该错误。您运行的是哪个版本的php?5.3.x无论如何,它在上次composer更新之前工作正常