douwen1937 2015-08-19 21:49
浏览 47
已采纳

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

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.

Thanks

  • 写回答

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!

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

报告相同问题?

悬赏问题

  • ¥15 关于#matlab#的问题:有没有什么其他办法能够保证不退出进程(相关搜索:matlab调用)
  • ¥15 依据报错在原代吗格式的基础上解决问题
  • ¥15 在虚拟机中安装flash code
  • ¥15 单片机stm32f10x编写光敏电阻调节3.3伏大功率灯亮度(光强越大灯越暗,白天正常光强灯不亮,使用ADC,PWM等模块)望各位找一下错误或者提供一个可实现功能的代码
  • ¥20 verilog状态机方法流水灯
  • ¥15 pandas代码实现不了意图
  • ¥15 GD32H7 从存储器到外设SPI传输数据无法重复启用DMA
  • ¥25 LT码在高斯信道下的误码率仿真
  • ¥45 渲染完成之后将物体的材质贴图改变,自动化进行这个操作
  • ¥15 yolov5目标检测并显示目标出现的时间或视频帧