Illuminate \ View \ ViewException (E_ERROR)
SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `menus` where `status` = published) (View: /var/www/vd/platform/themes/ultra/partials/header/style-1.blade.php) (View: /var/www/vd/platform/themes/ultra/partials/header/style-1.blade.php) (View: /var/www/vd/platform/themes/ultra/partials/header/style-1.blade.php)
Previous exceptions
  • SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `menus` where `status` = published) (View: /var/www/vd/platform/themes/ultra/partials/header/style-1.blade.php) (View: /var/www/vd/platform/themes/ultra/partials/header/style-1.blade.php) (0)
  • SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `menus` where `status` = published) (View: /var/www/vd/platform/themes/ultra/partials/header/style-1.blade.php) (0)
  • SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `menus` where `status` = published) (2002)
  • SQLSTATE[HY000] [2002] Connection refused (2002)
Illuminate\View\ViewException thrown with message "SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `menus` where `status` = published) (View: /var/www/vd/platform/themes/ultra/partials/header/style-1.blade.php) (View: /var/www/vd/platform/themes/ultra/partials/header/style-1.blade.php) (View: /var/www/vd/platform/themes/ultra/partials/header/style-1.blade.php)" Stacktrace: #97 Illuminate\View\ViewException in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php:712 #96 Illuminate\View\Engines\CompilerEngine:handleViewException in /var/www/vd/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60 #95 Illuminate\View\ViewException in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php:712 #94 Illuminate\View\Engines\CompilerEngine:handleViewException in /var/www/vd/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60 #93 Illuminate\View\ViewException in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php:712 #92 Illuminate\View\Engines\CompilerEngine:handleViewException in /var/www/vd/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60 #91 Illuminate\Database\QueryException in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php:712 #90 PDOException in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70 #89 PDO:__construct in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70 #88 Illuminate\Database\Connectors\Connector:createPdoConnection in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:100 #87 Illuminate\Database\Connectors\Connector:tryAgainIfCausedByLostConnection in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:50 #86 Illuminate\Database\Connectors\Connector:createConnection in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24 #85 Illuminate\Database\Connectors\MySqlConnector:connect in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:184 #84 Illuminate\Database\Connectors\ConnectionFactory:Illuminate\Database\Connectors\{closure} in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1064 #83 call_user_func in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1064 #82 Illuminate\Database\Connection:getPdo in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1100 #81 Illuminate\Database\Connection:getReadPdo in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php:442 #80 Illuminate\Database\Connection:getPdoForSelect in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php:368 #79 Illuminate\Database\Connection:Illuminate\Database\{closure} in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php:705 #78 Illuminate\Database\Connection:runQueryCallback in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php:784 #77 Illuminate\Database\Connection:tryAgainIfCausedByLostConnection in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php:764 #76 Illuminate\Database\Connection:handleQueryException in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php:675 #75 Illuminate\Database\Connection:run in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php:376 #74 Illuminate\Database\Connection:select in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2414 #73 Illuminate\Database\Query\Builder:runSelect in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2402 #72 Illuminate\Database\Query\Builder:Illuminate\Database\Query\{closure} in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2936 #71 Illuminate\Database\Query\Builder:onceWithColumns in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2403 #70 Illuminate\Database\Query\Builder:get in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:625 #69 Illuminate\Database\Eloquent\Builder:getModels in /var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:609 #68 Illuminate\Database\Eloquent\Builder:get in /var/www/vd/vendor/botble/platform/support/src/Repositories/Eloquent/RepositoriesAbstract.php:157 #67 Botble\Support\Repositories\Eloquent\RepositoriesAbstract:allBy in /var/www/vd/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php:51 #66 call_user_func_array in /var/www/vd/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php:51 #65 Botble\Support\Repositories\Caches\CacheAbstractDecorator:getDataIfExistCache in /var/www/vd/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php:192 #64 Botble\Support\Repositories\Caches\CacheAbstractDecorator:allBy in /var/www/vd/vendor/botble/menu/src/Menu.php:298 #63 Botble\Menu\Menu:read in /var/www/vd/vendor/botble/menu/src/Menu.php:283 #62 Botble\Menu\Menu:load in /var/www/vd/vendor/botble/menu/src/Menu.php:241 #61 Botble\Menu\Menu:renderMenuLocation in /var/www/vd/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261 #60 Illuminate\Support\Facades\Facade:__callStatic in /var/www/vd/storage/framework/views/128647ead46660761d4e041d755d0e3789ffd366.php:36 #59 require in /var/www/vd/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:107 #58 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /var/www/vd/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:108 #57 Illuminate\Filesystem\Filesystem:getRequire in /var/www/vd/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58 #56 Illuminate\View\Engines\PhpEngine:evaluatePath in /var/www/vd/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:61 #55 Illuminate\View\Engines\CompilerEngine:get in /var/www/vd/vendor/laravel/framework/src/Illuminate/View/View.php:139 #54 Illuminate\View\View:getContents in /var/www/vd/vendor/botble/shortcode/src/View/View.php:83 #53 Botble\Shortcode\View\View:renderContents in /var/www/vd/vendor/laravel/framework/src/Illuminate/View/View.php:91 #52 Illuminate\View\View:render in /var/www/vd/vendor/botble/theme/src/Theme.php:648 #51 Botble\Theme\Theme:loadPartial in /var/www/vd/vendor/botble/theme/src/Theme.php:628 #50 Botble\Theme\Theme:partial in /var/www/vd/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261 #49 Illuminate\Support\Facades\Facade:__callStatic in /var/www/vd/storage/framework/views/f42d4c8928ba6e463af2388a96004a3a712915c8.php:72 #48 require in /var/www/vd/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:107 #47 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /var/www/vd/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:108 #46 Illuminate\Filesystem\Filesystem:getRequire in /var/www/vd/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58 #45 Illuminate\View\Engines\PhpEngine:evaluatePath in /var/www/vd/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:61 #44 Illuminate\View\Engines\CompilerEngine:get in /var/www/vd/vendor/laravel/framework/src/Illuminate/View/View.php:139 #43 Illuminate\View\View:getContents in /var/www/vd/vendor/botble/shortcode/src/View/View.php:83 #42 Botble\Shortcode\View\View:renderContents in /var/www/vd/vendor/laravel/framework/src/Illuminate/View/View.php:91 #41 Illuminate\View\View:render in /var/www/vd/vendor/botble/theme/src/Theme.php:648 #40 Botble\Theme\Theme:loadPartial in /var/www/vd/vendor/botble/theme/src/Theme.php:628 #39 Botble\Theme\Theme:partial in /var/www/vd/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261 #38 Illuminate\Support\Facades\Facade:__callStatic in /var/www/vd/storage/framework/views/19a29a84ac91cbd5ffbcc1c034dd437347d4e3d9.php:6 #37 require in /var/www/vd/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:107 #36 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /var/www/vd/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:108 #35 Illuminate\Filesystem\Filesystem:getRequire in /var/www/vd/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58 #34 Illuminate\View\Engines\PhpEngine:evaluatePath in /var/www/vd/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:61 #33 Illuminate\View\Engines\CompilerEngine:get in /var/www/vd/vendor/laravel/framework/src/Illuminate/View/View.php:139 #32 Illuminate\View\View:getContents in /var/www/vd/vendor/botble/shortcode/src/View/View.php:83 #31 Botble\Shortcode\View\View:renderContents in /var/www/vd/vendor/laravel/framework/src/Illuminate/View/View.php:91 #30 Illuminate\View\View:render in /var/www/vd/vendor/laravel/framework/src/Illuminate/Http/Response.php:69 #29 Illuminate\Http\Response:setContent in /var/www/vd/vendor/laravel/framework/src/Illuminate/Http/Response.php:35 #28 Illuminate\Http\Response:__construct in /var/www/vd/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:55 #27 Illuminate\Routing\ResponseFactory:make in /var/www/vd/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php:85 #26 Illuminate\Routing\ResponseFactory:view in /var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:585 #25 Illuminate\Foundation\Exceptions\Handler:renderHttpException in /var/www/vd/vendor/botble/platform/base/src/Exceptions/Handler.php:120 #24 Botble\Base\Exceptions\Handler:renderHttpException in /var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:490 #23 Illuminate\Foundation\Exceptions\Handler:prepareResponse in /var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:356 #22 Illuminate\Foundation\Exceptions\Handler:render in /var/www/vd/vendor/botble/platform/base/src/Exceptions/Handler.php:92 #21 Botble\Base\Exceptions\Handler:render in /var/www/vd/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:51 #20 Illuminate\Routing\Pipeline:handleException in /var/www/vd/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:130 #19 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/vd/vendor/botble/platform/js-validation/src/RemoteValidationMiddleware.php:61 #18 Botble\JsValidation\RemoteValidationMiddleware:handle in /var/www/vd/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #17 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 #16 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31 #15 Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull:handle in /var/www/vd/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #14 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 #13 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40 #12 Illuminate\Foundation\Http\Middleware\TrimStrings:handle in /var/www/vd/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #11 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 #10 Illuminate\Foundation\Http\Middleware\ValidatePostSize:handle in /var/www/vd/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #9 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86 #8 Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance:handle in /var/www/vd/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #7 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/vd/vendor/fruitcake/laravel-cors/src/HandleCors.php:38 #6 Fruitcake\Cors\HandleCors:handle in /var/www/vd/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #5 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/vd/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39 #4 Illuminate\Http\Middleware\TrustProxies:handle in /var/www/vd/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #3 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/vd/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 #2 Illuminate\Pipeline\Pipeline:then in /var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:142 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:111 #0 Illuminate\Foundation\Http\Kernel:handle in /var/www/vd/public/index.php:56
97
Illuminate\View\ViewException
/vendor/laravel/framework/src/Illuminate/Database/Connection.php712
96
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php60
95
Illuminate\View\ViewException
/vendor/laravel/framework/src/Illuminate/Database/Connection.php712
94
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php60
93
Illuminate\View\ViewException
/vendor/laravel/framework/src/Illuminate/Database/Connection.php712
92
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php60
91
Illuminate\Database\QueryException
/vendor/laravel/framework/src/Illuminate/Database/Connection.php712
90
PDOException
/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php70
89
PDO __construct
/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php70
88
Illuminate\Database\Connectors\Connector createPdoConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php100
87
Illuminate\Database\Connectors\Connector tryAgainIfCausedByLostConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php50
86
Illuminate\Database\Connectors\Connector createConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php24
85
Illuminate\Database\Connectors\MySqlConnector connect
/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php184
84
Illuminate\Database\Connectors\ConnectionFactory Illuminate\Database\Connectors\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Connection.php1064
83
call_user_func
/vendor/laravel/framework/src/Illuminate/Database/Connection.php1064
82
Illuminate\Database\Connection getPdo
/vendor/laravel/framework/src/Illuminate/Database/Connection.php1100
81
Illuminate\Database\Connection getReadPdo
/vendor/laravel/framework/src/Illuminate/Database/Connection.php442
80
Illuminate\Database\Connection getPdoForSelect
/vendor/laravel/framework/src/Illuminate/Database/Connection.php368
79
Illuminate\Database\Connection Illuminate\Database\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Connection.php705
78
Illuminate\Database\Connection runQueryCallback
/vendor/laravel/framework/src/Illuminate/Database/Connection.php784
77
Illuminate\Database\Connection tryAgainIfCausedByLostConnection
/vendor/laravel/framework/src/Illuminate/Database/Connection.php764
76
Illuminate\Database\Connection handleQueryException
/vendor/laravel/framework/src/Illuminate/Database/Connection.php675
75
Illuminate\Database\Connection run
/vendor/laravel/framework/src/Illuminate/Database/Connection.php376
74
Illuminate\Database\Connection select
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2414
73
Illuminate\Database\Query\Builder runSelect
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2402
72
Illuminate\Database\Query\Builder Illuminate\Database\Query\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2936
71
Illuminate\Database\Query\Builder onceWithColumns
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2403
70
Illuminate\Database\Query\Builder get
/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php625
69
Illuminate\Database\Eloquent\Builder getModels
/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php609
68
Illuminate\Database\Eloquent\Builder get
/vendor/botble/platform/support/src/Repositories/Eloquent/RepositoriesAbstract.php157
67
Botble\Support\Repositories\Eloquent\RepositoriesAbstract allBy
/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php51
66
call_user_func_array
/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php51
65
Botble\Support\Repositories\Caches\CacheAbstractDecorator getDataIfExistCache
/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php192
64
Botble\Support\Repositories\Caches\CacheAbstractDecorator allBy
/vendor/botble/menu/src/Menu.php298
63
Botble\Menu\Menu read
/vendor/botble/menu/src/Menu.php283
62
Botble\Menu\Menu load
/vendor/botble/menu/src/Menu.php241
61
Botble\Menu\Menu renderMenuLocation
/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php261
60
Illuminate\Support\Facades\Facade __callStatic
/storage/framework/views/128647ead46660761d4e041d755d0e3789ffd366.php36
59
require
/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php107
58
Illuminate\Filesystem\Filesystem Illuminate\Filesystem\{closure}
/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php108
57
Illuminate\Filesystem\Filesystem getRequire
/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php58
56
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php61
55
Illuminate\View\Engines\CompilerEngine get
/vendor/laravel/framework/src/Illuminate/View/View.php139
54
Illuminate\View\View getContents
/vendor/botble/shortcode/src/View/View.php83
53
Botble\Shortcode\View\View renderContents
/vendor/laravel/framework/src/Illuminate/View/View.php91
52
Illuminate\View\View render
/vendor/botble/theme/src/Theme.php648
51
Botble\Theme\Theme loadPartial
/vendor/botble/theme/src/Theme.php628
50
Botble\Theme\Theme partial
/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php261
49
Illuminate\Support\Facades\Facade __callStatic
/storage/framework/views/f42d4c8928ba6e463af2388a96004a3a712915c8.php72
48
require
/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php107
47
Illuminate\Filesystem\Filesystem Illuminate\Filesystem\{closure}
/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php108
46
Illuminate\Filesystem\Filesystem getRequire
/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php58
45
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php61
44
Illuminate\View\Engines\CompilerEngine get
/vendor/laravel/framework/src/Illuminate/View/View.php139
43
Illuminate\View\View getContents
/vendor/botble/shortcode/src/View/View.php83
42
Botble\Shortcode\View\View renderContents
/vendor/laravel/framework/src/Illuminate/View/View.php91
41
Illuminate\View\View render
/vendor/botble/theme/src/Theme.php648
40
Botble\Theme\Theme loadPartial
/vendor/botble/theme/src/Theme.php628
39
Botble\Theme\Theme partial
/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php261
38
Illuminate\Support\Facades\Facade __callStatic
/storage/framework/views/19a29a84ac91cbd5ffbcc1c034dd437347d4e3d9.php6
37
require
/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php107
36
Illuminate\Filesystem\Filesystem Illuminate\Filesystem\{closure}
/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php108
35
Illuminate\Filesystem\Filesystem getRequire
/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php58
34
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php61
33
Illuminate\View\Engines\CompilerEngine get
/vendor/laravel/framework/src/Illuminate/View/View.php139
32
Illuminate\View\View getContents
/vendor/botble/shortcode/src/View/View.php83
31
Botble\Shortcode\View\View renderContents
/vendor/laravel/framework/src/Illuminate/View/View.php91
30
Illuminate\View\View render
/vendor/laravel/framework/src/Illuminate/Http/Response.php69
29
Illuminate\Http\Response setContent
/vendor/laravel/framework/src/Illuminate/Http/Response.php35
28
Illuminate\Http\Response __construct
/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php55
27
Illuminate\Routing\ResponseFactory make
/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php85
26
Illuminate\Routing\ResponseFactory view
/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php585
25
Illuminate\Foundation\Exceptions\Handler renderHttpException
/vendor/botble/platform/base/src/Exceptions/Handler.php120
24
Botble\Base\Exceptions\Handler renderHttpException
/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php490
23
Illuminate\Foundation\Exceptions\Handler prepareResponse
/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php356
22
Illuminate\Foundation\Exceptions\Handler render
/vendor/botble/platform/base/src/Exceptions/Handler.php92
21
Botble\Base\Exceptions\Handler render
/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php51
20
Illuminate\Routing\Pipeline handleException
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php130
19
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/botble/platform/js-validation/src/RemoteValidationMiddleware.php61
18
Botble\JsValidation\RemoteValidationMiddleware handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
17
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php21
16
Illuminate\Foundation\Http\Middleware\TransformsRequest handle
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php31
15
Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
14
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php21
13
Illuminate\Foundation\Http\Middleware\TransformsRequest handle
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php40
12
Illuminate\Foundation\Http\Middleware\TrimStrings handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
11
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php27
10
Illuminate\Foundation\Http\Middleware\ValidatePostSize handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
9
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php86
8
Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
7
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/fruitcake/laravel-cors/src/HandleCors.php38
6
Fruitcake\Cors\HandleCors handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
5
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php39
4
Illuminate\Http\Middleware\TrustProxies handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
3
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php103
2
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php142
1
Illuminate\Foundation\Http\Kernel sendRequestThroughRouter
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php111
0
Illuminate\Foundation\Http\Kernel handle
/public/index.php56
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php
     * @param  array  $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function runQueryCallback($query, $bindings, Closure $callback)
    {
        // To execute the statement, we'll simply call the callback, which will actually
        // run the SQL against the PDO connection. Then we can calculate the time it
        // took to execute and log the query SQL, bindings and time in our memory.
        try {
            return $callback($query, $bindings);
        }
 
        // If an exception occurs when attempting to run a query, we'll format the error
        // message to include the bindings with SQL, which will make this exception a
        // lot more helpful to the developer instead of just the database's errors.
        catch (Exception $e) {
            throw new QueryException(
                $query, $this->prepareBindings($bindings), $e
            );
        }
    }
 
    /**
     * Log a query in the connection's query log.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @param  float|null  $time
     * @return void
     */
    public function logQuery($query, $bindings, $time = null)
    {
        $this->event(new QueryExecuted($query, $bindings, $time, $this));
 
        if ($this->loggingQueries) {
            $this->queryLog[] = compact('query', 'bindings', 'time');
        }
Arguments
  1. "SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `menus` where `status` = published) (View: /var/www/vd/platform/themes/ultra/partials/header/style-1.blade.php) (View: /var/www/vd/platform/themes/ultra/partials/header/style-1.blade.php) (View: /var/www/vd/platform/themes/ultra/partials/header/style-1.blade.php)"
    
/var/www/vd/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    protected function evaluatePath($path, $data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            $this->files->getRequire($path, $data);
        } catch (Throwable $e) {
            $this->handleViewException($e, $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
        }
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php
     * @param  array  $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function runQueryCallback($query, $bindings, Closure $callback)
    {
        // To execute the statement, we'll simply call the callback, which will actually
        // run the SQL against the PDO connection. Then we can calculate the time it
        // took to execute and log the query SQL, bindings and time in our memory.
        try {
            return $callback($query, $bindings);
        }
 
        // If an exception occurs when attempting to run a query, we'll format the error
        // message to include the bindings with SQL, which will make this exception a
        // lot more helpful to the developer instead of just the database's errors.
        catch (Exception $e) {
            throw new QueryException(
                $query, $this->prepareBindings($bindings), $e
            );
        }
    }
 
    /**
     * Log a query in the connection's query log.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @param  float|null  $time
     * @return void
     */
    public function logQuery($query, $bindings, $time = null)
    {
        $this->event(new QueryExecuted($query, $bindings, $time, $this));
 
        if ($this->loggingQueries) {
            $this->queryLog[] = compact('query', 'bindings', 'time');
        }
Arguments
  1. "SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `menus` where `status` = published) (View: /var/www/vd/platform/themes/ultra/partials/header/style-1.blade.php) (View: /var/www/vd/platform/themes/ultra/partials/header/style-1.blade.php)"
    
Exception message: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `menus` where `status` = published) (View: /var/www/vd/platform/themes/ultra/partials/header/style-1.blade.php) (View: /var/www/vd/platform/themes/ultra/partials/header/style-1.blade.php)
/var/www/vd/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    protected function evaluatePath($path, $data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            $this->files->getRequire($path, $data);
        } catch (Throwable $e) {
            $this->handleViewException($e, $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
        }
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php
     * @param  array  $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function runQueryCallback($query, $bindings, Closure $callback)
    {
        // To execute the statement, we'll simply call the callback, which will actually
        // run the SQL against the PDO connection. Then we can calculate the time it
        // took to execute and log the query SQL, bindings and time in our memory.
        try {
            return $callback($query, $bindings);
        }
 
        // If an exception occurs when attempting to run a query, we'll format the error
        // message to include the bindings with SQL, which will make this exception a
        // lot more helpful to the developer instead of just the database's errors.
        catch (Exception $e) {
            throw new QueryException(
                $query, $this->prepareBindings($bindings), $e
            );
        }
    }
 
    /**
     * Log a query in the connection's query log.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @param  float|null  $time
     * @return void
     */
    public function logQuery($query, $bindings, $time = null)
    {
        $this->event(new QueryExecuted($query, $bindings, $time, $this));
 
        if ($this->loggingQueries) {
            $this->queryLog[] = compact('query', 'bindings', 'time');
        }
Arguments
  1. "SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `menus` where `status` = published) (View: /var/www/vd/platform/themes/ultra/partials/header/style-1.blade.php)"
    
Exception message: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `menus` where `status` = published) (View: /var/www/vd/platform/themes/ultra/partials/header/style-1.blade.php)
/var/www/vd/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    protected function evaluatePath($path, $data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            $this->files->getRequire($path, $data);
        } catch (Throwable $e) {
            $this->handleViewException($e, $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
        }
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php
     * @param  array  $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function runQueryCallback($query, $bindings, Closure $callback)
    {
        // To execute the statement, we'll simply call the callback, which will actually
        // run the SQL against the PDO connection. Then we can calculate the time it
        // took to execute and log the query SQL, bindings and time in our memory.
        try {
            return $callback($query, $bindings);
        }
 
        // If an exception occurs when attempting to run a query, we'll format the error
        // message to include the bindings with SQL, which will make this exception a
        // lot more helpful to the developer instead of just the database's errors.
        catch (Exception $e) {
            throw new QueryException(
                $query, $this->prepareBindings($bindings), $e
            );
        }
    }
 
    /**
     * Log a query in the connection's query log.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @param  float|null  $time
     * @return void
     */
    public function logQuery($query, $bindings, $time = null)
    {
        $this->event(new QueryExecuted($query, $bindings, $time, $this));
 
        if ($this->loggingQueries) {
            $this->queryLog[] = compact('query', 'bindings', 'time');
        }
Arguments
  1. "SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `menus` where `status` = published)"
    
Exception message: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `menus` where `status` = published)
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php
            );
        }
    }
 
    /**
     * Create a new PDO connection instance.
     *
     * @param  string  $dsn
     * @param  string  $username
     * @param  string  $password
     * @param  array  $options
     * @return \PDO
     */
    protected function createPdoConnection($dsn, $username, $password, $options)
    {
        if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
            return new PDOConnection($dsn, $username, $password, $options);
        }
 
        return new PDO($dsn, $username, $password, $options);
    }
 
    /**
     * Determine if the connection is persistent.
     *
     * @param  array  $options
     * @return bool
     */
    protected function isPersistentConnection($options)
    {
        return isset($options[PDO::ATTR_PERSISTENT]) &&
               $options[PDO::ATTR_PERSISTENT];
    }
 
    /**
     * Handle an exception that occurred during connect execution.
     *
     * @param  \Throwable  $e
     * @param  string  $dsn
     * @param  string  $username
Arguments
  1. "SQLSTATE[HY000] [2002] Connection refused"
    
Exception message: SQLSTATE[HY000] [2002] Connection refused
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php
            );
        }
    }
 
    /**
     * Create a new PDO connection instance.
     *
     * @param  string  $dsn
     * @param  string  $username
     * @param  string  $password
     * @param  array  $options
     * @return \PDO
     */
    protected function createPdoConnection($dsn, $username, $password, $options)
    {
        if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
            return new PDOConnection($dsn, $username, $password, $options);
        }
 
        return new PDO($dsn, $username, $password, $options);
    }
 
    /**
     * Determine if the connection is persistent.
     *
     * @param  array  $options
     * @return bool
     */
    protected function isPersistentConnection($options)
    {
        return isset($options[PDO::ATTR_PERSISTENT]) &&
               $options[PDO::ATTR_PERSISTENT];
    }
 
    /**
     * Handle an exception that occurred during connect execution.
     *
     * @param  \Throwable  $e
     * @param  string  $dsn
     * @param  string  $username
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php
        return isset($options[PDO::ATTR_PERSISTENT]) &&
               $options[PDO::ATTR_PERSISTENT];
    }
 
    /**
     * Handle an exception that occurred during connect execution.
     *
     * @param  \Throwable  $e
     * @param  string  $dsn
     * @param  string  $username
     * @param  string  $password
     * @param  array  $options
     * @return \PDO
     *
     * @throws \Exception
     */
    protected function tryAgainIfCausedByLostConnection(Throwable $e, $dsn, $username, $password, $options)
    {
        if ($this->causedByLostConnection($e)) {
            return $this->createPdoConnection($dsn, $username, $password, $options);
        }
 
        throw $e;
    }
 
    /**
     * Get the PDO options based on the configuration.
     *
     * @param  array  $config
     * @return array
     */
    public function getOptions(array $config)
    {
        $options = $config['options'] ?? [];
 
        return array_diff_key($this->options, $options) + $options;
    }
 
    /**
     * Get the default PDO connection options.
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php
     * @param  string  $dsn
     * @param  array  $config
     * @param  array  $options
     * @return \PDO
     *
     * @throws \Exception
     */
    public function createConnection($dsn, array $config, array $options)
    {
        [$username, $password] = [
            $config['username'] ?? null, $config['password'] ?? null,
        ];
 
        try {
            return $this->createPdoConnection(
                $dsn, $username, $password, $options
            );
        } catch (Exception $e) {
            return $this->tryAgainIfCausedByLostConnection(
                $e, $dsn, $username, $password, $options
            );
        }
    }
 
    /**
     * Create a new PDO connection instance.
     *
     * @param  string  $dsn
     * @param  string  $username
     * @param  string  $password
     * @param  array  $options
     * @return \PDO
     */
    protected function createPdoConnection($dsn, $username, $password, $options)
    {
        if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
            return new PDOConnection($dsn, $username, $password, $options);
        }
 
        return new PDO($dsn, $username, $password, $options);
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php
use PDO;
 
