douwen1937 2015-08-19 21:49
浏览 47


When I load my October installation on a server with Z-Ray, I get this error:

// used as resolvers for more fine-tuned resolution of these objects.

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())

The error come from this line: $reflector = new ReflectionClass($concrete);

As a ReflectionException.

I don't know why it's do that, but on XAMPP, this is not present.

URL: With Z-Ray and without Z-Ray. Same files, copy/pasted.


  • 写回答

1条回答 默认 最新

  • dqst96444 2015-08-28 21:40

    I have found the problem.

    The Laravel plugin was causing a conflict with October CMS.

    How I found this? First, there was this error, with this file:

    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

    After, I have remarqued that the laravel panel was blank, but with numbers.

    Thanks to @num8er who takes its times to help me resolve this!

    本回答被题主选为最佳回答 , 对您是否有帮助呢?



    • ¥30 android百度地图SDK海量点显示标题
    • ¥15 windows导入environment.yml运行conda env create -f environment_win.yml命令报错
    • ¥15 这段代码可以正常运行,打包后无法执行,在执行for内容之前一直不断弹窗,请修改调整
    • ¥15 C语言判断有向图是否存在环路
    • ¥15 请问4.11到4.18以及4.27和4.29公式的具体推导过程是怎样的呢
    • ¥20 将resnet50中的卷积替换微ODConv动态卷积
    • ¥15 通过文本框输入商品信息点击按钮将商品信息列举出来点击加入购物车商品信息添加到表单中
    • ¥100 这是什么压缩算法?如何解压?
    • ¥20 upload上传实验报错500,如何解决?(操作系统-windows)
    • ¥15 谁知道 ShaderGraph 那个节点可以接入 Particle System -> Custom Data