protected function callRender(
        array $renderInfos,
        string $errType,
        string $errMsg,
        string $errFile,
        int $errLine,
        array $backtrace,
        $exceptionCode = null
    ) {
        $this->saveIntoPhpLog($errType, $errMsg, $errFile, $errLine);
        
        $class  = $renderInfos['class'];
        $method = $renderInfos['method'];
        
        //If is a class, call "$class::$method" (compatibility 5.x)
        if (!empty($class)) {
            $class::$method(
                $errType,
                $errMsg,
                $errFile,
                $errLine,
                $backtrace,
                $exceptionCode
            );
            
            return;
        }
        
        //If is not a class, it's a function.
        $method(
            $errType,
            $errMsg,
            $errFile,
            $errLine,
            $backtrace,
            $exceptionCode
        );
    }