Illuminate \ View \ ViewException (E_ERROR)
SQLSTATE[HY000] [1045] Access denied for user 'tbnhwpnfry'@'localhost' (using password: YES) (SQL: select * from `menus` where `status` = published) (View: /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/platform/themes/ripple/partials/header.blade.php) (View: /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/platform/themes/ripple/partials/header.blade.php)
Previous exceptions
  • SQLSTATE[HY000] [1045] Access denied for user 'tbnhwpnfry'@'localhost' (using password: YES) (SQL: select * from `menus` where `status` = published) (View: /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/platform/themes/ripple/partials/header.blade.php) (0)
  • SQLSTATE[HY000] [1045] Access denied for user 'tbnhwpnfry'@'localhost' (using password: YES) (SQL: select * from `menus` where `status` = published) (1045)
  • SQLSTATE[HY000] [1045] Access denied for user 'tbnhwpnfry'@'localhost' (using password: YES) (1045)
Illuminate\View\ViewException thrown with message "SQLSTATE[HY000] [1045] Access denied for user 'tbnhwpnfry'@'localhost' (using password: YES) (SQL: select * from `menus` where `status` = published) (View: /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/platform/themes/ripple/partials/header.blade.php) (View: /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/platform/themes/ripple/partials/header.blade.php)" Stacktrace: #118 Illuminate\View\ViewException in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Connection.php:712 #117 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60 #116 Illuminate\View\ViewException in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Connection.php:712 #115 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:60 #114 Illuminate\Database\QueryException in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Connection.php:712 #113 PDOException in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70 #112 PDO:__construct in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70 #111 Illuminate\Database\Connectors\Connector:createPdoConnection in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:46 #110 Illuminate\Database\Connectors\Connector:createConnection in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24 #109 Illuminate\Database\Connectors\MySqlConnector:connect in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:184 #108 Illuminate\Database\Connectors\ConnectionFactory:Illuminate\Database\Connectors\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1062 #107 call_user_func in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1062 #106 Illuminate\Database\Connection:getPdo in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1098 #105 Illuminate\Database\Connection:getReadPdo in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Connection.php:442 #104 Illuminate\Database\Connection:getPdoForSelect in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Connection.php:368 #103 Illuminate\Database\Connection:Illuminate\Database\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Connection.php:705 #102 Illuminate\Database\Connection:runQueryCallback in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Connection.php:672 #101 Illuminate\Database\Connection:run in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Connection.php:376 #100 Illuminate\Database\Connection:select in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2414 #99 Illuminate\Database\Query\Builder:runSelect in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2402 #98 Illuminate\Database\Query\Builder:Illuminate\Database\Query\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2936 #97 Illuminate\Database\Query\Builder:onceWithColumns in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2403 #96 Illuminate\Database\Query\Builder:get in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:625 #95 Illuminate\Database\Eloquent\Builder:getModels in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:609 #94 Illuminate\Database\Eloquent\Builder:get in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/platform/support/src/Repositories/Eloquent/RepositoriesAbstract.php:159 #93 Botble\Support\Repositories\Eloquent\RepositoriesAbstract:allBy in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php:51 #92 call_user_func_array in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php:51 #91 Botble\Support\Repositories\Caches\CacheAbstractDecorator:getDataIfExistCache in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php:192 #90 Botble\Support\Repositories\Caches\CacheAbstractDecorator:allBy in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/menu/src/Menu.php:249 #89 Botble\Menu\Menu:read in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/menu/src/Menu.php:239 #88 Botble\Menu\Menu:load in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/menu/src/Menu.php:215 #87 Botble\Menu\Menu:renderMenuLocation in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261 #86 Illuminate\Support\Facades\Facade:__callStatic in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/storage/framework/views/230a0b988fb8738438a64abcd04ee5f30e66be4e.php:104 #85 require in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:107 #84 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:108 #83 Illuminate\Filesystem\Filesystem:getRequire in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58 #82 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:61 #81 Illuminate\View\Engines\CompilerEngine:get in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/View/View.php:139 #80 Illuminate\View\View:getContents in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/shortcode/src/View/View.php:83 #79 Botble\Shortcode\View\View:renderContents in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/View/View.php:91 #78 Illuminate\View\View:render in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/theme/src/Theme.php:631 #77 Botble\Theme\Theme:loadPartial in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/theme/src/Theme.php:611 #76 Botble\Theme\Theme:partial in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:261 #75 Illuminate\Support\Facades\Facade:__callStatic in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/storage/framework/views/a12777e5ea005f231a11180ec24979b9951c2305.php:1 #74 require in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:107 #73 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:108 #72 Illuminate\Filesystem\Filesystem:getRequire in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58 #71 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:61 #70 Illuminate\View\Engines\CompilerEngine:get in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/View/View.php:139 #69 Illuminate\View\View:getContents in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/shortcode/src/View/View.php:83 #68 Botble\Shortcode\View\View:renderContents in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/View/View.php:91 #67 Illuminate\View\View:render in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/theme/src/Theme.php:1008 #66 Botble\Theme\Theme:render in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/theme/src/Http/Controllers/PublicController.php:86 #65 Botble\Theme\Http\Controllers\PublicController:getIndex in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/platform/themes/ripple/src/Http/Controllers/RippleController.php:19 #64 Theme\Ripple\Http\Controllers\RippleController:getIndex in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 #63 Illuminate\Routing\Controller:callAction in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45 #62 Illuminate\Routing\ControllerDispatcher:dispatch in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Routing/Route.php:262 #61 Illuminate\Routing\Route:runController in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Routing/Route.php:205 #60 Illuminate\Routing\Route:run in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Routing/Router.php:721 #59 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128 #58 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/platform/base/src/Http/Middleware/CoreMiddleware.php:19 #57 Botble\Base\Http\Middleware\CoreMiddleware:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #56 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/platform/base/src/Http/Middleware/HttpsProtocolMiddleware.php:23 #55 Botble\Base\Http\Middleware\HttpsProtocolMiddleware:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #54 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/platform/base/src/Http/Middleware/LocaleMiddleware.php:39 #53 Botble\Base\Http\Middleware\LocaleMiddleware:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #52 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/optimize/src/Http/Middleware/PageSpeed.php:28 #51 Botble\Optimize\Http\Middleware\PageSpeed:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #50 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/optimize/src/Http/Middleware/PageSpeed.php:28 #49 Botble\Optimize\Http\Middleware\PageSpeed:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #48 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/optimize/src/Http/Middleware/PageSpeed.php:28 #47 Botble\Optimize\Http\Middleware\PageSpeed:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #46 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/optimize/src/Http/Middleware/PageSpeed.php:28 #45 Botble\Optimize\Http\Middleware\PageSpeed:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #44 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/optimize/src/Http/Middleware/PageSpeed.php:28 #43 Botble\Optimize\Http\Middleware\PageSpeed:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #42 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/theme/src/Http/Middleware/AdminBarMiddleware.php:48 #41 Botble\Theme\Http\Middleware\AdminBarMiddleware:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #40 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50 #39 Illuminate\Routing\Middleware\SubstituteBindings:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #38 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78 #37 Illuminate\Foundation\Http\Middleware\VerifyCsrfToken:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #36 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 #35 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #34 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121 #33 Illuminate\Session\Middleware\StartSession:handleStatefulRequest in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64 #32 Illuminate\Session\Middleware\StartSession:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #31 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 #30 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #29 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67 #28 Illuminate\Cookie\Middleware\EncryptCookies:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #27 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 #26 Illuminate\Pipeline\Pipeline:then in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Routing/Router.php:723 #25 Illuminate\Routing\Router:runRouteWithinStack in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Routing/Router.php:698 #24 Illuminate\Routing\Router:runRoute in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Routing/Router.php:662 #23 Illuminate\Routing\Router:dispatchToRoute in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Routing/Router.php:651 #22 Illuminate\Routing\Router:dispatch in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:167 #21 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128 #20 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/platform/js-validation/src/RemoteValidationMiddleware.php:61 #19 Botble\JsValidation\RemoteValidationMiddleware:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #18 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 #17 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31 #16 Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #15 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21 #14 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:40 #13 Illuminate\Foundation\Http\Middleware\TrimStrings:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #12 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 #11 Illuminate\Foundation\Http\Middleware\ValidatePostSize:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #10 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86 #9 Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #8 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/fruitcake/laravel-cors/src/HandleCors.php:38 #7 Fruitcake\Cors\HandleCors:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #6 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:39 #5 Illuminate\Http\Middleware\TrustProxies:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #4 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 #3 Illuminate\Pipeline\Pipeline:then in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:142 #2 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:111 #1 Illuminate\Foundation\Http\Kernel:handle in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/public/index.php:52 #0 require_once in /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/server.php:21
118
Illuminate\View\ViewException
/vendor/laravel/framework/src/Illuminate/Database/Connection.php712
117
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php60
116
Illuminate\View\ViewException
/vendor/laravel/framework/src/Illuminate/Database/Connection.php712
115
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php60
114
Illuminate\Database\QueryException
/vendor/laravel/framework/src/Illuminate/Database/Connection.php712
113
PDOException
/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php70
112
PDO __construct
/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php70
111
Illuminate\Database\Connectors\Connector createPdoConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php46
110
Illuminate\Database\Connectors\Connector createConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php24
109
Illuminate\Database\Connectors\MySqlConnector connect
/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php184
108
Illuminate\Database\Connectors\ConnectionFactory Illuminate\Database\Connectors\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Connection.php1062
107
call_user_func
/vendor/laravel/framework/src/Illuminate/Database/Connection.php1062
106
Illuminate\Database\Connection getPdo
/vendor/laravel/framework/src/Illuminate/Database/Connection.php1098
105
Illuminate\Database\Connection getReadPdo
/vendor/laravel/framework/src/Illuminate/Database/Connection.php442
104
Illuminate\Database\Connection getPdoForSelect
/vendor/laravel/framework/src/Illuminate/Database/Connection.php368
103
Illuminate\Database\Connection Illuminate\Database\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Connection.php705
102
Illuminate\Database\Connection runQueryCallback
/vendor/laravel/framework/src/Illuminate/Database/Connection.php672
101
Illuminate\Database\Connection run
/vendor/laravel/framework/src/Illuminate/Database/Connection.php376
100
Illuminate\Database\Connection select
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2414
99
Illuminate\Database\Query\Builder runSelect
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2402
98
Illuminate\Database\Query\Builder Illuminate\Database\Query\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2936
97
Illuminate\Database\Query\Builder onceWithColumns
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2403
96
Illuminate\Database\Query\Builder get
/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php625
95
Illuminate\Database\Eloquent\Builder getModels
/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php609
94
Illuminate\Database\Eloquent\Builder get
/vendor/botble/platform/support/src/Repositories/Eloquent/RepositoriesAbstract.php159
93
Botble\Support\Repositories\Eloquent\RepositoriesAbstract allBy
/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php51
92
call_user_func_array
/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php51
91
Botble\Support\Repositories\Caches\CacheAbstractDecorator getDataIfExistCache
/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php192
90
Botble\Support\Repositories\Caches\CacheAbstractDecorator allBy
/vendor/botble/menu/src/Menu.php249
89
Botble\Menu\Menu read
/vendor/botble/menu/src/Menu.php239
88
Botble\Menu\Menu load
/vendor/botble/menu/src/Menu.php215
87
Botble\Menu\Menu renderMenuLocation
/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php261
86
Illuminate\Support\Facades\Facade __callStatic
/storage/framework/views/230a0b988fb8738438a64abcd04ee5f30e66be4e.php104
85
require
/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php107
84
Illuminate\Filesystem\Filesystem Illuminate\Filesystem\{closure}
/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php108
83
Illuminate\Filesystem\Filesystem getRequire
/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php58
82
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php61
81
Illuminate\View\Engines\CompilerEngine get
/vendor/laravel/framework/src/Illuminate/View/View.php139
80
Illuminate\View\View getContents
/vendor/botble/shortcode/src/View/View.php83
79
Botble\Shortcode\View\View renderContents
/vendor/laravel/framework/src/Illuminate/View/View.php91
78
Illuminate\View\View render
/vendor/botble/theme/src/Theme.php631
77
Botble\Theme\Theme loadPartial
/vendor/botble/theme/src/Theme.php611
76
Botble\Theme\Theme partial
/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php261
75
Illuminate\Support\Facades\Facade __callStatic
/storage/framework/views/a12777e5ea005f231a11180ec24979b9951c2305.php1
74
require
/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php107
73
Illuminate\Filesystem\Filesystem Illuminate\Filesystem\{closure}
/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php108
72
Illuminate\Filesystem\Filesystem getRequire
/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php58
71
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php61
70
Illuminate\View\Engines\CompilerEngine get
/vendor/laravel/framework/src/Illuminate/View/View.php139
69
Illuminate\View\View getContents
/vendor/botble/shortcode/src/View/View.php83
68
Botble\Shortcode\View\View renderContents
/vendor/laravel/framework/src/Illuminate/View/View.php91
67
Illuminate\View\View render
/vendor/botble/theme/src/Theme.php1008
66
Botble\Theme\Theme render
/vendor/botble/theme/src/Http/Controllers/PublicController.php86
65
Botble\Theme\Http\Controllers\PublicController getIndex
/platform/themes/ripple/src/Http/Controllers/RippleController.php19
64
Theme\Ripple\Http\Controllers\RippleController getIndex
/vendor/laravel/framework/src/Illuminate/Routing/Controller.php54
63
Illuminate\Routing\Controller callAction
/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php45
62
Illuminate\Routing\ControllerDispatcher dispatch
/vendor/laravel/framework/src/Illuminate/Routing/Route.php262
61
Illuminate\Routing\Route runController
/vendor/laravel/framework/src/Illuminate/Routing/Route.php205
60
Illuminate\Routing\Route run
/vendor/laravel/framework/src/Illuminate/Routing/Router.php721
59
Illuminate\Routing\Router Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php128
58
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/botble/platform/base/src/Http/Middleware/CoreMiddleware.php19
57
Botble\Base\Http\Middleware\CoreMiddleware handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
56
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/botble/platform/base/src/Http/Middleware/HttpsProtocolMiddleware.php23
55
Botble\Base\Http\Middleware\HttpsProtocolMiddleware handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
54
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/botble/platform/base/src/Http/Middleware/LocaleMiddleware.php39
53
Botble\Base\Http\Middleware\LocaleMiddleware handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
52
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/botble/optimize/src/Http/Middleware/PageSpeed.php28
51
Botble\Optimize\Http\Middleware\PageSpeed handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
50
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/botble/optimize/src/Http/Middleware/PageSpeed.php28
49
Botble\Optimize\Http\Middleware\PageSpeed handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
48
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/botble/optimize/src/Http/Middleware/PageSpeed.php28
47
Botble\Optimize\Http\Middleware\PageSpeed handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
46
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/botble/optimize/src/Http/Middleware/PageSpeed.php28
45
Botble\Optimize\Http\Middleware\PageSpeed handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
44
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/botble/optimize/src/Http/Middleware/PageSpeed.php28
43
Botble\Optimize\Http\Middleware\PageSpeed handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
42
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/botble/theme/src/Http/Middleware/AdminBarMiddleware.php48
41
Botble\Theme\Http\Middleware\AdminBarMiddleware handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
40
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php50
39
Illuminate\Routing\Middleware\SubstituteBindings handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
38
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php78
37
Illuminate\Foundation\Http\Middleware\VerifyCsrfToken handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
36
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php49
35
Illuminate\View\Middleware\ShareErrorsFromSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
34
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php121
33
Illuminate\Session\Middleware\StartSession handleStatefulRequest
/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php64
32
Illuminate\Session\Middleware\StartSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
31
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php37
30
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
29
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php67
28
Illuminate\Cookie\Middleware\EncryptCookies handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
27
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php103
26
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Routing/Router.php723
25
Illuminate\Routing\Router runRouteWithinStack
/vendor/laravel/framework/src/Illuminate/Routing/Router.php698
24
Illuminate\Routing\Router runRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php662
23
Illuminate\Routing\Router dispatchToRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php651
22
Illuminate\Routing\Router dispatch
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php167
21
Illuminate\Foundation\Http\Kernel Illuminate\Foundation\Http\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php128
20
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/botble/platform/js-validation/src/RemoteValidationMiddleware.php61
19
Botble\JsValidation\RemoteValidationMiddleware handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
18
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php21
17
Illuminate\Foundation\Http\Middleware\TransformsRequest handle
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php31
16
Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
15
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php21
14
Illuminate\Foundation\Http\Middleware\TransformsRequest handle
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php40
13
Illuminate\Foundation\Http\Middleware\TrimStrings handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
12
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php27
11
Illuminate\Foundation\Http\Middleware\ValidatePostSize handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
10
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php86
9
Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
8
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/fruitcake/laravel-cors/src/HandleCors.php38
7
Fruitcake\Cors\HandleCors handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
6
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php39
5
Illuminate\Http\Middleware\TrustProxies handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
4
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php103
3
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php142
2
Illuminate\Foundation\Http\Kernel sendRequestThroughRouter
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php111
1
Illuminate\Foundation\Http\Kernel handle
/public/index.php52
0
require_once
/server.php21
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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] [1045] Access denied for user 'tbnhwpnfry'@'localhost' (using password: YES) (SQL: select * from `menus` where `status` = published) (View: /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/platform/themes/ripple/partials/header.blade.php) (View: /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/platform/themes/ripple/partials/header.blade.php)"
    
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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();
        }
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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] [1045] Access denied for user 'tbnhwpnfry'@'localhost' (using password: YES) (SQL: select * from `menus` where `status` = published) (View: /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/platform/themes/ripple/partials/header.blade.php)"
    
