Error

We're sorry, but an unhandled error occurred. Please see the details below.

Cannot create file: /var/www/html/thinkhq/src/app/storage/cache/27/88

/var/www/html/thinkhq/src/modules/cms/classes/CodeParser.php line 122

 
        $dir = dirname($path);
        if (!File::isDirectory($dir) && !@File::makeDirectory($dir, 0777, true))
            throw new SystemException(Lang::get('system::lang.directory.create_fail', ['name'=>$dir]));
 
        if (!@File::put($path, $fileContents))
            throw new SystemException(Lang::get('system::lang.file.create_fail', ['name'=>$dir]));
 
        $cached = $this->getCachedInfo();
        if (!$cached)
            $cached = [];
 
        $result['className'] = $className;

Stack trace

# Called Code Document Line
20 Cms\Classes\CodeParser->parse() https://think-hq.com.au/modules/cms/classes/CodeParser.php 149
19 Cms\Classes\CodeParser->source() https://think-hq.com.au/modules/cms/classes/Controller.php 312
18 Cms\Classes\Controller->initCustomObjects() https://think-hq.com.au/modules/cms/classes/Controller.php 191
17 Cms\Classes\Controller->run()
16 call_user_func_array() https://think-hq.com.au/vendor/laravel/framework/src/Illuminate/Routing/Controller.php 231
15 Illuminate\Routing\Controller->callAction() https://think-hq.com.au/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 93
14 Illuminate\Routing\ControllerDispatcher->call() https://think-hq.com.au/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 62
13 Illuminate\Routing\ControllerDispatcher->dispatch() https://think-hq.com.au/vendor/laravel/framework/src/Illuminate/Routing/Router.php 962
12 Illuminate\Routing\Router->Illuminate\Routing\{closure}()
11 call_user_func_array() https://think-hq.com.au/vendor/laravel/framework/src/Illuminate/Routing/Route.php 109
10 Illuminate\Routing\Route->run() https://think-hq.com.au/vendor/laravel/framework/src/Illuminate/Routing/Router.php 1028
9 Illuminate\Routing\Router->dispatchToRoute() https://think-hq.com.au/vendor/laravel/framework/src/Illuminate/Routing/Router.php 996
8 Illuminate\Routing\Router->dispatch() https://think-hq.com.au/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 776
7 Illuminate\Foundation\Application->dispatch() https://think-hq.com.au/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 746
6 Illuminate\Foundation\Application->handle() https://think-hq.com.au/vendor/laravel/framework/src/Illuminate/Session/Middleware.php 72
5 Illuminate\Session\Middleware->handle() https://think-hq.com.au/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php 47
4 Illuminate\Cookie\Queue->handle() https://think-hq.com.au/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php 51
3 Illuminate\Cookie\Guard->handle() https://think-hq.com.au/vendor/stack/builder/src/Stack/StackedHttpKernel.php 23
2 Stack\StackedHttpKernel->handle() https://think-hq.com.au/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 642
1 Illuminate\Foundation\Application->run() https://think-hq.com.au/index.php 40