Whoops \ Exception \ ErrorException (E_WARNING)
require(views/404.php): failed to open stream: No such file or directory Whoops\Exception\ErrorException thrown with message "require(views/404.php): failed to open stream: No such file or directory" Stacktrace: #6 Whoops\Exception\ErrorException in /var/www/vhosts/grdar.cloud/fotokamal.com/core/vendor/grdar/core/src/Views/View.php:45 #5 require in /var/www/vhosts/grdar.cloud/fotokamal.com/core/vendor/grdar/core/src/Views/View.php:45 #4 Grdar\core\Views\View:html in /var/www/vhosts/grdar.cloud/fotokamal.com/core/vendor/grdar/core/src/Views/View.php:57 #3 Grdar\core\Views\View:view in /var/www/vhosts/grdar.cloud/fotokamal.com/core/vendor/grdar/core/src/Routes/Router.php:76 #2 Grdar\core\Routes\Router:sendResponse in /var/www/vhosts/grdar.cloud/fotokamal.com/core/vendor/grdar/core/src/Routes/Router.php:54 #1 Grdar\core\Routes\Router:run in /var/www/vhosts/grdar.cloud/fotokamal.com/core/vendor/grdar/core/src/Facades/Facade.php:38 #0 Grdar\core\Facades\Facade:__callStatic in /var/www/vhosts/grdar.cloud/fotokamal.com/index.php:51
Stack frames (7)
6
Whoops
\
Exception
\
ErrorException
/
vendor
/
grdar
/
core
/
src
/
Views
/
View.php
45
5
require
/
vendor
/
grdar
/
core
/
src
/
Views
/
View.php
45
4
Grdar
\
core
\
Views
\
View
html
/
vendor
/
grdar
/
core
/
src
/
Views
/
View.php
57
3
Grdar
\
core
\
Views
\
View
view
/
vendor
/
grdar
/
core
/
src
/
Routes
/
Router.php
76
2
Grdar
\
core
\
Routes
\
Router
sendResponse
/
vendor
/
grdar
/
core
/
src
/
Routes
/
Router.php
54
1
Grdar
\
core
\
Routes
\
Router
run
/
vendor
/
grdar
/
core
/
src
/
Facades
/
Facade.php
38
0
Grdar
\
core
\
Facades
\
Facade
__callStatic
/
var
/
www
/
vhosts
/
grdar.cloud
/
fotokamal.com
/
index.php
51
/
var
/
www
/
vhosts
/
grdar.cloud
/
fotokamal.com
/
core
/
vendor
/
grdar
/
core
/
src
/
Views
/
View.php
        $container = Container::getInstance();
        return get_object_vars($container);
    }
 
 
    public static function html()
    {
 
        isset(self::$vars) ? $this->isArray() : false;
        self::getInstance();
 
        ob_start();
        echo '
        <!doctype html>
        <html lang="' . idioma() . '">';
 
        require self::INCLUDES . 'head.php';
        echo '<body>';
        require self::INCLUDES . 'header.php';
        require self::VIEWS . self::$template . '.php';
        require self::INCLUDES . 'footer.php';
        echo '</body>
        </html>';
 
        self::$templateContent = ob_get_clean();
    }
 
    public static function view($template, $vars = null)
    {
        self::$template = $template;
        self::$vars     = $vars;
        self::html();
        return self::$templateContent;
    }
 
    public function abort404($message)
    {
        http_response_code(404);
        view('404');
        exit();
/
var
/
www
/
vhosts
/
grdar.cloud
/
fotokamal.com
/
core
/
vendor
/
grdar
/
core
/
src
/
Views
/
View.php
        $container = Container::getInstance();
        return get_object_vars($container);
    }
 
 
    public static function html()
    {
 
        isset(self::$vars) ? $this->isArray() : false;
        self::getInstance();
 
        ob_start();
        echo '
        <!doctype html>
        <html lang="' . idioma() . '">';
 
        require self::INCLUDES . 'head.php';
        echo '<body>';
        require self::INCLUDES . 'header.php';
        require self::VIEWS . self::$template . '.php';
        require self::INCLUDES . 'footer.php';
        echo '</body>
        </html>';
 
        self::$templateContent = ob_get_clean();
    }
 
    public static function view($template, $vars = null)
    {
        self::$template = $template;
        self::$vars     = $vars;
        self::html();
        return self::$templateContent;
    }
 
    public function abort404($message)
    {
        http_response_code(404);
        view('404');
        exit();
/
var
/
www
/
vhosts
/
grdar.cloud
/
fotokamal.com
/
core
/
vendor
/
grdar
/
core
/
src
/
Views
/
View.php
        echo '
        <!doctype html>
        <html lang="' . idioma() . '">';
 
        require self::INCLUDES . 'head.php';
        echo '<body>';
        require self::INCLUDES . 'header.php';
        require self::VIEWS . self::$template . '.php';
        require self::INCLUDES . 'footer.php';
        echo '</body>
        </html>';
 
        self::$templateContent = ob_get_clean();
    }
 
    public static function view($template, $vars = null)
    {
        self::$template = $template;
        self::$vars     = $vars;
        self::html();
        return self::$templateContent;
    }
 
    public function abort404($message)
    {
        http_response_code(404);
        view('404');
        exit();
    }
}
/
var
/
www
/
vhosts
/
grdar.cloud
/
fotokamal.com
/
core
/
vendor
/
grdar
/
core
/
src
/
Routes
/
Router.php
    public function sendResponse($response)
    {
 
        if (is_string($response))
        {
            echo $response;
        }
        else if (is_array($response))
        {
            echo json_encode($response);
        }
        else if ($response instanceof Response)
        {
            $response->execute();
        }
        else
        {
            header("HTTP/1.0 404 Not Found");
            $_REQUEST['page'] = '404';
            exit(View::view('404'));
        }
    }
}
 
