18. InvalidArgumentException
…/­bootstrap/­compiled.php7648
17. Illuminate\View\FileViewFinder findInPaths
…/­bootstrap/­compiled.php7621
16. Illuminate\View\FileViewFinder find
…/­vendor/­laravel/­framework/­src/­Illuminate/­View/­Factory.php124
15. Illuminate\View\Factory make
…/­bootstrap/­compiled.php1452
14. Illuminate\Support\Facades\Facade __callStatic
…/­app/­controllers/­PageController.php342
13. Illuminate\Support\Facades\View make
…/­app/­controllers/­PageController.php342
12. PageController showCat
…/­app/­routes.php104
11. {closure}
<#unknown>0
10. call_user_func_array
…/­bootstrap/­compiled.php3370
9. Illuminate\Routing\Route run
…/­bootstrap/­compiled.php3037
8. Illuminate\Routing\Router dispatchToRoute
…/­bootstrap/­compiled.php3025
7. Illuminate\Routing\Router dispatch
…/­bootstrap/­compiled.php702
6. Illuminate\Foundation\Application dispatch
…/­bootstrap/­compiled.php678
5. Illuminate\Foundation\Application handle
…/­bootstrap/­compiled.php5797
4. Illuminate\Session\Middleware handle
…/­bootstrap/­compiled.php6404
3. Illuminate\Cookie\Queue handle
…/­bootstrap/­compiled.php6351
2. Illuminate\Cookie\Guard handle
…/­bootstrap/­compiled.php8434
1. Stack\StackedHttpKernel handle
…/­bootstrap/­compiled.php639
0. Illuminate\Foundation\Application run
/­home/­ktmkharkov/­public_html/­index.php50

InvalidArgumentException

Callstack information; navigate with mouse or keyboard using Ctrl+↑ or Ctrl+↓
Copy-to-clipboard button
Exception message and its type
Code snippet where the error was thrown
Server state information
Application provided context information
InvalidArgumentException thrown with message "View [pages.cat_page] not found." Stacktrace: #18 InvalidArgumentException in /home/ktmkharkov/public_html/local/bootstrap/compiled.php:7648 #17 Illuminate\View\FileViewFinder:findInPaths in /home/ktmkharkov/public_html/local/bootstrap/compiled.php:7621 #16 Illuminate\View\FileViewFinder:find in /home/ktmkharkov/public_html/local/vendor/laravel/framework/src/Illuminate/View/Factory.php:124 #15 Illuminate\View\Factory:make in /home/ktmkharkov/public_html/local/bootstrap/compiled.php:1452 #14 Illuminate\Support\Facades\Facade:__callStatic in /home/ktmkharkov/public_html/local/app/controllers/PageController.php:342 #13 Illuminate\Support\Facades\View:make in /home/ktmkharkov/public_html/local/app/controllers/PageController.php:342 #12 PageController:showCat in /home/ktmkharkov/public_html/local/app/routes.php:104 #11 {closure} in <#unknown>:0 #10 call_user_func_array in /home/ktmkharkov/public_html/local/bootstrap/compiled.php:3370 #9 Illuminate\Routing\Route:run in /home/ktmkharkov/public_html/local/bootstrap/compiled.php:3037 #8 Illuminate\Routing\Router:dispatchToRoute in /home/ktmkharkov/public_html/local/bootstrap/compiled.php:3025 #7 Illuminate\Routing\Router:dispatch in /home/ktmkharkov/public_html/local/bootstrap/compiled.php:702 #6 Illuminate\Foundation\Application:dispatch in /home/ktmkharkov/public_html/local/bootstrap/compiled.php:678 #5 Illuminate\Foundation\Application:handle in /home/ktmkharkov/public_html/local/bootstrap/compiled.php:5797 #4 Illuminate\Session\Middleware:handle in /home/ktmkharkov/public_html/local/bootstrap/compiled.php:6404 #3 Illuminate\Cookie\Queue:handle in /home/ktmkharkov/public_html/local/bootstrap/compiled.php:6351 #2 Illuminate\Cookie\Guard:handle in /home/ktmkharkov/public_html/local/bootstrap/compiled.php:8434 #1 Stack\StackedHttpKernel:handle in /home/ktmkharkov/public_html/local/bootstrap/compiled.php:639 #0 Illuminate\Foundation\Application:run in /home/ktmkharkov/public_html/index.php:50

