Php 10月CMS在Z射线上的反射异常
当我使用Z-Ray在服务器上加载10月份的安装时,出现以下错误: //用作解析程序,以更精细地调整这些对象的分辨率Php 10月CMS在Z射线上的反射异常,php,laravel,zend-server,octobercms,Php,Laravel,Zend Server,Octobercms,当我使用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 t
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=newreflectionclass($concrete)代码>
作为反射异常
我不知道为什么要这样做,但在XAMPP上,这是不存在的
网址:和。相同的文件,复制/粘贴
谢谢,我找到问题了
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,他不厌其烦地帮助我解决了这个问题 试一试:composer在的根文件夹中转储自动加载app@num8er10月份没有composer.json。或者该文件未加载。抱歉,但它是如何从供应商文件夹自动加载类的?似乎是octobercms的问题:@num8er我找到了答案,请随意复制它以获得50分(: