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中使用gurobi时报错
  • ¥15 WPF 大屏看板表格背景图片设置
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探
  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么
  • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
  • ¥16 mybatis的代理对象无法通过@Autowired装填
  • ¥15 可见光定位matlab仿真
  • ¥15 arduino 四自由度机械臂