View [pages.cat_page] not found.

        foreach ((array) $paths as $path) {
            foreach ($this->getPossibleViewFiles($name) as $file) {
                if ($this->files->exists($viewPath = $path . '/' . $file)) {
                    return $viewPath;
                }
            }
        }
        throw new \InvalidArgumentException("View [{$name}] not found.");
    }
    protected function getPossibleViewFiles($name)
    {
        if (isset($this->views[$name])) {
            return $this->views[$name];
        }
        if ($this->hasHintInformation($name = trim($name))) {
            return $this->views[$name] = $this->findNamedPathView($name);
        }
        return $this->views[$name] = $this->findInPaths($name, $this->paths);
    }
    protected function findNamedPathView($name)
	 * @param  array   $mergeData
	 * @return \Illuminate\View\View
	 */
	public function make($view, $data = array(), $mergeData = array())
	{
		if (isset($this->aliases[$view])) $view = $this->aliases[$view];
 
		$path = $this->finder->find($view);
 
		$data = array_merge($mergeData, $this->parseData($data));
        $instance = static::getFacadeRoot();
        switch (count($args)) {
            case 0:
                return $instance->{$method}();
            case 1:
                return $instance->{$method}($args[0]);
            case 2:
                return $instance->{$method}($args[0], $args[1]);
            case 3:
                return $instance->{$method}($args[0], $args[1], $args[2]);
						 'news_cat' => isset($news_cat) ? $news_cat : false ,
						 'top_news' => isset($top_news) ? $top_news : false ,
						 'alias_for_gallery' => 'gallery',
					 );
 
 
 
			return View::make($view, $data);
 
		} else {
						 'news_cat' => isset($news_cat) ? $news_cat : false ,
						 'top_news' => isset($top_news) ? $top_news : false ,
						 'alias_for_gallery' => 'gallery',
					 );
 
 
 
			return View::make($view, $data);
 
		} else {
        'unit' => '[a-zA-Z0-9-_]+'
    ]);
 
    Route::get('{slug}', function($slug) {
 
        if (Demos\Units\Cat::where('alias', '=', $slug)->count() > 0) {
            $controller = App::make('PageController');
            return $controller->showCat($slug);
        } elseif (Demos\Units\Unit::where('alias', '=', $slug)->count() > 0 ) {
            $controller = App::make('PageController');
<#unknown>
        }
    }
    public function run()
    {
        $parameters = array_filter($this->parameters(), function ($p) {
            return isset($p);
        });
        return call_user_func_array($this->action['uses'], $parameters);
    }
    public function matches(Request $request, $includingMethod = true)
    }
    public function dispatchToRoute(Request $request)
    {
        $route = $this->findRoute($request);
        $this->events->fire('router.matched', array($route, $request));
        $response = $this->callRouteBefore($route, $request);
        if (is_null($response)) {
            $response = $route->run($request);
        }
        $response = $this->prepareResponse($request, $response);
        return isset($group['namespace']) ? $group['namespace'] . '\\' . $uses : $uses;
    }
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
        $response = $this->callFilter('before', $request);
        if (is_null($response)) {
            $response = $this->dispatchToRoute($request);
        }
        $response = $this->prepareResponse($request, $response);
            if (!is_null($response)) {
                return $this->prepareResponse($response, $request);
            }
        }
        if ($this->runningUnitTests() && !$this['session']->isStarted()) {
            $this['session']->start();
        }
        return $this['router']->dispatch($this->prepareRequest($request));
    }
    public function terminate(SymfonyRequest $request, SymfonyResponse $response)
        });
    }
    public function handle(SymfonyRequest $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        try {
            $this->refreshRequest($request = Request::createFromBase($request));
            $this->boot();
            return $this->dispatch($request);
        } catch (\Exception $e) {
            if (!$catch || $this->runningUnitTests()) {
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        $this->checkRequestForArraySessions($request);
        if ($this->sessionConfigured()) {
            $session = $this->startSession($request);
            $request->setSession($session);
        }
        $response = $this->app->handle($request, $type, $catch);
        if ($this->sessionConfigured()) {
            $this->closeSession($session);
    public function __construct(HttpKernelInterface $app, CookieJar $cookies)
    {
        $this->app = $app;
        $this->cookies = $cookies;
    }
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        $response = $this->app->handle($request, $type, $catch);
        foreach ($this->cookies->getQueuedCookies() as $cookie) {
            $response->headers->setCookie($cookie);
    public function __construct(HttpKernelInterface $app, Encrypter $encrypter)
    {
        $this->app = $app;
        $this->encrypter = $encrypter;
    }
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        return $this->encrypt($this->app->handle($this->decrypt($request), $type, $catch));
    }
    protected function decrypt(Request $request)
    public function __construct(HttpKernelInterface $app, array $middlewares)
    {
        $this->app = $app;
        $this->middlewares = $middlewares;
    }
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        return $this->app->handle($request, $type, $catch);
    }
    public function terminate(Request $request, Response $response)
        if ($this->isBooted()) {
            $this->fireAppCallbacks(array($callback));
        }
    }
    public function run(SymfonyRequest $request = null)
    {
        $request = $request ?: $this['request'];
        $response = with($stack = $this->getStackedClient())->handle($request);
        $response->send();
        $stack->terminate($request, $response);
| Once we have the application, we can simply call the run method,
| which will execute the request and send the response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have whipped up for them.
|
*/
SassCompiler::run("scss/", "css/",'scss_formatter_compressed');
$app->run();
 
empty
empty
empty
empty
empty
Key Value
CONTEXT_DOCUMENT_ROOT /home/ktmkharkov/public_html
CONTEXT_PREFIX
DOCUMENT_ROOT /home/ktmkharkov/public_html
GATEWAY_INTERFACE CGI/1.1
HTTPS on
HTTP_ACCEPT */*
HTTP_HOST ktm.kharkov.ua
HTTP_REFERER https://ktm.kharkov.ua/85-sx-1714
HTTP_USER_AGENT claudebot
HTTP_X_HTTPS 1
PATH /bin:/usr/bin
PHP_INI_SCAN_DIR /opt/cpanel/ea-php56/root/etc:/opt/cpanel/ea-php56/root/etc/php.d:.
QUERY_STRING
REDIRECT_HTTPS on
REDIRECT_SCRIPT_URI https://ktm.kharkov.ua/ua/85-sx-1714
REDIRECT_SCRIPT_URL /ua/85-sx-1714
REDIRECT_SSL_TLS_SNI ktm.kharkov.ua
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID ZflV-WaYLjHqWhmqs45QUAAAABI
REDIRECT_URL /ua/85-sx-1714
REMOTE_ADDR 34.236.152.203
REMOTE_PORT 51884
REQUEST_METHOD GET
REQUEST_SCHEME https
REQUEST_URI /ua/85-sx-1714
SCRIPT_FILENAME /home/ktmkharkov/public_html/index.php
SCRIPT_NAME /index.php
SCRIPT_URI https://ktm.kharkov.ua/ua/85-sx-1714
SCRIPT_URL /ua/85-sx-1714
SERVER_ADDR 195.191.24.193
SERVER_ADMIN webmaster@ktm.kharkov.ua
SERVER_NAME ktm.kharkov.ua
SERVER_PORT 443
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SSL_TLS_SNI ktm.kharkov.ua
TZ Europe/Kiev
UNIQUE_ID ZflV-WaYLjHqWhmqs45QUAAAABI
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710839289.43
REQUEST_TIME 1710839289
argv Array ( )
argc 0
Key Value
CONTEXT_DOCUMENT_ROOT /home/ktmkharkov/public_html
CONTEXT_PREFIX
DOCUMENT_ROOT /home/ktmkharkov/public_html
GATEWAY_INTERFACE CGI/1.1
HTTPS on
HTTP_ACCEPT */*
HTTP_HOST ktm.kharkov.ua
HTTP_REFERER https://ktm.kharkov.ua/85-sx-1714
HTTP_USER_AGENT claudebot
HTTP_X_HTTPS 1
PATH /bin:/usr/bin
PHP_INI_SCAN_DIR /opt/cpanel/ea-php56/root/etc:/opt/cpanel/ea-php56/root/etc/php.d:.
QUERY_STRING
REDIRECT_HTTPS on
REDIRECT_SCRIPT_URI https://ktm.kharkov.ua/ua/85-sx-1714
REDIRECT_SCRIPT_URL /ua/85-sx-1714
REDIRECT_SSL_TLS_SNI ktm.kharkov.ua
REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID ZflV-WaYLjHqWhmqs45QUAAAABI
REDIRECT_URL /ua/85-sx-1714
REMOTE_ADDR 34.236.152.203
REMOTE_PORT 51884
REQUEST_METHOD GET
REQUEST_SCHEME https
REQUEST_URI /ua/85-sx-1714
SCRIPT_FILENAME /home/ktmkharkov/public_html/index.php
SCRIPT_NAME /index.php
SCRIPT_URI https://ktm.kharkov.ua/ua/85-sx-1714
SCRIPT_URL /ua/85-sx-1714
SERVER_ADDR 195.191.24.193
SERVER_ADMIN webmaster@ktm.kharkov.ua
SERVER_NAME ktm.kharkov.ua
SERVER_PORT 443
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SSL_TLS_SNI ktm.kharkov.ua
TZ Europe/Kiev
UNIQUE_ID ZflV-WaYLjHqWhmqs45QUAAAABI
0. Whoops\Handler\PrettyPageHandler