Whoops \ Exception \ ErrorException (E_DEPRECATED)
Required parameter $cachePath follows optional parameter $viewPaths Whoops\Exception\ErrorException thrown with message "Required parameter $cachePath follows optional parameter $viewPaths" Stacktrace: #6 Whoops\Exception\ErrorException in /home2/medelli1/public_html/transparencia/vendor/philo/laravel-blade/src/Blade.php:45 #5 Whoops\Run:handleError in /home2/medelli1/public_html/transparencia/vendor/composer/ClassLoader.php:444 #4 include in /home2/medelli1/public_html/transparencia/vendor/composer/ClassLoader.php:444 #3 Composer\Autoload\includeFile in /home2/medelli1/public_html/transparencia/vendor/composer/ClassLoader.php:322 #2 Composer\Autoload\ClassLoader:loadClass in /home2/medelli1/public_html/transparencia/application/core/MY_Controller.php:24 #1 MY_Controller:__construct in /home2/medelli1/public_html/transparencia/system/core/CodeIgniter.php:518 #0 require_once in /home2/medelli1/public_html/transparencia/index.php:335
Stack frames (7)
6
Whoops\Exception\ErrorException
/vendor/philo/laravel-blade/src/Blade.php45
5
Whoops\Run handleError
/vendor/composer/ClassLoader.php444
4
include
/vendor/composer/ClassLoader.php444
3
Composer\Autoload\includeFile
/vendor/composer/ClassLoader.php322
2
Composer\Autoload\ClassLoader loadClass
/application/core/MY_Controller.php24
1
MY_Controller __construct
/system/core/CodeIgniter.php518
0
require_once
/index.php335
/home2/medelli1/public_html/transparencia/vendor/philo/laravel-blade/src/Blade.php
     */
    public $cachePath;
 
    /**
     * @var Illuminate\Container\Container
     */
    protected $container;
 
    /**
     * @var Illuminate\View\Factory
     */
    protected $instance;
 
    /**
     * Initialize class
     * @param array  $viewPaths
     * @param string $cachePath
     * @param Illuminate\Events\Dispatcher $events
     */
    function __construct($viewPaths = array(), $cachePath, Dispatcher $events = null) {
 
        $this->container = new Container;
 
        $this->viewPaths = (array) $viewPaths;
 
        $this->cachePath = $cachePath;
 
        $this->registerFilesystem();
 
        $this->registerEvents($events ?: new Dispatcher);
 
        $this->registerEngineResolver();
 
        $this->registerViewFinder();
 
        $this->instance = $this->registerFactory();
    }
 
    public function view()
    {
/home2/medelli1/public_html/transparencia/vendor/composer/ClassLoader.php
            }
        }
 
        // PSR-0 include paths.
        if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
            return $file;
        }
 
        return false;
    }
}
 
/**
 * Scope isolated include.
 *
 * Prevents access to $this/self from included files.
 */
function includeFile($file)
{
    include $file;
}
 
/home2/medelli1/public_html/transparencia/vendor/composer/ClassLoader.php
            }
        }
 
        // PSR-0 include paths.
        if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
            return $file;
        }
 
        return false;
    }
}
 
/**
 * Scope isolated include.
 *
 * Prevents access to $this/self from included files.
 */
function includeFile($file)
{
    include $file;
}
 