Exception message: SQLSTATE[HY000] [1045] Access denied for user 'tbnhwpnfry'@'localhost' (using password: YES) (SQL: select * from `menus` where `status` = published) (View: /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/platform/themes/ripple/partials/header.blade.php)
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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();
        }
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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] [1045] Access denied for user 'tbnhwpnfry'@'localhost' (using password: YES) (SQL: select * from `menus` where `status` = published)"
    
Exception message: SQLSTATE[HY000] [1045] Access denied for user 'tbnhwpnfry'@'localhost' (using password: YES) (SQL: select * from `menus` where `status` = published)
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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] [1045] Access denied for user 'tbnhwpnfry'@'localhost' (using password: YES)"
    
Exception message: SQLSTATE[HY000] [1045] Access denied for user 'tbnhwpnfry'@'localhost' (using password: YES)
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php
 
    /**
     * Create a new PDO connection.
     *
     * @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)) {
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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;
    }
 
    /**
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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']);
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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
     */
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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
     */
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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)
    {
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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)
    {
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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
     */
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Database/Connection.php
     * @param  \Closure  $callback
     * @return mixed
     *
     * @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
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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.
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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();
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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;
        }
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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);
            }
        }
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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();
    }
 
    /**
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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);
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php
        $this->cache = new Cache(app('cache'), $cacheGroup ?? get_class($repository));
    }
 
    /**
     * @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;
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/platform/support/src/Repositories/Caches/CacheAbstractDecorator.php
        $this->cache = new Cache(app('cache'), $cacheGroup ?? get_class($repository));
    }
 
    /**
     * @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;
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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}
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/menu/src/Menu.php
 
    /**
     * Make sure data is loaded.
     *
     * @param boolean $force Force a reload of data. Default false.
     */
    public function load($force = false)
    {
        if (!$this->loaded || $force) {
            $this->data = $this->read();
            $this->loaded = true;
        }
    }
 
    /**
     * @return Collection
     */
    protected function read()
    {
        return $this->menuRepository->allBy(['status' => BaseStatusEnum::PUBLISHED], ['menuNodes', 'locations']);
    }
 
    /**
     * @param array $args
     * @return mixed|null|string
     * @throws Throwable
     */
    public function generateMenu(array $args = [])
    {
        $this->load();
 
        $view = Arr::get($args, 'view');
        $theme = Arr::get($args, 'theme', true);
 
        $menu = Arr::get($args, 'menu');
 
        $slug = Arr::get($args, 'slug');
        if (!$menu && !$slug) {
            return null;
        }
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/menu/src/Menu.php
            if (!in_array($location, $menu->locations->pluck('location')->all())) {
                continue;
            }
 
            $attributes['slug'] = $menu->slug;
            $html .= $this->generateMenu($attributes);
        }
 
        return $html;
    }
 
    /**
     * Make sure data is loaded.
     *
     * @param boolean $force Force a reload of data. Default false.
     */
    public function load($force = false)
    {
        if (!$this->loaded || $force) {
            $this->data = $this->read();
            $this->loaded = true;
        }
    }
 
    /**
     * @return Collection
     */
    protected function read()
    {
        return $this->menuRepository->allBy(['status' => BaseStatusEnum::PUBLISHED], ['menuNodes', 'locations']);
    }
 
    /**
     * @param array $args
     * @return mixed|null|string
     * @throws Throwable
     */
    public function generateMenu(array $args = [])
    {
        $this->load();
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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;
    }
 
    /**
     * Make sure data is loaded.
     *
     * @param boolean $force Force a reload of data. Default false.
     */
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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);
    }
}
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/storage/framework/views/230a0b988fb8738438a64abcd04ee5f30e66be4e.php
    <header data-sticky="false" data-sticky-checkpoint="200" data-responsive="991" class="page-header page-header--light">
        <div class="container">
            <!-- LOGO-->
            <div class="page-header__left">
                <a href="<?php echo e(route('public.single')); ?>" class="page-logo">
                    <?php if(theme_option('logo')): ?>
                        <img src="<?php echo e(RvMedia::getImageUrl(theme_option('logo'))); ?>" alt="<?php echo e(theme_option('site_title')); ?>" height="50">
                    <?php endif; ?>
                </a>
            </div>
            <div class="page-header__right">
                <!-- MOBILE MENU-->
                <div class="navigation-toggle navigation-toggle--dark" style="display: none"><span></span></div>
                <div class="pull-left">
                    <!-- SEARCH-->
                    <div class="search-btn c-search-toggler"><i class="fa fa-search close-search"></i></div>
                    <!-- NAVIGATION-->
                    <nav class="navigation navigation--light navigation--fade navigation--fadeLeft">
                        <?php echo Menu::renderMenuLocation('main-menu', [
                                'options' => ['class' => 'menu sub-menu--slideLeft'],
                                'view'    => 'main-menu',
                            ]); ?>
 
                    </nav>
                </div>
                <div class="clearfix"></div>
            </div>
            <div class="clearfix"></div>
        </div>
        <?php if(is_plugin_active('blog')): ?>
            <div class="super-search hide" data-search-url="<?php echo e(route('public.ajax.search')); ?>">
                <form class="quick-search" action="<?php echo e(route('public.search')); ?>">
                    <input type="text" name="q" placeholder="<?php echo e(__('Type to search...')); ?>" class="form-control search-input" autocomplete="off">
                    <span class="close-search">&times;</span>
                </form>
                <div class="search-result"></div>
            </div>
        <?php endif; ?>
    </header>
    <div id="page-wrap">
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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. "/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/storage/framework/views/230a0b988fb8738438a64abcd04ee5f30e66be4e.php"
    
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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;
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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();
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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);
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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;
    }
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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()
    {
        // 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;
    }
}
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/theme/src/Theme.php
    }
 
    /**
     * Load a partial
     *
     * @param string $view
     * @param string $partialDir
     * @param array $args
     * @return mixed
     * @throws UnknownPartialFileException
     */
    public function loadPartial(string $view, string $partialDir, array $args)
    {
        $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 mixed
     * @throws UnknownPartialFileException
     * @throws FileNotFoundException
     */
    public function watchPartial(string $view, array $args = [])
    {
        try {
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/theme/src/Theme.php
     */
    public function getLayoutName()
    {
        return $this->layout;
    }
 
    /**
     * Set up a partial.
     *
     * @param string $view
     * @param array $args
     * @return mixed
     * @throws UnknownPartialFileException
     * @throws FileNotFoundException
     */
    public function partial(string $view, array $args = [])
    {
        $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 mixed
     * @throws UnknownPartialFileException
     */
    public function loadPartial(string $view, string $partialDir, array $args)
    {
        $path = $partialDir . '.' . $view;
 
        if (!$this->view->exists($path)) {
            throw new UnknownPartialFileException('Partial view [' . $view . '] not found.');
        }
 
        $partial = $this->view->make($path, $args)->render();
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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);
    }
}
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/storage/framework/views/a12777e5ea005f231a11180ec24979b9951c2305.php
<?php echo Theme::partial('header'); ?>
 
<?php if(Theme::get('section-name')): ?>
    <section data-background="<?php echo e(Theme::get('breadcrumbBannerImage') ?: (theme_option('default_breadcrumb_banner_image') ? RvMedia::getImageUrl(theme_option('default_breadcrumb_banner_image')) : Theme::asset()->url('images/page-intro-02.jpg'))); ?>" class="section page-intro pt-100 pb-100 bg-cover">
        <div style="opacity: 0.7" class="bg-overlay"></div>
        <div class="container">
            <h3 class="page-intro__title"><?php echo e(Theme::get('section-name')); ?></h3>
            <?php echo Theme::breadcrumb()->render(); ?>
 
        </div>
    </section>
<?php endif; ?>
<?php echo Theme::content(); ?>
 
<?php echo Theme::partial('footer'); ?>
 
 
 
<?php /**PATH /home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/platform/themes/ripple/layouts/no-sidebar.blade.php ENDPATH**/ ?>
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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. "/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/storage/framework/views/a12777e5ea005f231a11180ec24979b9951c2305.php"
    
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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;
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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();
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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);
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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;
    }
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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()
    {
        // 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;
    }
}
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/theme/src/Theme.php
     * @throws FileNotFoundException
     */
    public function render($statusCode = 200)
    {
        // Fire the event before render.
        $this->fire('after', $this);
 
        // Flush asset that need to serve.
        $this->asset->flush();
 
        // Layout directory.
        $layoutDir = $this->getConfig('containerDir.layout');
 
        $path = $this->getThemeNamespace($layoutDir . '.' . $this->layout);
 
        if (!$this->view->exists($path)) {
            $this->handleViewNotFound($path);
        }
 
        $content = $this->view->make($path)->render();
 
        // Append status code to view.
        $content = new Response($content, $statusCode);
 
        // Having cookie set.
        if ($this->cookie) {
            $content->withCookie($this->cookie);
        }
 
        $content->withHeaders([
            'CMS-Version'       => '5.25.1',
            'Authorization-At'  => setting('membership_authorization_at'),
            'Activated-License' => !empty(setting('licensed_to')) ? 'Yes' : 'No',
        ]);
 
        return $content;
    }
 
    /**
     * @return string
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/theme/src/Http/Controllers/PublicController.php
            if ($homepageId) {
                $slug = SlugHelper::getSlug(null, SlugHelper::getPrefix(Page::class), Page::class, $homepageId);
 
                if ($slug) {
                    $data = (new PageService)->handleFrontRoutes($slug);
 
                    event(new RenderingSingleEvent($slug));
 
                    return Theme::scope($data['view'], $data['data'], $data['default_view'])->render();
                }
            }
        }
 
        SeoHelper::setTitle(theme_option('site_title'));
 
        Theme::breadcrumb()->add(__('Home'), route('public.index'));
 
        event(RenderingHomePageEvent::class);
 
        return Theme::scope('index')->render();
    }
 
    /**
     * @return string
     */
    public function getSiteMap()
    {
        event(RenderingSiteMapEvent::class);
 
        // show your site map (options: 'xml' (default), 'html', 'txt', 'ror-rss', 'ror-rdf')
        return SiteMapManager::render();
    }
}
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/platform/themes/ripple/src/Http/Controllers/RippleController.php
<?php
 
