PHP: October CMS Reflection Exception on Z-Ray

PHP: October CMS Reflection Exception on Z-Ray

Home Forums Scripting PHP Tutorials PHP: October CMS Reflection Exception on Z-Ray

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36031

    Cloudy Point
    Keymaster

    QuestionQuestion

    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

    #36035

    Cloudy Point
    Keymaster

    Accepted AnswerAnswer

    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)SiteExtensionsZray55.9.6pluginsLaravel1.0.0zrayzray.php(122): IlluminateContainerContainer->offsetGet('auth') #5 C:Program Files (x86)SiteExtensionsZray55.9.6pluginsLaravel1.0.0zrayzray.php(27): ZRayLaravel->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!

    Source: http://stackoverflow.com/questions/32106218/october-cms-reflection-exception-on-z-ray
    Author: Félix Desjardins
    Creative Commons License
    This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.