/home2/medelli1/public_html/transparencia/vendor/composer/ClassLoader.php
    }
 
    /**
     * Unregisters this instance as an autoloader.
     */
    public function unregister()
    {
        spl_autoload_unregister(array($this, 'loadClass'));
    }
 
    /**
     * Loads the given class or interface.
     *
     * @param  string    $class The name of the class
     * @return bool|null True if loaded, null otherwise
     */
    public function loadClass($class)
    {
        if ($file = $this->findFile($class)) {
            includeFile($file);
 
            return true;
        }
    }
 
    /**
     * Finds the path to the file where the class is defined.
     *
     * @param string $class The name of the class
     *
     * @return string|false The path if found, false otherwise
     */
    public function findFile($class)
    {
        // class map lookup
        if (isset($this->classMap[$class])) {
            return $this->classMap[$class];
        }
        if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) {
            return false;
/home2/medelli1/public_html/transparencia/application/core/MY_Controller.php
use Philo\Blade\Blade;

class MY_Controller extends CI_Controller {

    protected $blade;
    protected $views;
    protected $cache;
    protected $roles;
    //files
    protected $fileRules = array("allowed_types" => "jpg|jpeg|JPG|JPEG|png|PNG|GIF|gif|docx|doc|xls|xlsx|ppt|pptx|pdf");
    public static $post_max_size;

    public function __construct() {
        date_default_timezone_set("America/Mexico_City");
        parent::__construct();
        $this->load->library("util");
        MY_Controller::$post_max_size = $this->util->getMaxPostSize() / 1024;
        $this->views = APPPATH . '/views';
        $this->cache = APPPATH . '/cache';
        $this->blade = new Blade($this->views, $this->cache);
        $this->blade->view()->composer("*", function($view) {
            $view->with("session", $this->session);
            $view->with("uri", $this->uri);
            $view->with("control", $this);
        });
        $this->roles = "";
    }

    function ok($value = "", $contentType = httpContentType::plainHtml) {
        $this->output->set_content_type($contentType);
        $this->output->set_status_header('200');
        echo $value;
    }

    function forbbiden($value = "", $contentType = httpContentType::plainHtml) {
        $this->output->set_content_type($contentType);
        $this->output->set_status_header('403');
        echo $value;
    }

/home2/medelli1/public_html/transparencia/system/core/CodeIgniter.php
    {
        $params = array_slice($URI->rsegments, 2);
    }

/*
 * ------------------------------------------------------
 *  Is there a "pre_controller" hook?
 * ------------------------------------------------------
 */
    $EXT->call_hook('pre_controller');

/*
 * ------------------------------------------------------
 *  Instantiate the requested controller
 * ------------------------------------------------------
 */
    // Mark a start point so we can benchmark the controller
    $BM->mark('controller_execution_time_( '.$class.' / '.$method.' )_start');

    $CI = new $class();

/*
 * ------------------------------------------------------
 *  Is there a "post_controller_constructor" hook?
 * ------------------------------------------------------
 */
    $EXT->call_hook('post_controller_constructor');

/*
 * ------------------------------------------------------
 *  Call the requested method
 * ------------------------------------------------------
 */
    call_user_func_array(array(&$CI, $method), $params);

    // Mark a benchmark end point
    $BM->mark('controller_execution_time_( '.$class.' / '.$method.' )_end');

/*
 * ------------------------------------------------------
/home2/medelli1/public_html/transparencia/index.php
            DIRECTORY_SEPARATOR.DIRECTORY_SEPARATOR
        );
    }
    else
    {
        header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
        echo 'Your view folder path does not appear to be set correctly. Please open the following file and correct this: '.SELF;
        exit(3); // EXIT_CONFIG
    }

    define('VIEWPATH', $view_folder.DIRECTORY_SEPARATOR);

/*
 * --------------------------------------------------------------------
 * LOAD THE BOOTSTRAP FILE
 * --------------------------------------------------------------------
 *
 * And away we go...
 */
require_once BASEPATH.'core/CodeIgniter.php';
 

Environment & details:

empty
empty
empty
empty
Key Value
__ci_last_regenerate 1711714224
Key Value
USER medelli1
HOME /home2/medelli1
SCRIPT_NAME /transparencia/index.php
REQUEST_URI /transparencia/obligaciones-de-transparencia-2/
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /transparencia/obligaciones-de-transparencia-2/
REMOTE_PORT 51998
SCRIPT_FILENAME /home2/medelli1/public_html/transparencia/index.php
SERVER_ADMIN webmaster@medellin.gob.mx
CONTEXT_DOCUMENT_ROOT /home2/medelli1/public_html
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /home2/medelli1/public_html
REMOTE_ADDR 54.224.100.102
SERVER_PORT 443
SERVER_ADDR 147.182.181.185
SERVER_NAME medellin.gob.mx
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
PATH /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
HTTP_X_HTTPS 1
HTTP_HOST medellin.gob.mx
HTTP_REFERER http://medellin.gob.mx/transparencia/obligaciones-de-transparencia-2/
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
proxy-nokeepalive 1
SSL_TLS_SNI medellin.gob.mx
HTTPS on
SCRIPT_URI https://medellin.gob.mx/transparencia/obligaciones-de-transparencia-2/
SCRIPT_URL /transparencia/obligaciones-de-transparencia-2/
UNIQUE_ID ZgavsD-fdguQ3zoNXgXo-AAAAA4
REDIRECT_STATUS 200
REDIRECT_SSL_TLS_SNI medellin.gob.mx
REDIRECT_HTTPS on
REDIRECT_SCRIPT_URI https://medellin.gob.mx/transparencia/obligaciones-de-transparencia-2/
REDIRECT_SCRIPT_URL /transparencia/obligaciones-de-transparencia-2/
REDIRECT_UNIQUE_ID ZgavsD-fdguQ3zoNXgXo-AAAAA4
FCGI_ROLE RESPONDER
PHP_SELF /transparencia/index.php
REQUEST_TIME_FLOAT 1711714224.3672
REQUEST_TIME 1711714224
argv Array ( )
argc 0
empty
0. Whoops\Handler\PrettyPageHandler