14

当我使用 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 上,这不存在。

URL:有 Z-Ray没有 Z-Ray。相同的文件,复制/粘贴。

谢谢

4

1 回答 1

2

我发现了问题。

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

于 2015-08-28T21:40:49.030 回答