namespace Theme\Ripple\Http\Controllers;
 
use Botble\Base\Http\Responses\BaseHttpResponse;
use Botble\Blog\Repositories\Interfaces\PostInterface;
use Botble\Theme\Http\Controllers\PublicController;
use Illuminate\Contracts\Filesystem\FileNotFoundException;
use Illuminate\Http\Request;
use Theme;
 
class RippleController extends PublicController
{
    /**
     * {@inheritDoc}
     */
    public function getIndex()
    {
        return parent::getIndex();
    }
 
    /**
     * {@inheritDoc}
     */
    public function getView($key = null)
    {
        return parent::getView($key);
    }
 
    /**
     * {@inheritDoc}
     */
    public function getSiteMap()
    {
        return parent::getSiteMap();
    }
 
    /**
     * Search post
     *
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Routing/Controller.php
    /**
     * Get the middleware assigned to the controller.
     *
     * @return array
     */
    public function getMiddleware()
    {
        return $this->middleware;
    }
 
    /**
     * Execute an action on the controller.
     *
     * @param  string  $method
     * @param  array  $parameters
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function callAction($method, $parameters)
    {
        return $this->{$method}(...array_values($parameters));
    }
 
    /**
     * Handle calls to missing methods on the controller.
     *
     * @param  string  $method
     * @param  array  $parameters
     * @return mixed
     *
     * @throws \BadMethodCallException
     */
    public function __call($method, $parameters)
    {
        throw new BadMethodCallException(sprintf(
            'Method %s::%s does not exist.', static::class, $method
        ));
    }
}
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
    {
        $this->container = $container;
    }
 
    /**
     * Dispatch a request to a given controller and method.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  mixed  $controller
     * @param  string  $method
     * @return mixed
     */
    public function dispatch(Route $route, $controller, $method)
    {
        $parameters = $this->resolveClassMethodDependencies(
            $route->parametersWithoutNulls(), $controller, $method
        );
 
        if (method_exists($controller, 'callAction')) {
            return $controller->callAction($method, $parameters);
        }
 
        return $controller->{$method}(...array_values($parameters));
    }
 
    /**
     * Get the middleware for the controller instance.
     *
     * @param  \Illuminate\Routing\Controller  $controller
     * @param  string  $method
     * @return array
     */
    public function getMiddleware($controller, $method)
    {
        if (! method_exists($controller, 'getMiddleware')) {
            return [];
        }
 
        return collect($controller->getMiddleware())->reject(function ($data) use ($method) {
            return static::methodExcludedByOptions($method, $data['options']);
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Routing/Route.php
     * Determine if the route action is a serialized Closure.
     *
     * @return bool
     */
    protected function isSerializedClosure()
    {
        return RouteAction::containsSerializedClosure($this->action);
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     *
     * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
     */
    protected function runController()
    {
        return $this->controllerDispatcher()->dispatch(
            $this, $this->getController(), $this->getControllerMethod()
        );
    }
 
    /**
     * Get the controller instance for the route.
     *
     * @return mixed
     */
    public function getController()
    {
        if (! $this->controller) {
            $class = $this->parseControllerCallback()[0];
 
            $this->controller = $this->container->make(ltrim($class, '\\'));
        }
 
        return $this->controller;
    }
 
    /**
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Routing/Route.php
     *
     * @throws \UnexpectedValueException
     */
    protected function parseAction($action)
    {
        return RouteAction::parse($this->uri, $action);
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     */
    public function run()
    {
        $this->container = $this->container ?: new Container;
 
        try {
            if ($this->isControllerAction()) {
                return $this->runController();
            }
 
            return $this->runCallable();
        } catch (HttpResponseException $e) {
            return $e->getResponse();
        }
    }
 
    /**
     * Checks whether the route's action is a controller.
     *
     * @return bool
     */
    protected function isControllerAction()
    {
        return is_string($this->action['uses']) && ! $this->isSerializedClosure();
    }
 
    /**
     * Run the route action and return the response.
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Routing/Router.php
    /**
     * Run the given route within a Stack "onion" instance.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
                        ->then(function ($request) use ($route) {
                            return $this->prepareResponse(
                                $request, $route->run()
                            );
                        });
    }
 
    /**
     * Gather the middleware for the given route with resolved class names.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return array
     */
    public function gatherRouteMiddleware(Route $route)
    {
        $computedMiddleware = $route->gatherMiddleware();
 
        $excluded = collect($route->excludedMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten()->values()->all();
 
        $middleware = collect($computedMiddleware)->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
     * @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
     */
    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.
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/platform/base/src/Http/Middleware/CoreMiddleware.php
<?php
 
namespace Botble\Base\Http\Middleware;
 
use Closure;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
 
class CoreMiddleware
{
 
    /**
     * @param Request $request
     * @param Closure $next
     * @return RedirectResponse
     */
    public function handle($request, Closure $next)
    {
        return $next($request);
    }
}
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/platform/base/src/Http/Middleware/HttpsProtocolMiddleware.php
 
use Closure;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
 
class HttpsProtocolMiddleware
{
 
    /**
     * @param Request $request
     * @param Closure $next
     * @return RedirectResponse
     */
    public function handle($request, Closure $next)
    {
        if (!$request->secure() && config('core.base.general.enable_https_support', false)) {
            return redirect()->secure($request->getRequestUri());
        }
 
        return $next($request);
    }
}
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/platform/base/src/Http/Middleware/LocaleMiddleware.php
     * @param Application $application
     */
    public function __construct(Application $application)
    {
        $this->app = $application;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param Request $request
     * @param Closure $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $this->app->setLocale(config('app.locale'));
 
        if (!$request->session()->has('site-locale')) {
            return $next($request);
        }
 
        $sessionLocale = $request->session()->get('site-locale');
 
        if (array_key_exists($sessionLocale, Language::getAvailableLocales()) && is_in_admin()) {
            $this->app->setLocale($sessionLocale);
            $request->setLocale($sessionLocale);
        }
 
        return $next($request);
    }
}
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/optimize/src/Http/Middleware/PageSpeed.php
abstract class PageSpeed
{
    /**
     * Apply rules.
     *
     * @param string $buffer
     * @return string
     */
    abstract public function apply($buffer);
 
    /**
     * Handle an incoming request.
     *
     * @param Request $request
     * @param Closure $next
     * @return Response $response
     */
    public function handle($request, Closure $next)
    {
        $response = $next($request);
        if ($response instanceof Response) {
            if (!$this->shouldProcessPageSpeed($request)) {
                return $response;
            }
 
            $html = $response->getContent();
            $newContent = $this->apply($html);
 
            return $response->setContent($newContent);
        }
 
        return $response;
    }
 
    /**
     * Replace content response.
     *
     * @param array $replace
     * @param string $buffer
     * @return string
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/optimize/src/Http/Middleware/PageSpeed.php
abstract class PageSpeed
{
    /**
     * Apply rules.
     *
     * @param string $buffer
     * @return string
     */
    abstract public function apply($buffer);
 
    /**
     * Handle an incoming request.
     *
     * @param Request $request
     * @param Closure $next
     * @return Response $response
     */
    public function handle($request, Closure $next)
    {
        $response = $next($request);
        if ($response instanceof Response) {
            if (!$this->shouldProcessPageSpeed($request)) {
                return $response;
            }
 
            $html = $response->getContent();
            $newContent = $this->apply($html);
 
            return $response->setContent($newContent);
        }
 
        return $response;
    }
 
    /**
     * Replace content response.
     *
     * @param array $replace
     * @param string $buffer
     * @return string
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/optimize/src/Http/Middleware/PageSpeed.php
abstract class PageSpeed
{
    /**
     * Apply rules.
     *
     * @param string $buffer
     * @return string
     */
    abstract public function apply($buffer);
 
    /**
     * Handle an incoming request.
     *
     * @param Request $request
     * @param Closure $next
     * @return Response $response
     */
    public function handle($request, Closure $next)
    {
        $response = $next($request);
        if ($response instanceof Response) {
            if (!$this->shouldProcessPageSpeed($request)) {
                return $response;
            }
 
            $html = $response->getContent();
            $newContent = $this->apply($html);
 
            return $response->setContent($newContent);
        }
 
        return $response;
    }
 
    /**
     * Replace content response.
     *
     * @param array $replace
     * @param string $buffer
     * @return string
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/optimize/src/Http/Middleware/PageSpeed.php
abstract class PageSpeed
{
    /**
     * Apply rules.
     *
     * @param string $buffer
     * @return string
     */
    abstract public function apply($buffer);
 
    /**
     * Handle an incoming request.
     *
     * @param Request $request
     * @param Closure $next
     * @return Response $response
     */
    public function handle($request, Closure $next)
    {
        $response = $next($request);
        if ($response instanceof Response) {
            if (!$this->shouldProcessPageSpeed($request)) {
                return $response;
            }
 
            $html = $response->getContent();
            $newContent = $this->apply($html);
 
            return $response->setContent($newContent);
        }
 
        return $response;
    }
 
    /**
     * Replace content response.
     *
     * @param array $replace
     * @param string $buffer
     * @return string
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/optimize/src/Http/Middleware/PageSpeed.php
abstract class PageSpeed
{
    /**
     * Apply rules.
     *
     * @param string $buffer
     * @return string
     */
    abstract public function apply($buffer);
 
    /**
     * Handle an incoming request.
     *
     * @param Request $request
     * @param Closure $next
     * @return Response $response
     */
    public function handle($request, Closure $next)
    {
        $response = $next($request);
        if ($response instanceof Response) {
            if (!$this->shouldProcessPageSpeed($request)) {
                return $response;
            }
 
            $html = $response->getContent();
            $newContent = $this->apply($html);
 
            return $response->setContent($newContent);
        }
 
        return $response;
    }
 
    /**
     * Replace content response.
     *
     * @param array $replace
     * @param string $buffer
     * @return string
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/botble/theme/src/Http/Middleware/AdminBarMiddleware.php
     * @param Application $application
     * @param SettingStore $settingStore
     */
    public function __construct(Application $application, SettingStore $settingStore)
    {
        $this->app = $application;
        $this->settingStore = $settingStore;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param Request $request
     * @param Closure $next
     * @return mixed
     * @throws Throwable
     */
    public function handle($request, Closure $next)
    {
        $response = $next($request);
 
        if (!BaseHelper::getAdminPrefix()) {
            return $response;
        }
 
        if ($request->user() && admin_bar()->isDisplay()) {
            if (!!(int)$this->settingStore->get('show_admin_bar', 1) && $response instanceof Response) {
                $this->modifyResponse($request, $response);
            }
        }
 
        return $response;
    }
 
    /**
     * Modify the response and inject the admin bar
     *
     * @param Request $request
     * @param Response $response
     * @return Response
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        try {
            $this->router->substituteBindings($route = $request->route());
 
            $this->router->substituteImplicitBindings($route);
        } catch (ModelNotFoundException $exception) {
            if ($route->getMissing()) {
                return $route->getMissing()($request, $exception);
            }
 
            throw $exception;
        }
 
        return $next($request);
    }
}
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     *
     * @throws \Illuminate\Session\TokenMismatchException
     */
    public function handle($request, Closure $next)
    {
        if (
            $this->isReading($request) ||
            $this->runningUnitTests() ||
            $this->inExceptArray($request) ||
            $this->tokensMatch($request)
        ) {
            return tap($next($request), function ($response) use ($request) {
                if ($this->shouldAddXsrfTokenCookie()) {
                    $this->addCookieToResponse($request, $response);
                }
            });
        }
 
        throw new TokenMismatchException('CSRF token mismatch.');
    }
 
    /**
     * Determine if the HTTP request uses a ‘read’ verb.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return bool
     */
    protected function isReading($request)
    {
        return in_array($request->method(), ['HEAD', 'GET', 'OPTIONS']);
    }
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        // If the current session has an "errors" variable bound to it, we will share
        // its value with all view instances so the views can easily access errors
        // without having to bind. An empty bag is set when there aren't errors.
        $this->view->share(
            'errors', $request->session()->get('errors') ?: new ViewErrorBag
        );
 
        // Putting the errors in the view for every view allows the developer to just
        // assume that some errors are always available, which is convenient since
        // they don't have to continually run checks for the presence of errors.
 
        return $next($request);
    }
}
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
    /**
     * Handle the given request within session state.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Contracts\Session\Session  $session
     * @param  \Closure  $next
     * @return mixed
     */
    protected function handleStatefulRequest(Request $request, $session, Closure $next)
    {
        // If a session driver has been configured, we will need to start the session here
        // so that the data is ready for an application. Note that the Laravel sessions
        // do not make use of PHP "native" sessions in any way since they are crappy.
        $request->setLaravelSession(
            $this->startSession($request, $session)
        );
 
        $this->collectGarbage($session);
 
        $response = $next($request);
 
        $this->storeCurrentUrl($request, $session);
 
        $this->addCookieToResponse($response, $session);
 
        // Again, if the session has been configured we will need to close out the session
        // so that the attributes may be persisted to some storage medium. We will also
        // add the session identifier cookie to the application response headers now.
        $this->saveSession($request);
 
        return $response;
    }
 
    /**
     * Start the session for the given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Contracts\Session\Session  $session
     * @return \Illuminate\Contracts\Session\Session
     */
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if (! $this->sessionConfigured()) {
            return $next($request);
        }
 
        $session = $this->getSession($request);
 
        if ($this->manager->shouldBlock() ||
            ($request->route() instanceof Route && $request->route()->locksFor())) {
            return $this->handleRequestWhileBlocking($request, $session, $next);
        }
 
        return $this->handleStatefulRequest($request, $session, $next);
    }
 
    /**
     * Handle the given request within session state.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Contracts\Session\Session  $session
     * @param  \Closure  $next
     * @return mixed
     */
    protected function handleRequestWhileBlocking(Request $request, $session, Closure $next)
    {
        if (! $request->route() instanceof Route) {
            return;
        }
 
        $lockFor = $request->route() && $request->route()->locksFor()
                        ? $request->route()->locksFor()
                        : 10;
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php
     * Create a new CookieQueue instance.
     *
     * @param  \Illuminate\Contracts\Cookie\QueueingFactory  $cookies
     * @return void
     */
    public function __construct(CookieJar $cookies)
    {
        $this->cookies = $cookies;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $response = $next($request);
 
        foreach ($this->cookies->getQueuedCookies() as $cookie) {
            $response->headers->setCookie($cookie);
        }
 
        return $response;
    }
}
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php
     * Disable encryption for the given cookie name(s).
     *
     * @param  string|array  $name
     * @return void
     */
    public function disableFor($name)
    {
        $this->except = array_merge($this->except, (array) $name);
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function handle($request, Closure $next)
    {
        return $this->encrypt($next($this->decrypt($request)));
    }
 
    /**
     * Decrypt the cookies on the request.
     *
     * @param  \Symfony\Component\HttpFoundation\Request  $request
     * @return \Symfony\Component\HttpFoundation\Request
     */
    protected function decrypt(Request $request)
    {
        foreach ($request->cookies as $key => $cookie) {
            if ($this->isDisabled($key) || is_array($cookie)) {
                continue;
            }
 
            try {
                $value = $this->decryptCookie($key, $cookie);
 
                $hasValidPrefix = strpos($value, CookieValuePrefix::create($key, $this->encrypter->getKey())) === 0;
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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
     */
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
                        ->then(function ($request) use ($route) {
                            return $this->prepareResponse(
                                $request, $route->run()
                            );
                        });
    }
 
    /**
     * Gather the middleware for the given route with resolved class names.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return array
     */
    public function gatherRouteMiddleware(Route $route)
    {
        $computedMiddleware = $route->gatherMiddleware();
 
        $excluded = collect($route->excludedMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten()->values()->all();
 
        $middleware = collect($computedMiddleware)->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten()->reject(function ($name) use ($excluded) {
            if (empty($excluded)) {
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Routing/Router.php
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Routing\Route  $route
     * @return \Symfony\Component\HttpFoundation\Response
     */
    protected function runRoute(Request $request, Route $route)
    {
        $request->setRouteResolver(function () use ($route) {
            return $route;
        });
 
        $this->events->dispatch(new RouteMatched($route, $request));
 
        return $this->prepareResponse($request,
            $this->runRouteWithinStack($route, $request)
        );
    }
 
    /**
     * Run the given route within a Stack "onion" instance.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
 
        return $this->dispatchToRoute($request);
    }
 
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function dispatchToRoute(Request $request)
    {
        return $this->runRoute($request, $this->findRoute($request));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
    {
        $this->current = $route = $this->routes->match($request);
 
        $route->setContainer($this->container);
 
        $this->container->instance(Route::class, $route);
 
        return $route;
    }
 
    /**
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Routing/Router.php
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function respondWithRoute($name)
    {
        $route = tap($this->routes->getByName($name))->bind($this->currentRequest);
 
        return $this->runRoute($this->currentRequest, $route);
    }
 
    /**
     * Dispatch the request to the application.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function dispatch(Request $request)
    {
        $this->currentRequest = $request;
 
        return $this->dispatchToRoute($request);
    }
 
    /**
     * Dispatch the request to a route and return the response.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function dispatchToRoute(Request $request)
    {
        return $this->runRoute($request, $this->findRoute($request));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
     * @return void
     */
    public function bootstrap()
    {
        if (! $this->app->hasBeenBootstrapped()) {
            $this->app->bootstrapWith($this->bootstrappers());
        }
    }
 
    /**
     * Get the route dispatcher callback.
     *
     * @return \Closure
     */
    protected function dispatchToRouter()
    {
        return function ($request) {
            $this->app->instance('request', $request);
 
            return $this->router->dispatch($request);
        };
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Http\Response  $response
     * @return void
     */
    public function terminate($request, $response)
    {
        $this->terminateMiddleware($request, $response);
 
        $this->app->terminate();
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
     * @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
     */
    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.
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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());
    }
}
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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);
        }
    }
 
    /**
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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
     */
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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);
        }
    }
 
    /**
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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.
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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':
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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']
                );
    }
 
    /**
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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);
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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();
 
        if ($trustedIps === '*' || $trustedIps === '**') {
            return $this->setTrustedProxyIpAddressesToTheCallingIp($request);
        }
 
        $trustedIps = is_string($trustedIps)
                ? array_map('trim', explode(',', $trustedIps))
                : $trustedIps;
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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, []);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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
     */
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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()
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/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)
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/public/index.php
 
require __DIR__.'/../vendor/autoload.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';
 
$kernel = $app->make(Kernel::class);
 
$response = tap($kernel->handle(
    $request = Request::capture()
))->send();
 
$kernel->terminate($request, $response);
 
/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/server.php
 
/**
 * Laravel - A PHP Framework For Web Artisans
 *
 * @package  Laravel
 * @author   Taylor Otwell <taylor@laravel.com>
 */
 
$uri = urldecode(
    parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
 
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. This provides a convenient way to test a Laravel
// application without having installed a "real" web server software here.
if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) {
    return false;
}
 
require_once __DIR__.'/public/index.php';
 
Arguments
  1. "/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/public/index.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
USER
"sntumumjmu"
HOME
"/home/324178.cloudwaysapps.com/sntumumjmu"
SCRIPT_NAME
"/news/server.php"
REQUEST_URI
"/news/"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/news/"
REMOTE_PORT
"56704"
SCRIPT_FILENAME
"/home/324178.cloudwaysapps.com/sntumumjmu/public_html/news/server.php"
SERVER_ADMIN
"[no address given]"
CONTEXT_DOCUMENT_ROOT
"/home/324178.cloudwaysapps.com/sntumumjmu/public_html/"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"http"
DOCUMENT_ROOT
"/home/324178.cloudwaysapps.com/sntumumjmu/public_html/"
REMOTE_ADDR
"52.90.181.205"
SERVER_PORT
"80"
SERVER_ADDR
"127.0.0.1"
SERVER_NAME
"election.org"
SERVER_SOFTWARE
"Apache/2.4.58 (Debian)"
SERVER_SIGNATURE
"<address>Apache/2.4.58 (Debian) Server at election.org Port 80</address>\n"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
HTTP_CONNECTION
"close"
HTTP_X_VERSION
"524"
HTTP_X_APP_USER
"sntumumjmu"
HTTP_X_APPLICATION
"wordpressdefault"
HTTP_X_FORWARDED_HOST
"election.org"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_HOST
"election.org"
HTTP_X_FORWARDED_FOR
"52.90.181.205"
HTTP_X_REAL_IP
"52.90.181.205"
SCRIPT_URI
"http://election.org/news/"
SCRIPT_URL
"/news/"
HTTP_AUTHORIZATION
""
HTTPS
"on"
cw_allowed_ip
"0"
REDIRECT_STATUS
"200"
REDIRECT_SCRIPT_URI
"http://election.org/news/"
REDIRECT_SCRIPT_URL
"/news/"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_HTTPS
"on"
REDIRECT_cw_allowed_ip
"0"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/news/server.php"
REQUEST_TIME_FLOAT
1710820317.3587
REQUEST_TIME
1710820317
APP_NAME
"election news"
APP_DEBUG
"true"
APP_ENV
"production"
APP_URL
"https://election.org/news/"
APP_KEY
"***************************************************"
LOG_CHANNEL
"daily"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
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"
PAGE_USE_LANGUAGE_VERSION_2
"true"
BLOCK_USE_LANGUAGE_VERSION_2
"true"
GALLERY_USE_LANGUAGE_VERSION_2
"true"
Key Value
APP_NAME
"election news"
APP_DEBUG
"true"
APP_ENV
"production"
APP_URL
"https://election.org/news/"
APP_KEY
"***************************************************"
LOG_CHANNEL
"daily"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
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"
PAGE_USE_LANGUAGE_VERSION_2
"true"
BLOCK_USE_LANGUAGE_VERSION_2
"true"
GALLERY_USE_LANGUAGE_VERSION_2
"true"
0. Whoops\Handler\PrettyPageHandler