/
var
/
www
/
vhosts
/
grdar.cloud
/
fotokamal.com
/
core
/
vendor
/
grdar
/
core
/
src
/
Routes
/
Router.php
    {
        $route = new Route($uri, $closure);
        array_push($this->routes, $route);
    }
 
    public function run()
    {
        $response = false;
        $requestUri = $this->getRequestUri();
        foreach ($this->routes as $route)
        {
            if ($route->checkIfMatch($requestUri))
            {
                $response = $route->execute();
                // break para no seguir dando vueltas
                // Ya se encontró la ruta correspondiente
                break;
            }
        }
        $this->sendResponse($response);
    }
    
    public function sendResponse($response)
    {
 
        if (is_string($response))
        {
            echo $response;
        }
        else if (is_array($response))
        {
            echo json_encode($response);
        }
        else if ($response instanceof Response)
        {
            $response->execute();
        }
        else
        {
            header("HTTP/1.0 404 Not Found");
/
var
/
www
/
vhosts
/
grdar.cloud
/
fotokamal.com
/
core
/
vendor
/
grdar
/
core
/
src
/
Facades
/
Facade.php
    {
        return static::$container;
    }
 
    public static function getAccessor()
    {
        throw new Exception('Please define the getAccessor method in your facade');
    }
 
    public static function getInstance()
    {
        return static::getContainer()->make(static::getAccessor());
    }
 
    public static function __callStatic($method, $args)
    {
        $object = static::getInstance();
        switch (count($args)) {
            case 0:
                return $object->$method();
            case 1:
                return $object->$method($args[0]);
            case 2:
                return $object->$method($args[0], $args[1]);
            case 3:
                return $object->$method($args[0], $args[1], $args[2]);
            default:
                return call_user_func_array(array($object, $method), $args);
        }
    }
 
}
/
var
/
www
/
vhosts
/
grdar.cloud
/
fotokamal.com
/
index.php
Rout::add('/:lang/' . PATHS_APP['Blog'][$idioma]["url"].'/'. PATHS_APP['Categoria'][$idioma]["url"] . '/:category', 'Index::blog');
/* Rout::add('/:lang/' . PATHS_APP['Blog'][$idioma]["url"].'/'. PATHS_APP['Buscar'][$idioma]["url"] . '/:buscar', 'Index::novedadesb'); */
 
Rout::add('/:lang/' . PATHS_APP['Nota-Legal'][$idioma]["url"], 'Index::notaLegal');
Rout::add('/:lang/' . PATHS_APP['Politica'][$idioma]["url"], 'Index::politica');
Rout::add('/:lang/' . PATHS_APP['Cookies'][$idioma]["url"], 'Index::cookies');
 
Rout::add('/:lang/' . PATHS_APP['Condiciones-Uso'][$idioma]["url"], 'Index::condicionesUso');
 
 
Rout::add('/:lang/' . PATHS_APP['Family-Wedding'][$idioma]["url"], 'Index::familywedding');
Rout::add('/:lang/' . PATHS_APP['Family-Wedding-Blog'][$idioma]["url"], 'Index::familyweddingblog');
Rout::add('/:lang/' . PATHS_APP['Family-Wedding-Blog'][$idioma]["url"]. '/:categoria', 'Index::familyweddingblog');
Rout::add('/:lang/' . PATHS_APP['Family-Wedding-Post'][$idioma]["url"]. '/:post', 'Index::familyweddingpost');
 
 
 
 
 
Rout::run();
 
ob_end_flush();

Environment & details:

empty
empty
empty
empty
Key Value
cache_idiomas Array ( [0] => stdClass Object ( [texto] => Proyectos [label] => header_proyectos ) [1] => stdClass Object ( [texto] => Detrás [label] => header_detras ) [2] => stdClass Object ( [texto] => Blog [label] => header_blog ) [3] => stdClass Object ( [texto] => Contacto [label] => header_contacto ) [4] => stdClass Object ( [texto] => Proyectos [label] => header_proyectos ) [5] => stdClass Object ( [texto] => Detrás [label] => header_detras ) [6] => stdClass Object ( [texto] => Blog [label] => header_blog ) [7] => stdClass Object ( [texto] => Contacto [label] => header_contacto ) [8] => stdClass Object ( [texto] => Info Cookies [label] => footer_info-cookies ) [9] => stdClass Object ( [texto] => Utilizamos cookies de terceros para analizar la actividad de nuestra web con la finalidad de mejorar su contenido. Clica [label] => footer_texto-cookies1 ) [10] => stdClass Object ( [texto] => AQUÍ [label] => footer_texto-cookies2 ) [11] => stdClass Object ( [texto] => para más información. Puedes aceptar todas las cookies pulsando el botón “Aceptar”. Para rechazar el uso de cookies clica el botón "Rechazar". [label] => footer_texto-cookies3 ) [12] => stdClass Object ( [texto] => Rechazar [label] => footer_cookies-rechazar ) [13] => stdClass Object ( [texto] => Aceptar [label] => footer_cookies-aceptar ) [14] => stdClass Object ( [texto] => Bodas [label] => headerfw_bodas ) [15] => stdClass Object ( [texto] => Familia [label] => headerfw_familia ) [16] => stdClass Object ( [texto] => Experiencias [label] => headerfw_experiencias ) [17] => stdClass Object ( [texto] => Detrás [label] => headerfw_detras ) [18] => stdClass Object ( [texto] => Contacto [label] => headerfw_contacto ) )
Key Value
USER grdarcloud
HOME /var/www/vhosts/grdar.cloud
SCRIPT_NAME /index.php
REQUEST_URI /lang/es/contactar
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.0
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /lang/es/contactar
REMOTE_PORT 51786
SCRIPT_FILENAME /var/www/vhosts/grdar.cloud/fotokamal.com/index.php
SERVER_ADMIN [no address given]
CONTEXT_DOCUMENT_ROOT /var/www/vhosts/grdar.cloud/fotokamal.com
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /var/www/vhosts/grdar.cloud/fotokamal.com
REMOTE_ADDR 54.205.179.155
SERVER_PORT 443
SERVER_ADDR 10.156.0.5
SERVER_NAME www.fotokamal.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at www.fotokamal.com Port 443</address>
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_CONNECTION close
HTTP_X_ACCEL_INTERNAL /internal-nginx-static-location
HTTP_X_REAL_IP 54.205.179.155
HTTP_HOST www.fotokamal.com
proxy-nokeepalive 1
HTTPS on
SCRIPT_URI https://www.fotokamal.com/lang/es/contactar
SCRIPT_URL /lang/es/contactar
UNIQUE_ID ZflKb7YjAEOO@3DtYZKxlAAAAEc
REDIRECT_STATUS 200
REDIRECT_HTTPS on
REDIRECT_SCRIPT_URI https://www.fotokamal.com/lang/es/contactar
REDIRECT_SCRIPT_URL /lang/es/contactar
REDIRECT_UNIQUE_ID ZflKb7YjAEOO@3DtYZKxlAAAAEc
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710836335.4898
REQUEST_TIME 1710836335
empty
0. Whoops\Handler\PrettyPageHandler