关于Z-Ray的10月CMS反射异常

时间:2015-08-19 21:49:12

标签: php laravel zend-server octobercms

当我在带有Z-Ray的服务器上加载我的十月安装时,我收到此错误:

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

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。相同的文件,复制/粘贴。

由于

1 个答案:

答案 0 :(得分:2)

我找到了问题。

Laravel插件与10月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花时间帮我解决这个问题!