php - Z-Ray 上的十月 CMS 反射异常

标签 php laravel zend-server octobercms

当我使用 Z-Ray 在服务器上加载 10 月安装时,出现此错误:

//用作解析器以更精细地解析这些对象。

if ($concrete instanceof Closure)
{
    return $concrete($this, $parameters);
}

$reflector = new ReflectionClass($concrete);

// If the type is not instantiable, the developer is attempting to resolve
// an abstract type such as an Interface of Abstract Class and there is
// no binding registered for the abstractions so we need to bail out.
if ( ! $reflector->isInstantiable())
{

错误来自这一行:$reflector = new ReflectionClass($concrete);

作为 ReflectionException

我不知道为什么要这样做,但在 XAMPP 上,这不存在。

网址:With Z-Raywithout Z-Ray .相同的文件,复制/粘贴。

谢谢

最佳答案

我发现了问题。

Laravel 插件导致与 October CMS 发生冲突。

我是怎么找到这个的? 首先,这个文件有这个错误:

C:\Program Files (x86)\SiteExtensions\Zray55\0.9.6\plugins\Laravel\1.0.0\zray\zray.php(122): Illuminate\Container\Container->offsetGet('auth') #5 C:\Program Files (x86)\SiteExtensions\Zray55\0.9.6\plugins\Laravel\1.0.0\zray\zray.php(27): ZRay\Laravel->loadUserPane

之后,我重新指出 laravel 面板是空白的,但有数字。

感谢@num8er 花时间帮我解决这个问题!

关于php - Z-Ray 上的十月 CMS 反射异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32106218/

相关文章:

php - 你如何定义术语 'failing function' ?

oracle - 什么是 oradiag_<user> 文件夹?

php - 使用 jQuery ajax 将 Javascript 数组转换为 php

PHP - 假定应用程序/x-www-form-urlencoded 未指定内容类型

php - 查找导致 elasticsearch 响应变慢的原因

javascript - Laravel:提交动态生成的表单字段

MySql 对同名数据库的奇怪行为

php - 如何在 gridview 和 detailview yii2 中检索其他参数而不是 id?

php - Laravel Redirect::route() 在 vhost 上访问错误的 url

php - Laravel 5.2 命名空间