compiled.php第6341行中的BadMethodCallException:Method after不存在

compiled.php第6341行中的BadMethodCallException:Method after不存在,php,laravel,laravel-5.3,staging,Php,Laravel,Laravel 5.3,Staging,我正在尝试将我的站点部署到临时域。我已经做了所有正确的事情(据我所知),但当我从浏览器进入我的域时,我会出现这个错误 compiled.php第6341行中的BadMethodCallException: 之后的方法不存在 在compiled.php行6341中的路由器->\uu调用('after', compiled.php第2265行中的数组(object(AfterFilter)),位于 Router->after(对象(AfterFilter))位于compiled.php第2265行

我正在尝试将我的站点部署到临时域。我已经做了所有正确的事情(据我所知),但当我从浏览器进入我的域时,我会出现这个错误

compiled.php第6341行中的BadMethodCallException:

之后的方法不存在

在compiled.php行6341中的路由器->\uu调用('after', compiled.php第2265行中的数组(object(AfterFilter)),位于 Router->after(对象(AfterFilter))位于compiled.php第2265行 compiled.php第2265行中的Application->boot() BootProviders->compiled.php行中的bootstrap(对象(应用程序)) 1693在 Application->bootstrapWith(数组('Illumb\Foundation\Bootstrap\DetectenEnvironment', 'Illumb\Foundation\Bootstrap\LoadConfiguration', 'Illumb\Foundation\Bootstrap\ConfigureLogging', 'Illumb\Foundation\Bootstrap\HandleExceptions', 'Illumb\Foundation\Bootstrap\RegisterFacades', 'Illumb\Foundation\Bootstrap\RegisterProviders', compiled.php行中的“illumb\Foundation\Bootstrap\BootProviders”) 2465 at Kernel->bootstrap()在compiled.php第2415行的 compiled.php行中的Kernel->sendRequestThroughRouter(对象(请求)) 2400在index.php第54行的内核->句柄(对象(请求))处

这是我的.env文件

APP_ENV=staging
APP_DEBUG=true
APP_KEY=key

DB_HOST=localhost
DB_DATABASE=db_name
DB_USERNAME=username
DB_PASSWORD=password

CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync

在我的本地环境中,它工作得很好,所以我的代码可能没有问题。是否缺少一些配置设置?我以前使用相同的方法部署过站点,但从未遇到过此问题。唯一的区别是该站点使用域路由。

问题在于newrelic代理。所以我从我的登台服务器上卸载了它。这是一个临时解决方案,因为我需要生产代理。更多信息:

问题在于newrelic代理。所以我从我的登台服务器上卸载了它。这是一个临时解决方案,因为我需要生产代理。关于这一点的更多信息:

对于实际的代码没有什么可说的。但是很明显,之后的方法没有定义。之后的方法不在我的代码中,我猜它与环境有关,与实际代码无关。但是显然,在之后的方法没有定义。在我的代码中没有之后的方法,我猜它与环境有关