class MySqlConnector extends Connector implements ConnectorInterface
{
    /**
     * Establish a database connection.
     *
     * @param  array  $config
     * @return \PDO
     */
    public function connect(array $config)
    {
        $dsn = $this->getDsn($config);
 
        $options = $this->getOptions($config);
 
        // We need to grab the PDO options that should be used while making the brand
        // new connection instance. The PDO options control various aspects of the
        // connection's behavior, and some might be specified by the developers.
        $connection = $this->createConnection($dsn, $config, $options);
 
        if (! empty($config['database'])) {
            $connection->exec("use `{$config['database']}`;");
        }
 
        $this->configureIsolationLevel($connection, $config);
 
        $this->configureEncoding($connection, $config);
 
        // Next, we will check to see if a timezone has been specified in this config
        // and if it has we will issue a statement to modify the timezone with the
        // database. Setting this DB timezone is an optional configuration item.
        $this->configureTimezone($connection, $config);
 
        $this->setModes($connection, $config);
 
        return $connection;
    }
 
    /**
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php
                            ? $this->createPdoResolverWithHosts($config)
                            : $this->createPdoResolverWithoutHosts($config);
    }
 
    /**
     * Create a new Closure that resolves to a PDO instance with a specific host or an array of hosts.
     *
     * @param  array  $config
     * @return \Closure
     *
     * @throws \PDOException
     */
    protected function createPdoResolverWithHosts(array $config)
    {
        return function () use ($config) {
            foreach (Arr::shuffle($hosts = $this->parseHosts($config)) as $key => $host) {
                $config['host'] = $host;
 
                try {
                    return $this->createConnector($config)->connect($config);
                } catch (PDOException $e) {
                    continue;
                }
            }
 
            throw $e;
        };
    }
 
