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 在若依框架下实现人脸识别
  • ¥15 网络科学导论,网络控制
  • ¥100 安卓tv程序连接SQLSERVER2008问题
  • ¥15 利用Sentinel-2和Landsat8做一个水库的长时序NDVI的对比,为什么Snetinel-2计算的结果最小值特别小,而Lansat8就很平均
  • ¥15 metadata提取的PDF元数据,如何转换为一个Excel
  • ¥15 关于arduino编程toCharArray()函数的使用
  • ¥100 vc++混合CEF采用CLR方式编译报错
  • ¥15 coze 的插件输入飞书多维表格 app_token 后一直显示错误,如何解决?
  • ¥15 vite+vue3+plyr播放本地public文件夹下视频无法加载
  • ¥15 c#逐行读取txt文本,但是每一行里面数据之间空格数量不同