    /**
     * Parse the hosts configuration item into an array.
     *
     * @param  array  $config
     * @return array
     *
     * @throws \InvalidArgumentException
     */
    protected function parseHosts(array $config)
    {
        $hosts = Arr::wrap($config['host']);
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php
                'Registering a custom Doctrine type requires Doctrine DBAL (doctrine/dbal).'
            );
        }
 
        if (! Type::hasType($name)) {
            Type::addType($name, $class);
        }
 
        $this->doctrineTypeMappings[$name] = $type;
    }
 
    /**
     * Get the current PDO connection.
     *
     * @return \PDO
     */
    public function getPdo()
    {
        if ($this->pdo instanceof Closure) {
            return $this->pdo = call_user_func($this->pdo);
        }
 
        return $this->pdo;
    }
 
    /**
     * Get the current PDO connection parameter without executing any reconnect logic.
     *
     * @return \PDO|\Closure|null
     */
    public function getRawPdo()
    {
        return $this->pdo;
    }
 
    /**
     * Get the current PDO connection used for reading.
     *
     * @return \PDO
     */
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php
                'Registering a custom Doctrine type requires Doctrine DBAL (doctrine/dbal).'
            );
        }
 
        if (! Type::hasType($name)) {
            Type::addType($name, $class);
        }
 
        $this->doctrineTypeMappings[$name] = $type;
    }
 
    /**
     * Get the current PDO connection.
     *
     * @return \PDO
     */
    public function getPdo()
    {
        if ($this->pdo instanceof Closure) {
            return $this->pdo = call_user_func($this->pdo);
        }
 
        return $this->pdo;
    }
 
    /**
     * Get the current PDO connection parameter without executing any reconnect logic.
     *
     * @return \PDO|\Closure|null
     */
    public function getRawPdo()
    {
        return $this->pdo;
    }
 
    /**
     * Get the current PDO connection used for reading.
     *
     * @return \PDO
     */
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php
     * Get the current PDO connection used for reading.
     *
     * @return \PDO
     */
    public function getReadPdo()
    {
        if ($this->transactions > 0) {
            return $this->getPdo();
        }
 
        if ($this->readOnWriteConnection ||
            ($this->recordsModified && $this->getConfig('sticky'))) {
            return $this->getPdo();
        }
 
        if ($this->readPdo instanceof Closure) {
            return $this->readPdo = call_user_func($this->readPdo);
        }
 
        return $this->readPdo ?: $this->getPdo();
    }
 
    /**
     * Get the current read PDO connection parameter without executing any reconnect logic.
     *
     * @return \PDO|\Closure|null
     */
    public function getRawReadPdo()
    {
        return $this->readPdo;
    }
 
    /**
     * Set the PDO connection.
     *
     * @param  \PDO|\Closure|null  $pdo
     * @return $this
     */
    public function setPdo($pdo)
    {
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php
    protected function prepared(PDOStatement $statement)
    {
        $statement->setFetchMode($this->fetchMode);
 
        $this->event(new StatementPrepared(
            $this, $statement
        ));
 
        return $statement;
    }
 
    /**
     * Get the PDO connection to use for a select query.
     *
     * @param  bool  $useReadPdo
     * @return \PDO
     */
    protected function getPdoForSelect($useReadPdo = true)
    {
        return $useReadPdo ? $this->getReadPdo() : $this->getPdo();
    }
 
    /**
     * Run an insert statement against the database.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @return bool
     */
    public function insert($query, $bindings = [])
    {
        return $this->statement($query, $bindings);
    }
 
    /**
     * Run an update statement against the database.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @return int
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php
    /**
     * Run a select statement against the database.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @param  bool  $useReadPdo
     * @return array
     */
    public function select($query, $bindings = [], $useReadPdo = true)
    {
        return $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) {
            if ($this->pretending()) {
                return [];
            }
 
            // For select statements, we'll simply execute the query and return an array
            // of the database result set. Each element in the array will be a single
            // row from the database table, and will either be an array or objects.
            $statement = $this->prepared(
                $this->getPdoForSelect($useReadPdo)->prepare($query)
            );
 
            $this->bindValues($statement, $this->prepareBindings($bindings));
 
            $statement->execute();
 
            return $statement->fetchAll();
        });
    }
 
    /**
     * Run a select statement against the database and returns a generator.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @param  bool  $useReadPdo
     * @return \Generator
     */
    public function cursor($query, $bindings = [], $useReadPdo = true)
    {
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php
        return $result;
    }
 
    /**
     * Run a SQL statement.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function runQueryCallback($query, $bindings, Closure $callback)
    {
        // To execute the statement, we'll simply call the callback, which will actually
        // run the SQL against the PDO connection. Then we can calculate the time it
        // took to execute and log the query SQL, bindings and time in our memory.
        try {
            return $callback($query, $bindings);
        }
 
        // If an exception occurs when attempting to run a query, we'll format the error
        // message to include the bindings with SQL, which will make this exception a
        // lot more helpful to the developer instead of just the database's errors.
        catch (Exception $e) {
            throw new QueryException(
                $query, $this->prepareBindings($bindings), $e
            );
        }
    }
 
    /**
     * Log a query in the connection's query log.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @param  float|null  $time
     * @return void
     */
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php
        );
    }
 
    /**
     * Handle a query exception that occurred during query execution.
     *
     * @param  \Illuminate\Database\QueryException  $e
     * @param  string  $query
     * @param  array  $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function tryAgainIfCausedByLostConnection(QueryException $e, $query, $bindings, Closure $callback)
    {
        if ($this->causedByLostConnection($e->getPrevious())) {
            $this->reconnect();
 
            return $this->runQueryCallback($query, $bindings, $callback);
        }
 
        throw $e;
    }
 
    /**
     * Reconnect to the database.
     *
     * @return void
     *
     * @throws \LogicException
     */
    public function reconnect()
    {
        if (is_callable($this->reconnector)) {
            $this->doctrineConnection = null;
 
            return call_user_func($this->reconnector, $this);
        }
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php
 
    /**
     * Handle a query exception.
     *
     * @param  \Illuminate\Database\QueryException  $e
     * @param  string  $query
     * @param  array  $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function handleQueryException(QueryException $e, $query, $bindings, Closure $callback)
    {
        if ($this->transactions >= 1) {
            throw $e;
        }
 
        return $this->tryAgainIfCausedByLostConnection(
            $e, $query, $bindings, $callback
        );
    }
 
    /**
     * Handle a query exception that occurred during query execution.
     *
     * @param  \Illuminate\Database\QueryException  $e
     * @param  string  $query
     * @param  array  $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function tryAgainIfCausedByLostConnection(QueryException $e, $query, $bindings, Closure $callback)
    {
        if ($this->causedByLostConnection($e->getPrevious())) {
            $this->reconnect();
 
            return $this->runQueryCallback($query, $bindings, $callback);
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php
     * @throws \Illuminate\Database\QueryException
     */
    protected function run($query, $bindings, Closure $callback)
    {
        foreach ($this->beforeExecutingCallbacks as $beforeExecutingCallback) {
            $beforeExecutingCallback($query, $bindings, $this);
        }
 
        $this->reconnectIfMissingConnection();
 
        $start = microtime(true);
 
        // Here we will run this query. If an exception occurs we'll determine if it was
        // caused by a connection that has been lost. If that is the cause, we'll try
        // to re-establish connection and re-run the query with a fresh connection.
        try {
            $result = $this->runQueryCallback($query, $bindings, $callback);
        } catch (QueryException $e) {
            $result = $this->handleQueryException(
                $e, $query, $bindings, $callback
            );
        }
 
        // Once we have run the query we will calculate the time that it took to run and
        // then log the query, bindings, and execution time so we will report them on
        // the event that the developer needs them. We'll log time in milliseconds.
        $this->logQuery(
            $query, $bindings, $this->getElapsedTime($start)
        );
 
        return $result;
    }
 
    /**
     * Run a SQL statement.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @param  \Closure  $callback
     * @return mixed
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Connection.php
    public function select($query, $bindings = [], $useReadPdo = true)
    {
        return $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) {
            if ($this->pretending()) {
                return [];
            }
 
            // For select statements, we'll simply execute the query and return an array
            // of the database result set. Each element in the array will be a single
            // row from the database table, and will either be an array or objects.
            $statement = $this->prepared(
                $this->getPdoForSelect($useReadPdo)->prepare($query)
            );
 
            $this->bindValues($statement, $this->prepareBindings($bindings));
 
            $statement->execute();
 
            return $statement->fetchAll();
        });
    }
 
    /**
     * Run a select statement against the database and returns a generator.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @param  bool  $useReadPdo
     * @return \Generator
     */
    public function cursor($query, $bindings = [], $useReadPdo = true)
    {
        $statement = $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) {
            if ($this->pretending()) {
                return [];
            }
 
            // First we will create a statement for the query. Then, we will set the fetch
            // mode and prepare the bindings for the query. Once that's done we will be
            // ready to execute the query against the database and return the cursor.
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
     *
     * @param  array|string  $columns
     * @return \Illuminate\Support\Collection
     */
    public function get($columns = ['*'])
    {
        return collect($this->onceWithColumns(Arr::wrap($columns), function () {
            return $this->processor->processSelect($this, $this->runSelect());
        }));
    }
 
    /**
     * Run the query as a "select" statement against the connection.
     *
     * @return array
     */
    protected function runSelect()
    {
        return $this->connection->select(
            $this->toSql(), $this->getBindings(), ! $this->useWritePdo
        );
    }
 
    /**
     * Paginate the given query into a simple paginator.
     *
     * @param  int  $perPage
     * @param  array  $columns
     * @param  string  $pageName
     * @param  int|null  $page
     * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator
     */
    public function paginate($perPage = 15, $columns = ['*'], $pageName = 'page', $page = null)
    {
        $page = $page ?: Paginator::resolveCurrentPage($pageName);
 
        $total = $this->getCountForPagination();
 
        $results = $total ? $this->forPage($page, $perPage)->get($columns) : collect();
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
     * @param  string  $column
     * @return mixed
     */
    public function value($column)
    {
        $result = (array) $this->first([$column]);
 
        return count($result) > 0 ? reset($result) : null;
    }
 
    /**
     * Execute the query as a "select" statement.
     *
     * @param  array|string  $columns
     * @return \Illuminate\Support\Collection
     */
    public function get($columns = ['*'])
    {
        return collect($this->onceWithColumns(Arr::wrap($columns), function () {
            return $this->processor->processSelect($this, $this->runSelect());
        }));
    }
 
    /**
     * Run the query as a "select" statement against the connection.
     *
     * @return array
     */
    protected function runSelect()
    {
        return $this->connection->select(
            $this->toSql(), $this->getBindings(), ! $this->useWritePdo
        );
    }
 
    /**
     * Paginate the given query into a simple paginator.
     *
     * @param  int  $perPage
     * @param  array  $columns
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
    }
 
    /**
     * Execute the given callback while selecting the given columns.
     *
     * After running the callback, the columns are reset to the original value.
     *
     * @param  array  $columns
     * @param  callable  $callback
     * @return mixed
     */
    protected function onceWithColumns($columns, $callback)
    {
        $original = $this->columns;
 
        if (is_null($original)) {
            $this->columns = $columns;
        }
 
        $result = $callback();
 
        $this->columns = $original;
 
        return $result;
    }
 
    /**
     * Insert new records into the database.
     *
     * @param  array  $values
     * @return bool
     */
    public function insert(array $values)
    {
        // Since every insert gets treated like a batch insert, we will make sure the
        // bindings are structured in a way that is convenient when building these
        // inserts statements by verifying these elements are actually an array.
        if (empty($values)) {
            return true;
        }
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
     * @return mixed
     */
    public function value($column)
    {
        $result = (array) $this->first([$column]);
 
        return count($result) > 0 ? reset($result) : null;
    }
 
    /**
     * Execute the query as a "select" statement.
     *
     * @param  array|string  $columns
     * @return \Illuminate\Support\Collection
     */
    public function get($columns = ['*'])
    {
        return collect($this->onceWithColumns(Arr::wrap($columns), function () {
            return $this->processor->processSelect($this, $this->runSelect());
        }));
    }
 
    /**
     * Run the query as a "select" statement against the connection.
     *
     * @return array
     */
    protected function runSelect()
    {
        return $this->connection->select(
            $this->toSql(), $this->getBindings(), ! $this->useWritePdo
        );
    }
 
    /**
     * Paginate the given query into a simple paginator.
     *
     * @param  int  $perPage
     * @param  array  $columns
     * @param  string  $pageName
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php
        // If we actually found models we will also eager load any relationships that
        // have been specified as needing to be eager loaded, which will solve the
        // n+1 query issue for the developers to avoid running a lot of queries.
        if (count($models = $builder->getModels($columns)) > 0) {
            $models = $builder->eagerLoadRelations($models);
        }
 
        return $builder->getModel()->newCollection($models);
    }
 
    /**
     * Get the hydrated models without eager loading.
     *
     * @param  array|string  $columns
     * @return \Illuminate\Database\Eloquent\Model[]|static[]
     */
    public function getModels($columns = ['*'])
    {
        return $this->model->hydrate(
            $this->query->get($columns)->all()
        )->all();
    }
 
    /**
     * Eager load the relationships for the models.
     *
     * @param  array  $models
     * @return array
     */
    public function eagerLoadRelations(array $models)
    {
        foreach ($this->eagerLoad as $name => $constraints) {
            // For nested eager loads we'll skip loading them here and they will be set as an
            // eager load on the query to retrieve the relation so that they will be eager
            // loaded on that query, because that is where they get hydrated as models.
            if (strpos($name, '.') === false) {
                $models = $this->eagerLoadRelation($models, $name, $constraints);
            }
        }
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php
     */
    public function valueOrFail($column)
    {
        return $this->firstOrFail([$column])->{Str::afterLast($column, '.')};
    }
 
    /**
     * Execute the query as a "select" statement.
     *
     * @param  array|string  $columns
     * @return \Illuminate\Database\Eloquent\Collection|static[]
     */
    public function get($columns = ['*'])
    {
        $builder = $this->applyScopes();
 
        // If we actually found models we will also eager load any relationships that
        // have been specified as needing to be eager loaded, which will solve the
        // n+1 query issue for the developers to avoid running a lot of queries.
        if (count($models = $builder->getModels($columns)) > 0) {
            $models = $builder->eagerLoadRelations($models);
        }
 
        return $builder->getModel()->newCollection($models);
    }
 
    /**
     * Get the hydrated models without eager loading.
     *
     * @param  array|string  $columns
     * @return \Illuminate\Database\Eloquent\Model[]|static[]
     */
    public function getModels($columns = ['*'])
    {
        return $this->model->hydrate(
            $this->query->get($columns)->all()
        )->all();
    }
 
    /**
/var/www/vd/vendor/botble/platform/support/src/Repositories/Eloquent/RepositoriesAbstract.php
        $select = [$column];
        if (!empty($key)) {
            $select = [$column, $key];
        }
 
        $data = $this->model->select($select);
 
        return $this->applyBeforeExecuteQuery($data)->pluck($column, $key)->all();
    }
 
    /**
     * {@inheritDoc}
     */
    public function allBy(array $condition, array $with = [], array $select = ['*'])
    {
        $this->applyConditions($condition);
 
        $data = $this->make($with)->select($select);
 
        return $this->applyBeforeExecuteQuery($data)->get();
    }
 
    /**
     * @param array $where
     * @param null|Eloquent|Builder $model
     */
    protected function applyConditions(array $where, &$model = null)
    {
        if (!$model) {
            $newModel = $this->model;
        } else {
            $newModel = $model;
        }
 
        foreach ($where as $field => $value) {
            if (is_array($value)) {
                [$field, $condition, $val] = $value;
                switch (strtoupper($condition)) {
                    case 'IN':
                        $newModel = $newModel->whereIn($field, $val);
/var/www/vd/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php
        $this->cache = new Cache(app('cache'), $cacheGroup ?? get_class($repository->getModel()));
    }
 
    /**
     * @return Cache
     */
    public function getCacheInstance()
    {
        return $this->cache;
    }
 
    /**
     * @param string $function
     * @param array $args
     * @return mixed
     */
    public function getDataIfExistCache($function, array $args)
    {
        if (!setting('enable_cache', false)) {
            return call_user_func_array([$this->repository, $function], $args);
        }
 
        try {
            $cacheKey = md5(
                get_class($this) .
                $function .
                serialize(request()->input()) . serialize(url()->current()) .
                serialize(json_encode($args))
            );
 
            if ($this->cache->has($cacheKey)) {
                return $this->cache->get($cacheKey);
            }
 
            $cacheData = call_user_func_array([$this->repository, $function], $args);
 
            // Store in cache for next request
            $this->cache->put($cacheKey, $cacheData);
 
            return $cacheData;
/var/www/vd/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php
        $this->cache = new Cache(app('cache'), $cacheGroup ?? get_class($repository->getModel()));
    }
 
    /**
     * @return Cache
     */
    public function getCacheInstance()
    {
        return $this->cache;
    }
 
    /**
     * @param string $function
     * @param array $args
     * @return mixed
     */
    public function getDataIfExistCache($function, array $args)
    {
        if (!setting('enable_cache', false)) {
            return call_user_func_array([$this->repository, $function], $args);
        }
 
        try {
            $cacheKey = md5(
                get_class($this) .
                $function .
                serialize(request()->input()) . serialize(url()->current()) .
                serialize(json_encode($args))
            );
 
            if ($this->cache->has($cacheKey)) {
                return $this->cache->get($cacheKey);
            }
 
            $cacheData = call_user_func_array([$this->repository, $function], $args);
 
            // Store in cache for next request
            $this->cache->put($cacheKey, $cacheData);
 
            return $cacheData;
/var/www/vd/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php
     */
    public function pluck($column, $key = null, array $condition = [])
    {
        return $this->getDataIfExistCache(__FUNCTION__, func_get_args());
    }
 
    /**
     * {@inheritDoc}
     */
    public function all(array $with = [])
    {
        return $this->getDataIfExistCache(__FUNCTION__, func_get_args());
    }
 
    /**
     * {@inheritDoc}
     */
    public function allBy(array $condition, array $with = [], array $select = ['*'])
    {
        return $this->getDataIfExistCache(__FUNCTION__, func_get_args());
    }
 
    /**
     * {@inheritDoc}
     */
    public function create(array $data)
    {
        return $this->flushCacheAndUpdateData(__FUNCTION__, func_get_args());
    }
 
    /**
     * {@inheritDoc}
     */
    public function createOrUpdate($data, array $condition = [])
    {
        return $this->flushCacheAndUpdateData(__FUNCTION__, func_get_args());
    }
 
    /**
     * {@inheritDoc}
/var/www/vd/vendor/botble/menu/src/Menu.php
     */
    public function load(bool $force = false)
    {
        if (!$this->loaded || $force) {
            $this->data = $this->read();
            $this->loaded = true;
        }
    }
 
    /**
     * @return Collection
     */
    protected function read(): Collection
    {
        return $this->menuRepository->allBy(
            [
                'status' => BaseStatusEnum::PUBLISHED,
            ],
            [
                'menuNodes',
                'menuNodes.child',
                'menuNodes.metadata',
                'locations',
            ]
        );
    }
 
    /**
     * @param array $args
     * @return string|null
     * @throws Throwable
     */
    public function generateMenu(array $args = []): ?string
    {
        $this->load();
 
        $view = Arr::get($args, 'view');
        $theme = Arr::get($args, 'theme', true);
 
        $menu = Arr::get($args, 'menu');
/var/www/vd/vendor/botble/menu/src/Menu.php
        $this->load();
 
        foreach ($this->data as $menu) {
            if (in_array($location, $menu->locations->pluck('location')->all())) {
                return true;
            }
        }
 
        return false;
    }
 
    /**
     * Make sure data is loaded.
     *
     * @param boolean $force Force a reload of data. Default false.
     */
    public function load(bool $force = false)
    {
        if (!$this->loaded || $force) {
            $this->data = $this->read();
            $this->loaded = true;
        }
    }
 
    /**
     * @return Collection
     */
    protected function read(): Collection
    {
        return $this->menuRepository->allBy(
            [
                'status' => BaseStatusEnum::PUBLISHED,
            ],
            [
                'menuNodes',
                'menuNodes.child',
                'menuNodes.metadata',
                'locations',
            ]
        );
/var/www/vd/vendor/botble/menu/src/Menu.php
     */
    public function removeMenuLocation(string $location): self
    {
        $locations = $this->getMenuLocations();
        Arr::forget($locations, $location);
 
        $this->config->set('packages.menu.general.locations', $locations);
 
        return $this;
    }
 
    /**
     * @param string $location
     * @param array $attributes
     * @return string
     * @throws Throwable
     */
    public function renderMenuLocation(string $location, array $attributes = []): string
    {
        $this->load();
 
        $html = '';
 
        foreach ($this->data as $menu) {
            if (!in_array($location, $menu->locations->pluck('location')->all())) {
                continue;
            }
 
            $attributes['slug'] = $menu->slug;
            $html .= $this->generateMenu($attributes);
        }
 
        return $html;
    }
 
    /**
     * @param string $location
     * @return bool
     * @throws Throwable
     */
/var/www/vd/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php
    }
 
    /**
     * Handle dynamic, static calls to the object.
     *
     * @param  string  $method
     * @param  array  $args
     * @return mixed
     *
     * @throws \RuntimeException
     */
    public static function __callStatic($method, $args)
    {
        $instance = static::getFacadeRoot();
 
        if (! $instance) {
            throw new RuntimeException('A facade root has not been set.');
        }
 
        return $instance->$method(...$args);
    }
}
 
/var/www/vd/storage/framework/views/128647ead46660761d4e041d755d0e3789ffd366.php
            </div>
        </div>
    <?php endif; ?>
 
    <div class="header-bottom header-sticky background-white text-center">
        <div class="mobile_menu d-lg-none d-block"></div>
        <div class="container">
            <div class="row">
                <div class="col-12">
                    <?php echo Theme::partial('header.offcanvas-sidebar'); ?>
 
                    <?php echo Theme::partial('header.logo-tablet'); ?>
 
                    <?php echo Theme::partial('header.logo-mobile'); ?>
 
 
                    <div class="main-nav text-center d-none d-lg-block" style="display: none">
                        <nav>
                            <?php echo Menu::renderMenuLocation('main-menu', [
                                'view'    => 'menu',
                                'options' => ['id' => 'navigation', 'class' => 'main-menu', 'is-main-menu' => true],
                            ]); ?>
 
                        </nav>
                    </div>
 
                    <?php echo Theme::partial('header.search-button'); ?>
 
                </div>
            </div>
        </div>
    </div>
 
    <?php if(Theme::has('afterHeader')): ?>
        <?php echo Theme::get('afterHeader'); ?>
 
    <?php endif; ?>
</header>
<?php /**PATH /var/www/vd/platform/themes/ultra/partials/header/style-1.blade.php ENDPATH**/ ?>
/var/www/vd/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php
 
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
 
                return require $__path;
            })();
        }
 
        throw new FileNotFoundException("File does not exist at path {$path}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
Arguments
  1. "/var/www/vd/storage/framework/views/128647ead46660761d4e041d755d0e3789ffd366.php"
    
/var/www/vd/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
 
                return require $__path;
            })();
        }
 
        throw new FileNotFoundException("File does not exist at path {$path}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
    }
 
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    protected function evaluatePath($path, $data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            $this->files->getRequire($path, $data);
        } catch (Throwable $e) {
            $this->handleViewException($e, $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
/var/www/vd/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    public function get($path, array $data = [])
    {
        $this->lastCompiled[] = $path;
 
        // If this given view has expired, which means it has simply been edited since
        // it was last compiled, we will re-compile the views so we can evaluate a
        // fresh copy of the view. We'll pass the compiler the path of the view.
        if ($this->compiler->isExpired($path)) {
            $this->compiler->compile($path);
        }
 
        // Once we have the path to the compiled file, we will evaluate the paths with
        // typical PHP just like any other templates. We also keep a stack of views
        // which have been rendered for right exception messages to be generated.
        $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        $e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
/var/www/vd/vendor/laravel/framework/src/Illuminate/View/View.php
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Get the data bound to the view instance.
     *
     * @return array
     */
    public function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
        foreach ($data as $key => $value) {
            if ($value instanceof Renderable) {
                $data[$key] = $value->render();
            }
        }
 
        return $data;
    }
 
/var/www/vd/vendor/botble/shortcode/src/View/View.php
    {
        $this->shortcode->setStrip(true);
 
        return $this;
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
     * @since 2.1
     */
    protected function renderContents(): string
    {
        // We will keep track of the amount of views being rendered, so we can flush
        // the section after the complete rendering operation is done. This will
        // clear out the sections for any separate views that may be rendered.
        $this->factory->incrementRender();
        $this->factory->callComposer($this);
        $contents = $this->getContents();
        if ($this->shortcode->getStrip()) {
            // strip content without shortcodes
            $contents = $this->shortcode->strip($contents);
        } else {
            // compile the shortcodes
            $contents = $this->shortcode->compile($contents);
        }
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
}
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/View/View.php
        $this->view = $view;
        $this->path = $path;
        $this->engine = $engine;
        $this->factory = $factory;
 
        $this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
    }
 
    /**
     * Get the string contents of the view.
     *
     * @param  callable|null  $callback
     * @return string
     *
     * @throws \Throwable
     */
    public function render(callable $callback = null)
    {
        try {
            $contents = $this->renderContents();
 
            $response = isset($callback) ? $callback($this, $contents) : null;
 
            // Once we have the contents of the view, we will flush the sections if we are
            // done rendering all views so that there is nothing left hanging over when
            // another view gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
/var/www/vd/vendor/botble/theme/src/Theme.php
    }
 
    /**
     * Load a partial
     *
     * @param string $view
     * @param string $partialDir
     * @param array $args
     * @return string|null
     * @throws UnknownPartialFileException
     */
    public function loadPartial(string $view, string $partialDir, array $args): ?string
    {
        $path = $partialDir . '.' . $view;
 
        if (!$this->view->exists($path)) {
            throw new UnknownPartialFileException('Partial view [' . $view . '] not found.');
        }
 
        $partial = $this->view->make($path, $args)->render();
        $this->regions[$view] = $partial;
 
        return $this->regions[$view];
    }
 
    /**
     * Watch and set up a partial from anywhere.
     *
     * This method will first try to load the partial from current theme. If partial
     * is not found in theme then it loads it from app (i.e. app/views/partials)
     *
     * @param string $view
     * @param array $args
     * @return string|null
     * @throws UnknownPartialFileException
     * @throws FileNotFoundException
     */
    public function watchPartial(string $view, array $args = []): ?string
    {
        try {
/var/www/vd/vendor/botble/theme/src/Theme.php
     */
    public function getLayoutName(): string
    {
        return $this->layout;
    }
 
    /**
     * Set up a partial.
     *
     * @param string $view
     * @param array $args
     * @return string|null
     * @throws UnknownPartialFileException
     * @throws FileNotFoundException
     */
    public function partial(string $view, array $args = []): ?string
    {
        $partialDir = $this->getThemeNamespace($this->getConfig('containerDir.partial'));
 
        return $this->loadPartial($view, $partialDir, $args);
    }
 
    /**
     * Load a partial
     *
     * @param string $view
     * @param string $partialDir
     * @param array $args
     * @return string|null
     * @throws UnknownPartialFileException
     */
    public function loadPartial(string $view, string $partialDir, array $args): ?string
    {
        $path = $partialDir . '.' . $view;
 
        if (!$this->view->exists($path)) {
            throw new UnknownPartialFileException('Partial view [' . $view . '] not found.');
        }
 
        $partial = $this->view->make($path, $args)->render();
/var/www/vd/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php
    }
 
    /**
     * Handle dynamic, static calls to the object.
     *
     * @param  string  $method
     * @param  array  $args
     * @return mixed
     *
     * @throws \RuntimeException
     */
    public static function __callStatic($method, $args)
    {
        $instance = static::getFacadeRoot();
 
        if (! $instance) {
            throw new RuntimeException('A facade root has not been set.');
        }
 
        return $instance->$method(...$args);
    }
}
 
/var/www/vd/storage/framework/views/f42d4c8928ba6e463af2388a96004a3a712915c8.php
                    <?php if(theme_option('favicon')): ?>
                        <div data-loader="spinner" style="background: url(<?php echo e(RvMedia::getImageUrl(theme_option('favicon'))); ?>);"></div>
                    <?php endif; ?>
                    <p><?php echo e(__('Loading...')); ?></p>
                </div>
            </div>
        </div>
    </div>
<?php endif; ?>
 
<div class="main-wrap">
    <?php
        $headerStyle = request()->input('header', theme_option('header_style', 'style-1'));
        $headerStyle = empty($headerStyle) ? 'style-1' : $headerStyle;
    ?>
 
    <?php echo Theme::partial('components.sidebar-canvas', ['headerStyle' => $headerStyle]); ?>
 
 
    <?php echo Theme::partial('header.' . $headerStyle); ?>
 
 
    <?php echo Theme::partial('components.search-form'); ?>
 
 
<?php /**PATH /var/www/vd/platform/themes/ultra/partials/header.blade.php ENDPATH**/ ?>
/var/www/vd/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php
 
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
 
                return require $__path;
            })();
        }
 
        throw new FileNotFoundException("File does not exist at path {$path}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
Arguments
  1. "/var/www/vd/storage/framework/views/f42d4c8928ba6e463af2388a96004a3a712915c8.php"
    
/var/www/vd/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
 
                return require $__path;
            })();
        }
 
        throw new FileNotFoundException("File does not exist at path {$path}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
    }
 
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    protected function evaluatePath($path, $data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            $this->files->getRequire($path, $data);
        } catch (Throwable $e) {
            $this->handleViewException($e, $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
/var/www/vd/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    public function get($path, array $data = [])
    {
        $this->lastCompiled[] = $path;
 
        // If this given view has expired, which means it has simply been edited since
        // it was last compiled, we will re-compile the views so we can evaluate a
        // fresh copy of the view. We'll pass the compiler the path of the view.
        if ($this->compiler->isExpired($path)) {
            $this->compiler->compile($path);
        }
 
        // Once we have the path to the compiled file, we will evaluate the paths with
        // typical PHP just like any other templates. We also keep a stack of views
        // which have been rendered for right exception messages to be generated.
        $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        $e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
/var/www/vd/vendor/laravel/framework/src/Illuminate/View/View.php
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Get the data bound to the view instance.
     *
     * @return array
     */
    public function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
        foreach ($data as $key => $value) {
            if ($value instanceof Renderable) {
                $data[$key] = $value->render();
            }
        }
 
        return $data;
    }
 
/var/www/vd/vendor/botble/shortcode/src/View/View.php
    {
        $this->shortcode->setStrip(true);
 
        return $this;
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
     * @since 2.1
     */
    protected function renderContents(): string
    {
        // We will keep track of the amount of views being rendered, so we can flush
        // the section after the complete rendering operation is done. This will
        // clear out the sections for any separate views that may be rendered.
        $this->factory->incrementRender();
        $this->factory->callComposer($this);
        $contents = $this->getContents();
        if ($this->shortcode->getStrip()) {
            // strip content without shortcodes
            $contents = $this->shortcode->strip($contents);
        } else {
            // compile the shortcodes
            $contents = $this->shortcode->compile($contents);
        }
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
}
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/View/View.php
        $this->view = $view;
        $this->path = $path;
        $this->engine = $engine;
        $this->factory = $factory;
 
        $this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
    }
 
    /**
     * Get the string contents of the view.
     *
     * @param  callable|null  $callback
     * @return string
     *
     * @throws \Throwable
     */
    public function render(callable $callback = null)
    {
        try {
            $contents = $this->renderContents();
 
            $response = isset($callback) ? $callback($this, $contents) : null;
 
            // Once we have the contents of the view, we will flush the sections if we are
            // done rendering all views so that there is nothing left hanging over when
            // another view gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
/var/www/vd/vendor/botble/theme/src/Theme.php
    }
 
    /**
     * Load a partial
     *
     * @param string $view
     * @param string $partialDir
     * @param array $args
     * @return string|null
     * @throws UnknownPartialFileException
     */
    public function loadPartial(string $view, string $partialDir, array $args): ?string
    {
        $path = $partialDir . '.' . $view;
 
        if (!$this->view->exists($path)) {
            throw new UnknownPartialFileException('Partial view [' . $view . '] not found.');
        }
 
        $partial = $this->view->make($path, $args)->render();
        $this->regions[$view] = $partial;
 
        return $this->regions[$view];
    }
 
    /**
     * Watch and set up a partial from anywhere.
     *
     * This method will first try to load the partial from current theme. If partial
     * is not found in theme then it loads it from app (i.e. app/views/partials)
     *
     * @param string $view
     * @param array $args
     * @return string|null
     * @throws UnknownPartialFileException
     * @throws FileNotFoundException
     */
    public function watchPartial(string $view, array $args = []): ?string
    {
        try {
/var/www/vd/vendor/botble/theme/src/Theme.php
     */
    public function getLayoutName(): string
    {
        return $this->layout;
    }
 
    /**
     * Set up a partial.
     *
     * @param string $view
     * @param array $args
     * @return string|null
     * @throws UnknownPartialFileException
     * @throws FileNotFoundException
     */
    public function partial(string $view, array $args = []): ?string
    {
        $partialDir = $this->getThemeNamespace($this->getConfig('containerDir.partial'));
 
        return $this->loadPartial($view, $partialDir, $args);
    }
 
    /**
     * Load a partial
     *
     * @param string $view
     * @param string $partialDir
     * @param array $args
     * @return string|null
     * @throws UnknownPartialFileException
     */
    public function loadPartial(string $view, string $partialDir, array $args): ?string
    {
        $path = $partialDir . '.' . $view;
 
        if (!$this->view->exists($path)) {
            throw new UnknownPartialFileException('Partial view [' . $view . '] not found.');
        }
 
        $partial = $this->view->make($path, $args)->render();
/var/www/vd/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php
    }
 
    /**
     * Handle dynamic, static calls to the object.
     *
     * @param  string  $method
     * @param  array  $args
     * @return mixed
     *
     * @throws \RuntimeException
     */
    public static function __callStatic($method, $args)
    {
        $instance = static::getFacadeRoot();
 
        if (! $instance) {
            throw new RuntimeException('A facade root has not been set.');
        }
 
        return $instance->$method(...$args);
    }
}
 
/var/www/vd/storage/framework/views/19a29a84ac91cbd5ffbcc1c034dd437347d4e3d9.php
<?php
SeoHelper::setTitle(__('404 - Not found'));
Theme::fire('beforeRenderTheme', app(\Botble\Theme\Contracts\Theme::class));
?>
 
<?php echo Theme::partial('header'); ?>
 
 
<!--main content-->
<div class="main_content sidebar_right mt-100 mb-100">
    <div class="container">
        <div class="row">
            <div class="col-lg-6 col-md-12 d-lg-block d-none">
                <img loading="lazy" src="<?php echo e(Theme::asset()->url('images/fogg-page-not-found.png')); ?>" alt="image">
            </div>
            <div class="col-lg-6 col-md-12">
                <h1 class="mb-30"><?php echo e(__('404 - Page Not Found')); ?></h1>
                <form action="<?php echo e(route('public.search')); ?>" class="search-form d-lg-flex open-search mb-30">
                    <div class="form-group">
                        <input class="form-control bg-white" name="q" id="q" type="text"
                               placeholder="<?php echo e(__('Search...')); ?>">
                    </div>
                </form>
                <p class="font-lg text-grey-700">
                    <?php echo e(__('The link you clicked may be broken or the page may have been removed.')); ?><br>
                    <?php echo e(__('visit the')); ?> <a href="<?php echo e(route('public.index')); ?>"> <strong> <?php echo e(__('Homepage')); ?></strong></a> <?php echo e(__('or')); ?> <a
                        href="mailto:<?php echo e(theme_option('email', '')); ?>"><strong><?php echo e(__('Contact us')); ?></strong></a>
                    <?php echo e(__('about the problem')); ?>
 
                </p>
                <div class="form-group">
                    <button type="submit" class="button button-contactForm mt-30">Home page</button>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- End Main content -->
<?php echo Theme::partial('footer'); ?>
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php
 
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
 
                return require $__path;
            })();
        }
 
        throw new FileNotFoundException("File does not exist at path {$path}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
Arguments
  1. "/var/www/vd/storage/framework/views/19a29a84ac91cbd5ffbcc1c034dd437347d4e3d9.php"
    
/var/www/vd/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
 
                return require $__path;
            })();
        }
 
        throw new FileNotFoundException("File does not exist at path {$path}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php
    }
 
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    protected function evaluatePath($path, $data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            $this->files->getRequire($path, $data);
        } catch (Throwable $e) {
            $this->handleViewException($e, $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
/var/www/vd/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php
     *
     * @param  string  $path
     * @param  array  $data
     * @return string
     */
    public function get($path, array $data = [])
    {
        $this->lastCompiled[] = $path;
 
        // If this given view has expired, which means it has simply been edited since
        // it was last compiled, we will re-compile the views so we can evaluate a
        // fresh copy of the view. We'll pass the compiler the path of the view.
        if ($this->compiler->isExpired($path)) {
            $this->compiler->compile($path);
        }
 
        // Once we have the path to the compiled file, we will evaluate the paths with
        // typical PHP just like any other templates. We also keep a stack of views
        // which have been rendered for right exception messages to be generated.
        $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        $e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
/var/www/vd/vendor/laravel/framework/src/Illuminate/View/View.php
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Get the data bound to the view instance.
     *
     * @return array
     */
    public function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
        foreach ($data as $key => $value) {
            if ($value instanceof Renderable) {
                $data[$key] = $value->render();
            }
        }
 
        return $data;
    }
 
/var/www/vd/vendor/botble/shortcode/src/View/View.php
    {
        $this->shortcode->setStrip(true);
 
        return $this;
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
     * @since 2.1
     */
    protected function renderContents(): string
    {
        // We will keep track of the amount of views being rendered, so we can flush
        // the section after the complete rendering operation is done. This will
        // clear out the sections for any separate views that may be rendered.
        $this->factory->incrementRender();
        $this->factory->callComposer($this);
        $contents = $this->getContents();
        if ($this->shortcode->getStrip()) {
            // strip content without shortcodes
            $contents = $this->shortcode->strip($contents);
        } else {
            // compile the shortcodes
            $contents = $this->shortcode->compile($contents);
        }
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
}
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/View/View.php
        $this->view = $view;
        $this->path = $path;
        $this->engine = $engine;
        $this->factory = $factory;
 
        $this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
    }
 
    /**
     * Get the string contents of the view.
     *
     * @param  callable|null  $callback
     * @return string
     *
     * @throws \Throwable
     */
    public function render(callable $callback = null)
    {
        try {
            $contents = $this->renderContents();
 
            $response = isset($callback) ? $callback($this, $contents) : null;
 
            // Once we have the contents of the view, we will flush the sections if we are
            // done rendering all views so that there is nothing left hanging over when
            // another view gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
/var/www/vd/vendor/laravel/framework/src/Illuminate/Http/Response.php
        $this->original = $content;
 
        // If the content is "JSONable" we will set the appropriate header and convert
        // the content to JSON. This is useful when returning something like models
        // from routes that will be automatically transformed to their JSON form.
        if ($this->shouldBeJson($content)) {
            $this->header('Content-Type', 'application/json');
 
            $content = $this->morphToJson($content);
 
            if ($content === false) {
                throw new InvalidArgumentException(json_last_error_msg());
            }
        }
 
        // If this content implements the "Renderable" interface then we will call the
        // render method on the object so we will avoid any "__toString" exceptions
        // that might be thrown and have their errors obscured by PHP's handling.
        elseif ($content instanceof Renderable) {
            $content = $content->render();
        }
 
        parent::setContent($content);
 
        return $this;
    }
 
    /**
     * Determine if the given content should be turned into JSON.
     *
     * @param  mixed  $content
     * @return bool
     */
    protected function shouldBeJson($content)
    {
        return $content instanceof Arrayable ||
               $content instanceof Jsonable ||
               $content instanceof ArrayObject ||
               $content instanceof JsonSerializable ||
               is_array($content);
/var/www/vd/vendor/laravel/framework/src/Illuminate/Http/Response.php
{
    use ResponseTrait, Macroable {
        Macroable::__call as macroCall;
    }
 
    /**
     * Create a new HTTP response.
     *
     * @param  mixed  $content
     * @param  int  $status
     * @param  array  $headers
     * @return void
     *
     * @throws \InvalidArgumentException
     */
    public function __construct($content = '', $status = 200, array $headers = [])
    {
        $this->headers = new ResponseHeaderBag($headers);
 
        $this->setContent($content);
        $this->setStatusCode($status);
        $this->setProtocolVersion('1.0');
    }
 
    /**
     * Set the content on the response.
     *
     * @param  mixed  $content
     * @return $this
     *
     * @throws \InvalidArgumentException
     */
    public function setContent($content)
    {
        $this->original = $content;
 
        // If the content is "JSONable" we will set the appropriate header and convert
        // the content to JSON. This is useful when returning something like models
        // from routes that will be automatically transformed to their JSON form.
        if ($this->shouldBeJson($content)) {
/var/www/vd/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php
     * @param  \Illuminate\Routing\Redirector  $redirector
     * @return void
     */
    public function __construct(ViewFactory $view, Redirector $redirector)
    {
        $this->view = $view;
        $this->redirector = $redirector;
    }
 
    /**
     * Create a new response instance.
     *
     * @param  mixed  $content
     * @param  int  $status
     * @param  array  $headers
     * @return \Illuminate\Http\Response
     */
    public function make($content = '', $status = 200, array $headers = [])
    {
        return new Response($content, $status, $headers);
    }
 
    /**
     * Create a new "no content" response.
     *
     * @param  int  $status
     * @param  array  $headers
     * @return \Illuminate\Http\Response
     */
    public function noContent($status = 204, array $headers = [])
    {
        return $this->make('', $status, $headers);
    }
 
    /**
     * Create a new response for a given view.
     *
     * @param  string|array  $view
     * @param  array  $data
     * @param  int  $status
/var/www/vd/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php
    {
        return $this->make('', $status, $headers);
    }
 
    /**
     * Create a new response for a given view.
     *
     * @param  string|array  $view
     * @param  array  $data
     * @param  int  $status
     * @param  array  $headers
     * @return \Illuminate\Http\Response
     */
    public function view($view, $data = [], $status = 200, array $headers = [])
    {
        if (is_array($view)) {
            return $this->make($this->view->first($view, $data), $status, $headers);
        }
 
        return $this->make($this->view->make($view, $data), $status, $headers);
    }
 
    /**
     * Create a new JSON response instance.
     *
     * @param  mixed  $data
     * @param  int  $status
     * @param  array  $headers
     * @param  int  $options
     * @return \Illuminate\Http\JsonResponse
     */
    public function json($data = [], $status = 200, array $headers = [], $options = 0)
    {
        return new JsonResponse($data, $status, $headers, $options);
    }
 
    /**
     * Create a new JSONP response instance.
     *
     * @param  string  $callback
/var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php
        $renderer = new HtmlErrorRenderer($debug);
 
        return $renderer->render($e)->getAsString();
    }
 
    /**
     * Render the given HttpException.
     *
     * @param  \Symfony\Component\HttpKernel\Exception\HttpExceptionInterface  $e
     * @return \Symfony\Component\HttpFoundation\Response
     */
    protected function renderHttpException(HttpExceptionInterface $e)
    {
        $this->registerErrorViewPaths();
 
        if (view()->exists($view = $this->getHttpExceptionView($e))) {
            return response()->view($view, [
                'errors' => new ViewErrorBag,
                'exception' => $e,
            ], $e->getStatusCode(), $e->getHeaders());
        }
 
        return $this->convertExceptionToResponse($e);
    }
 
    /**
     * Register the error template hint paths.
     *
     * @return void
     */
    protected function registerErrorViewPaths()
    {
        (new RegisterErrorViewPaths)();
    }
 
    /**
     * Get the view used to render HTTP exceptions.
     *
     * @param  \Symfony\Component\HttpKernel\Exception\HttpExceptionInterface  $e
     * @return string
/var/www/vd/vendor/botble/platform/base/src/Exceptions/Handler.php
            /**
             * @var EncryptCookies $encryptCookies
             */
            $encryptCookies = app(EncryptCookies::class);
 
            /**
             * @var StartSession $startSession
             */
            $startSession = app(StartSession::class);
 
            $request = app('request');
 
            $encryptCookies->handle($request, function () use ($startSession, $request) {
                return $startSession->handle($request, function () {
                    return response('');
                });
            });
        }
 
        return parent::renderHttpException($exception);
    }
 
    /**
     * {@inheritDoc}
     */
    public function report(Throwable $exception)
    {
        if ($this->shouldReport($exception) && !$this->isExceptionFromBot()) {
            if (!app()->isLocal() && !app()->runningInConsole()) {
                if (setting('enable_send_error_reporting_via_email', false) &&
                    setting('email_driver', config('mail.default')) &&
                    $exception instanceof Exception
                ) {
                    EmailHandler::sendErrorException($exception);
                }
 
                if (config('core.base.general.error_reporting.via_slack', false)) {
                    Log::channel('slack')
                        ->critical(URL::full() . "\n" . $exception->getFile() . ':' . $exception->getLine() . "\n" . $exception->getMessage());
                }
/var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php
 
    /**
     * Prepare a response for the given exception.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Throwable  $e
     * @return \Symfony\Component\HttpFoundation\Response
     */
    protected function prepareResponse($request, Throwable $e)
    {
        if (! $this->isHttpException($e) && config('app.debug')) {
            return $this->toIlluminateResponse($this->convertExceptionToResponse($e), $e);
        }
 
        if (! $this->isHttpException($e)) {
            $e = new HttpException(500, $e->getMessage());
        }
 
        return $this->toIlluminateResponse(
            $this->renderHttpException($e), $e
        );
    }
 
    /**
     * Create a Symfony response for the given exception.
     *
     * @param  \Throwable  $e
     * @return \Symfony\Component\HttpFoundation\Response
     */
    protected function convertExceptionToResponse(Throwable $e)
    {
        return new SymfonyResponse(
            $this->renderExceptionContent($e),
            $this->isHttpException($e) ? $e->getStatusCode() : 500,
            $this->isHttpException($e) ? $e->getHeaders() : []
        );
    }
 
    /**
     * Get the response content for the given exception.
/var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php
                    $response = $renderCallback($e, $request);
 
                    if (! is_null($response)) {
                        return $response;
                    }
                }
            }
        }
 
        if ($e instanceof HttpResponseException) {
            return $e->getResponse();
        } elseif ($e instanceof AuthenticationException) {
            return $this->unauthenticated($request, $e);
        } elseif ($e instanceof ValidationException) {
            return $this->convertValidationExceptionToResponse($e, $request);
        }
 
        return $this->shouldReturnJson($request, $e)
                    ? $this->prepareJsonResponse($request, $e)
                    : $this->prepareResponse($request, $e);
    }
 
    /**
     * Map the exception using a registered mapper if possible.
     *
     * @param  \Throwable  $e
     * @return \Throwable
     */
    protected function mapException(Throwable $e)
    {
        foreach ($this->exceptionMap as $class => $mapper) {
            if (is_a($e, $class)) {
                return $mapper($e);
            }
        }
 
        return $e;
    }
 
    /**
/var/www/vd/vendor/botble/platform/base/src/Exceptions/Handler.php
 
                    case 404:
                        return $response
                            ->setError()
                            ->setMessage(trans('core/base::errors.not_found'))
                            ->setCode(404)
                            ->toResponse($request);
                }
            }
 
            if (!app()->isDownForMaintenance()) {
                do_action(BASE_ACTION_SITE_ERROR, $code);
            }
        }
 
        if ($exception instanceof NotFoundHttpException && setting('redirect_404_to_homepage', 0) == 1) {
            return redirect(route('public.index'));
        }
 
        return parent::render($request, $exception);
    }
 
    /**
     * {@inheritDoc}
     */
    protected function renderHttpException(HttpExceptionInterface $exception)
    {
        if ($exception instanceof NotFoundHttpException) {
            /**
             * @var EncryptCookies $encryptCookies
             */
            $encryptCookies = app(EncryptCookies::class);
 
            /**
             * @var StartSession $startSession
             */
            $startSession = app(StartSession::class);
 
            $request = app('request');
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Throwable  $e
     * @return mixed
     *
     * @throws \Throwable
     */
    protected function handleException($passable, Throwable $e)
    {
        if (! $this->container->bound(ExceptionHandler::class) ||
            ! $passable instanceof Request) {
            throw $e;
        }
 
        $handler = $this->container->make(ExceptionHandler::class);
 
        $handler->report($e);
 
        $response = $handler->render($passable, $e);
 
        if (is_object($response) && method_exists($response, 'withException')) {
            $response->withException($e);
        }
 
        return $response;
    }
}
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            try {
                return $destination($passable);
            } catch (Throwable $e) {
                return $this->handleException($passable, $e);
            }
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    protected function carry()
    {
        return function ($stack, $pipe) {
            return function ($passable) use ($stack, $pipe) {
                try {
                    if (is_callable($pipe)) {
                        // If the pipe is a callable, then we will call it directly, but otherwise we
                        // will resolve the pipes out of the dependency container and call it with
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
/var/www/vd/vendor/botble/platform/js-validation/src/RemoteValidationMiddleware.php
    {
        $this->factory = $validator;
        $this->field = $config->get('core.js-validation.js-validation.remote_validation_field');
        $this->escape = (bool)$config->get('core.js-validation.js-validation.escape', false);
    }
 
    /**
     * Handle an incoming request.
     *
     * @param Request $request
     * @param Closure $next
     * @return mixed
     */
    public function handle(Request $request, Closure $next)
    {
        if ($request->has($this->field)) {
            $this->wrapValidator();
        }
 
        return $next($request);
    }
 
    /**
     * Wraps Validator resolver with RemoteValidator resolver.
     *
     * @return void
     */
    protected function wrapValidator()
    {
        $resolver = new Resolver($this->factory, $this->escape);
        $this->factory->resolver($resolver->resolver($this->field));
        $this->factory->extend(RemoteValidator::EXTENSION_NAME, $resolver->validatorClosure());
    }
}
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
 
namespace Illuminate\Foundation\Http\Middleware;
 
use Closure;
use Symfony\Component\HttpFoundation\ParameterBag;
 
class TransformsRequest
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $this->clean($request);
 
        return $next($request);
    }
 
    /**
     * Clean the request's data.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return void
     */
    protected function clean($request)
    {
        $this->cleanParameterBag($request->query);
 
        if ($request->isJson()) {
            $this->cleanParameterBag($request->json());
        } elseif ($request->request !== $request->query) {
            $this->cleanParameterBag($request->request);
        }
    }
 
    /**
/var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
     * @var array
     */
    protected static $skipCallbacks = [];
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        foreach (static::$skipCallbacks as $callback) {
            if ($callback($request)) {
                return $next($request);
            }
        }
 
        return parent::handle($request, $next);
    }
 
    /**
     * Transform the given value.
     *
     * @param  string  $key
     * @param  mixed  $value
     * @return mixed
     */
    protected function transform($key, $value)
    {
        return is_string($value) && $value === '' ? null : $value;
    }
 
    /**
     * Register a callback that instructs the middleware to be skipped.
     *
     * @param  \Closure  $callback
     * @return void
     */
/var/www/vd/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
 
namespace Illuminate\Foundation\Http\Middleware;
 
use Closure;
use Symfony\Component\HttpFoundation\ParameterBag;
 
class TransformsRequest
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $this->clean($request);
 
        return $next($request);
    }
 
    /**
     * Clean the request's data.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return void
     */
    protected function clean($request)
    {
        $this->cleanParameterBag($request->query);
 
        if ($request->isJson()) {
            $this->cleanParameterBag($request->json());
        } elseif ($request->request !== $request->query) {
            $this->cleanParameterBag($request->request);
        }
    }
 
    /**
/var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
    protected $except = [
        //
    ];
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        foreach (static::$skipCallbacks as $callback) {
            if ($callback($request)) {
                return $next($request);
            }
        }
 
        return parent::handle($request, $next);
    }
 
    /**
     * Transform the given value.
     *
     * @param  string  $key
     * @param  mixed  $value
     * @return mixed
     */
    protected function transform($key, $value)
    {
        if (in_array($key, $this->except, true)) {
            return $value;
        }
 
        return is_string($value) ? trim($value) : $value;
    }
 
    /**
     * Register a callback that instructs the middleware to be skipped.
/var/www/vd/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
class ValidatePostSize
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     *
     * @throws \Illuminate\Http\Exceptions\PostTooLargeException
     */
    public function handle($request, Closure $next)
    {
        $max = $this->getPostMaxSize();
 
        if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
            throw new PostTooLargeException;
        }
 
        return $next($request);
    }
 
    /**
     * Determine the server 'post_max_size' as bytes.
     *
     * @return int
     */
    protected function getPostMaxSize()
    {
        if (is_numeric($postMaxSize = ini_get('post_max_size'))) {
            return (int) $postMaxSize;
        }
 
        $metric = strtoupper(substr($postMaxSize, -1));
        $postMaxSize = (int) $postMaxSize;
 
        switch ($metric) {
            case 'K':
                return $postMaxSize * 1024;
            case 'M':
/var/www/vd/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
                }
            }
 
            if (isset($data['template'])) {
                return response(
                    $data['template'],
                    $data['status'] ?? 503,
                    $this->getHeaders($data)
                );
            }
 
            throw new HttpException(
                $data['status'] ?? 503,
                'Service Unavailable',
                null,
                $this->getHeaders($data)
            );
        }
 
        return $next($request);
    }
 
    /**
     * Determine if the incoming request has a maintenance mode bypass cookie.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  array  $data
     * @return bool
     */
    protected function hasValidBypassCookie($request, array $data)
    {
        return isset($data['secret']) &&
                $request->cookie('laravel_maintenance') &&
                MaintenanceModeBypassCookie::isValid(
                    $request->cookie('laravel_maintenance'),
                    $data['secret']
                );
    }
 
    /**
/var/www/vd/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/vd/vendor/fruitcake/laravel-cors/src/HandleCors.php
    protected $container;
 
    public function __construct(CorsService $cors, Container $container)
    {
        $this->cors = $cors;
        $this->container = $container;
    }
 
    /**
     * Handle an incoming request. Based on Asm89\Stack\Cors by asm89
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return Response
     */
    public function handle($request, Closure $next)
    {
        // Check if we're dealing with CORS and if we should handle it
        if (! $this->shouldRun($request)) {
            return $next($request);
        }
 
        // For Preflight, return the Preflight response
        if ($this->cors->isPreflightRequest($request)) {
            $response = $this->cors->handlePreflightRequest($request);
 
            $this->cors->varyHeader($response, 'Access-Control-Request-Method');
 
            return $response;
        }
 
 
        // Handle the request
        $response = $next($request);
 
        if ($request->getMethod() === 'OPTIONS') {
            $this->cors->varyHeader($response, 'Access-Control-Request-Method');
        }
 
        return $this->addHeaders($request, $response);
/var/www/vd/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php
     * @var int
     */
    protected $headers = Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_HOST | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO | Request::HEADER_X_FORWARDED_AWS_ELB;
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     *
     * @throws \Symfony\Component\HttpKernel\Exception\HttpException
     */
    public function handle(Request $request, Closure $next)
    {
        $request::setTrustedProxies([], $this->getTrustedHeaderNames());
 
        $this->setTrustedProxyIpAddresses($request);
 
        return $next($request);
    }
 
    /**
     * Sets the trusted proxies on the request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return void
     */
    protected function setTrustedProxyIpAddresses(Request $request)
    {
        $trustedIps = $this->proxies() ?: config('trustedproxy.proxies');
 
        if ($trustedIps === '*' || $trustedIps === '**') {
            return $this->setTrustedProxyIpAddressesToTheCallingIp($request);
        }
 
        $trustedIps = is_string($trustedIps)
                ? array_map('trim', explode(',', $trustedIps))
                : $trustedIps;
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
                        // the appropriate method and arguments, returning the results back out.
                        return $pipe($passable, $stack);
                    } elseif (! is_object($pipe)) {
                        [$name, $parameters] = $this->parsePipeString($pipe);
 
                        // If the pipe is a string we will parse the string and resolve the class out
                        // of the dependency injection container. We can then build a callable and
                        // execute the pipe function giving in the parameters that are required.
                        $pipe = $this->getContainer()->make($name);
 
                        $parameters = array_merge([$passable, $stack], $parameters);
                    } else {
                        // If the pipe is already an object we'll just make a callable and pass it to
                        // the pipe as-is. There is no need to do any extra parsing and formatting
                        // since the object we're given was already a fully instantiated object.
                        $parameters = [$passable, $stack];
                    }
 
                    $carry = method_exists($pipe, $this->method)
                                    ? $pipe->{$this->method}(...$parameters)
                                    : $pipe(...$parameters);
 
                    return $this->handleCarry($carry);
                } catch (Throwable $e) {
                    return $this->handleException($passable, $e);
                }
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string  $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        [$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
 
/var/www/vd/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
    public function via($method)
    {
        $this->method = $method;
 
        return $this;
    }
 
    /**
     * Run the pipeline with a final destination callback.
     *
     * @param  \Closure  $destination
     * @return mixed
     */
    public function then(Closure $destination)
    {
        $pipeline = array_reduce(
            array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
        );
 
        return $pipeline($this->passable);
    }
 
    /**
     * Run the pipeline and return the result.
     *
     * @return mixed
     */
    public function thenReturn()
    {
        return $this->then(function ($passable) {
            return $passable;
        });
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
/var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
    }
 
    /**
     * Send the given request through the middleware / router.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    protected function sendRequestThroughRouter($request)
    {
        $this->app->instance('request', $request);
 
        Facade::clearResolvedInstance('request');
 
        $this->bootstrap();
 
        return (new Pipeline($this->app))
                    ->send($request)
                    ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
                    ->then($this->dispatchToRouter());
    }
 
    /**
     * Bootstrap the application for HTTP requests.
     *
     * @return void
     */
    public function bootstrap()
    {
        if (! $this->app->hasBeenBootstrapped()) {
            $this->app->bootstrapWith($this->bootstrappers());
        }
    }
 
    /**
     * Get the route dispatcher callback.
     *
     * @return \Closure
     */
    protected function dispatchToRouter()
/var/www/vd/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
    public function __construct(Application $app, Router $router)
    {
        $this->app = $app;
        $this->router = $router;
 
        $this->syncMiddlewareToRouter();
    }
 
    /**
     * Handle an incoming HTTP request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function handle($request)
    {
        try {
            $request->enableHttpMethodParameterOverride();
 
            $response = $this->sendRequestThroughRouter($request);
        } catch (Throwable $e) {
            $this->reportException($e);
 
            $response = $this->renderException($request, $e);
        }
 
        $this->app['events']->dispatch(
            new RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    protected function sendRequestThroughRouter($request)
/var/www/vd/public/index.php
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request using
| the application's HTTP kernel. Then, we will send the response back
| to this client's browser, allowing them to enjoy our application.
|
*/
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
$app->bind('path.public', function () {
    return __DIR__;
});
 
$kernel = $app->make(Kernel::class);
 
$response = $kernel->handle(
    $request = Request::capture()
)->send();
 
$kernel->terminate($request, $response);
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
REDIRECT_STATUS
"200"
HTTP_HOST
"www.viraldunia.com"
HTTP_CONNECTION
"Keep-Alive"
HTTP_ACCEPT_ENCODING
"gzip, br"
HTTP_X_FORWARDED_FOR
"44.220.245.254"
HTTP_CF_RAY
"866a55958a962d09-SIN"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_CF_VISITOR
"{"scheme":"https"}"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"claudebot"
HTTP_CF_CONNECTING_IP
"44.220.245.254"
HTTP_CDN_LOOP
"cloudflare"
HTTP_CF_IPCOUNTRY
"US"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
SERVER_SIGNATURE
"<address>Apache/2.4.54 (Ubuntu) Server at www.viraldunia.com Port 80</address>\n"
SERVER_SOFTWARE
"Apache/2.4.54 (Ubuntu)"
SERVER_NAME
"www.viraldunia.com"
SERVER_ADDR
"139.59.88.85"
SERVER_PORT
"80"
REMOTE_ADDR
"162.158.171.21"
DOCUMENT_ROOT
"/var/www/vd/public"
REQUEST_SCHEME
"http"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/var/www/vd/public"
SERVER_ADMIN
"webmaster@localhost"
SCRIPT_FILENAME
"/var/www/vd/public/index.php"
REMOTE_PORT
"14938"
REDIRECT_URL
"/tags/julian-assange"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/tags/julian-assange"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1710818507.4034
REQUEST_TIME
1710818507
APP_NAME
"Viraldunia - Viral News From The World"
APP_DEBUG
"true"
APP_ENV
"staging"
APP_URL
"https://www.viraldunia.com"
APP_KEY
"***************************************************"
LOG_CHANNEL
"daily"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_CLIENT
"predis"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"****"
REDIS_PORT
"6379"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"******"
DB_USERNAME
"****"
DB_PASSWORD
"***********"
DB_STRICT
"false"
ADMIN_DIR
"******"
BLOG_USE_LANGUAGE_VERSION_2
"true"
GALLERY_USE_LANGUAGE_VERSION_2
"true"
PAGE_USE_LANGUAGE_VERSION_2
"true"
Key Value
APP_NAME
"Viraldunia - Viral News From The World"
APP_DEBUG
"true"
APP_ENV
"staging"
APP_URL
"https://www.viraldunia.com"
APP_KEY
"***************************************************"
LOG_CHANNEL
"daily"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_CLIENT
"predis"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"****"
REDIS_PORT
"6379"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"******"
DB_USERNAME
"****"
DB_PASSWORD
"***********"
DB_STRICT
"false"
ADMIN_DIR
"******"
BLOG_USE_LANGUAGE_VERSION_2
"true"
GALLERY_USE_LANGUAGE_VERSION_2
"true"
PAGE_USE_LANGUAGE_VERSION_2
"true"
0. Whoops\Handler\PrettyPageHandler