Illuminate \ Database \ QueryException (2002)
SQLSTATE[HY000] [2002] An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full. (SQL: select * from `c_m_logos` where `status` = 1 and `moderator_status` = 1 and `approval_status` = 1 and `c_m_logos`.`deleted_at` is null order by `id` desc limit 1)
Previous exceptions
  • SQLSTATE[HY000] [2002] An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full. (2002)
Illuminate\Database\QueryException thrown with message "SQLSTATE[HY000] [2002] An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full. (SQL: select * from `c_m_logos` where `status` = 1 and `moderator_status` = 1 and `approval_status` = 1 and `c_m_logos`.`deleted_at` is null order by `id` desc limit 1)" Stacktrace: #61 Illuminate\Database\QueryException in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Connection.php:664 #60 App\Http\Controllers\HomeController:__construct in [internal]:0 #59 PDOException in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70 #58 PDO:__construct in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70 #57 Illuminate\Database\Connectors\Connector:createPdoConnection in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:46 #56 Illuminate\Database\Connectors\Connector:createConnection in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Connectors\MySqlConnector.php:24 #55 Illuminate\Database\Connectors\MySqlConnector:connect in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Connectors\ConnectionFactory.php:182 #54 Illuminate\Database\Connectors\ConnectionFactory:Illuminate\Database\Connectors\{closure} in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Connection.php:918 #53 call_user_func in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Connection.php:918 #52 Illuminate\Database\Connection:getPdo in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Connection.php:943 #51 Illuminate\Database\Connection:getReadPdo in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Connection.php:399 #50 Illuminate\Database\Connection:getPdoForSelect in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Connection.php:325 #49 Illuminate\Database\Connection:Illuminate\Database\{closure} in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Connection.php:657 #48 Illuminate\Database\Connection:runQueryCallback in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Connection.php:624 #47 Illuminate\Database\Connection:run in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Connection.php:333 #46 Illuminate\Database\Connection:select in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php:2082 #45 Illuminate\Database\Query\Builder:runSelect in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php:2070 #44 Illuminate\Database\Query\Builder:Illuminate\Database\Query\{closure} in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php:2556 #43 Illuminate\Database\Query\Builder:onceWithColumns in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php:2071 #42 Illuminate\Database\Query\Builder:get in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Builder.php:516 #41 Illuminate\Database\Eloquent\Builder:getModels in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Builder.php:500 #40 Illuminate\Database\Eloquent\Builder:get in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Concerns\BuildsQueries.php:77 #39 Illuminate\Database\Eloquent\Builder:first in C:\wamp64\www\covid19.karnataka.gov.in\app\Facades\CommonAppFun.php:27 #38 App\Facades\CommonAppFun:getPageContents in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php:237 #37 Illuminate\Support\Facades\Facade:__callStatic in C:\wamp64\www\covid19.karnataka.gov.in\app\Http\Controllers\HomeController.php:49 #36 App\Http\Controllers\HomeController:__construct in [internal]:0 #35 ReflectionClass:newInstanceArgs in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Container\Container.php:812 #34 Illuminate\Container\Container:build in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Container\Container.php:658 #33 Illuminate\Container\Container:resolve in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Container\Container.php:609 #32 Illuminate\Container\Container:make in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Foundation\Application.php:735 #31 Illuminate\Foundation\Application:make in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Route.php:226 #30 Illuminate\Routing\Route:getController in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Route.php:796 #29 Illuminate\Routing\Route:controllerMiddleware in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Route.php:757 #28 Illuminate\Routing\Route:gatherMiddleware in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Router.php:695 #27 Illuminate\Routing\Router:gatherRouteMiddleware in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Router.php:675 #26 Illuminate\Routing\Router:runRouteWithinStack in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Router.php:659 #25 Illuminate\Routing\Router:runRoute in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Router.php:625 #24 Illuminate\Routing\Router:dispatchToRoute in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Router.php:614 #23 Illuminate\Routing\Router:dispatch in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php:176 #22 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:30 #21 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in C:\wamp64\www\covid19.karnataka.gov.in\app\Http\Middleware\SecureHeaders.php:18 #20 App\Http\Middleware\SecureHeaders:handle in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:151 #19 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53 #18 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in C:\wamp64\www\covid19.karnataka.gov.in\vendor\fideloper\proxy\src\TrustProxies.php:57 #17 Fideloper\Proxy\TrustProxies:handle in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:151 #16 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53 #15 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php:31 #14 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:151 #13 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53 #12 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php:31 #11 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:151 #10 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53 #9 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\ValidatePostSize.php:27 #8 Illuminate\Foundation\Http\Middleware\ValidatePostSize:handle in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:151 #7 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53 #6 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode.php:62 #5 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode:handle in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:151 #4 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53 #3 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:104 #2 Illuminate\Pipeline\Pipeline:then in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php:151 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php:116 #0 Illuminate\Foundation\Http\Kernel:handle in C:\wamp64\www\covid19.karnataka.gov.in\public\index.php:47
61
Illuminate
\
Database
\
QueryException
…\vendor\laravel\framework\src\Illuminate\Database\Connection.php
664
60
App
\
Http
\
Controllers
\
HomeController
__construct
[internal]
0
59
PDOException
…\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php
70
58
PDO
__construct
…\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php
70
57
Illuminate
\
Database
\
Connectors
\
Connector
createPdoConnection
…\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php
46
56
Illuminate
\
Database
\
Connectors
\
Connector
createConnection
…\vendor\laravel\framework\src\Illuminate\Database\Connectors\MySqlConnector.php
24
55
Illuminate
\
Database
\
Connectors
\
MySqlConnector
connect
…\vendor\laravel\framework\src\Illuminate\Database\Connectors\ConnectionFactory.php
182
54
Illuminate
\
Database
\
Connectors
\
ConnectionFactory
Illuminate
\
Database
\
Connectors
\
{closure}
…\vendor\laravel\framework\src\Illuminate\Database\Connection.php
918
53
call_user_func
…\vendor\laravel\framework\src\Illuminate\Database\Connection.php
918
52
Illuminate
\
Database
\
Connection
getPdo
…\vendor\laravel\framework\src\Illuminate\Database\Connection.php
943
51
Illuminate
\
Database
\
Connection
getReadPdo
…\vendor\laravel\framework\src\Illuminate\Database\Connection.php
399
50
Illuminate
\
Database
\
Connection
getPdoForSelect
…\vendor\laravel\framework\src\Illuminate\Database\Connection.php
325
49
Illuminate
\
Database
\
Connection
Illuminate
\
Database
\
{closure}
…\vendor\laravel\framework\src\Illuminate\Database\Connection.php
657
48
Illuminate
\
Database
\
Connection
runQueryCallback
…\vendor\laravel\framework\src\Illuminate\Database\Connection.php
624
47
Illuminate
\
Database
\
Connection
run
…\vendor\laravel\framework\src\Illuminate\Database\Connection.php
333
46
Illuminate
\
Database
\
Connection
select
…\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php
2082
45
Illuminate
\
Database
\
Query
\
Builder
runSelect
…\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php
2070
44
Illuminate
\
Database
\
Query
\
Builder
Illuminate
\
Database
\
Query
\
{closure}
…\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php
2556
43
Illuminate
\
Database
\
Query
\
Builder
onceWithColumns
…\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php
2071
42
Illuminate
\
Database
\
Query
\
Builder
get
…\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Builder.php
516
41
Illuminate
\
Database
\
Eloquent
\
Builder
getModels
…\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Builder.php
500
40
Illuminate
\
Database
\
Eloquent
\
Builder
get
…\vendor\laravel\framework\src\Illuminate\Database\Concerns\BuildsQueries.php
77
39
Illuminate
\
Database
\
Eloquent
\
Builder
first
…\app\Facades\CommonAppFun.php
27
38
App
\
Facades
\
CommonAppFun
getPageContents
…\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php
237
37
Illuminate
\
Support
\
Facades
\
Facade
__callStatic
…\app\Http\Controllers\HomeController.php
49
36
App
\
Http
\
Controllers
\
HomeController
__construct
[internal]
0
35
ReflectionClass
newInstanceArgs
…\vendor\laravel\framework\src\Illuminate\Container\Container.php
812
34
Illuminate
\
Container
\
Container
build
…\vendor\laravel\framework\src\Illuminate\Container\Container.php
658
33
Illuminate
\
Container
\
Container
resolve
…\vendor\laravel\framework\src\Illuminate\Container\Container.php
609
32
Illuminate
\
Container
\
Container
make
…\vendor\laravel\framework\src\Illuminate\Foundation\Application.php
735
31
Illuminate
\
Foundation
\
Application
make
…\vendor\laravel\framework\src\Illuminate\Routing\Route.php
226
30
Illuminate
\
Routing
\
Route
getController
…\vendor\laravel\framework\src\Illuminate\Routing\Route.php
796
29
Illuminate
\
Routing
\
Route
controllerMiddleware
…\vendor\laravel\framework\src\Illuminate\Routing\Route.php
757
28
Illuminate
\
Routing
\
Route
gatherMiddleware
…\vendor\laravel\framework\src\Illuminate\Routing\Router.php
695
27
Illuminate
\
Routing
\
Router
gatherRouteMiddleware
…\vendor\laravel\framework\src\Illuminate\Routing\Router.php
675
26
Illuminate
\
Routing
\
Router
runRouteWithinStack
…\vendor\laravel\framework\src\Illuminate\Routing\Router.php
659
25
Illuminate
\
Routing
\
Router
runRoute
…\vendor\laravel\framework\src\Illuminate\Routing\Router.php
625
24
Illuminate
\
Routing
\
Router
dispatchToRoute
…\vendor\laravel\framework\src\Illuminate\Routing\Router.php
614
23
Illuminate
\
Routing
\
Router
dispatch
…\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php
176
22
Illuminate
\
Foundation
\
Http
\
Kernel
Illuminate
\
Foundation
\
Http
\
{closure}
…\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php
30
21
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
…\app\Http\Middleware\SecureHeaders.php
18
20
App
\
Http
\
Middleware
\
SecureHeaders
handle
…\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php
151
19
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
…\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php
53
18
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
…\vendor\fideloper\proxy\src\TrustProxies.php
57
17
Fideloper
\
Proxy
\
TrustProxies
handle
…\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php
151
16
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
…\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php
53
15
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
…\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php
31
14
Illuminate
\
Foundation
\
Http
\
Middleware
\
TransformsRequest
handle
…\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php
151
13
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
…\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php
53
12
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
…\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php
31
11
Illuminate
\
Foundation
\
Http
\
Middleware
\
TransformsRequest
handle
…\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php
151
10
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
…\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php
53
9
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
…\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\ValidatePostSize.php
27
8
Illuminate
\
Foundation
\
Http
\
Middleware
\
ValidatePostSize
handle
…\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php
151
7
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
…\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php
53
6
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
…\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode.php
62
5
Illuminate
\
Foundation
\
Http
\
Middleware
\
CheckForMaintenanceMode
handle
…\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php
151
4
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
…\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php
53
3
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
…\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php
104
2
Illuminate
\
Pipeline
\
Pipeline
then
…\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php
151
1
Illuminate
\
Foundation
\
Http
\
Kernel
sendRequestThroughRouter
…\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php
116
0
Illuminate
\
Foundation
\
Http
\
Kernel
handle
…\public\index.php
47
C:\wamp64\www\covid19.karnataka.gov.in\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 {
            $result = $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
            );
        }
 
        return $result;
    }
 
    /**
     * 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) {
Arguments
  1. """
    SQLSTATE[HY000] [2002] An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.\r\n
     (SQL: select * from `c_m_logos` where `status` = 1 and `moderator_status` = 1 and `approval_status` = 1 and `c_m_logos`.`deleted_at` is null order by `id` desc limit 1)
    """
    
[internal]
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php
            );
        }
    }
 
    /**
     * Create a new PDO connection instance.
     *
     * @param  string  $dsn
     * @param  string  $username
     * @param  string  $password
     * @param  array  $options
     * @return \PDO
     */
    protected function createPdoConnection($dsn, $username, $password, $options)
    {
        if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
            return new PDOConnection($dsn, $username, $password, $options);
        }
 
        return new PDO($dsn, $username, $password, $options);
    }
 
    /**
     * Determine if the connection is persistent.
     *
     * @param  array  $options
     * @return bool
     */
    protected function isPersistentConnection($options)
    {
        return isset($options[PDO::ATTR_PERSISTENT]) &&
               $options[PDO::ATTR_PERSISTENT];
    }
 
    /**
     * Handle an exception that occurred during connect execution.
     *
     * @param  \Throwable  $e
     * @param  string  $dsn
     * @param  string  $username
Arguments
  1. "SQLSTATE[HY000] [2002] An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.\r\n"
    
Exception message: SQLSTATE[HY000] [2002] An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.
C:\wamp64\www\covid19.karnataka.gov.in\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. "mysql:host=172.31.36.50;port=3306;dbname=covid_v13"
    
  2. "root"
    
  3. "mysql"
    
  4. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
C:\wamp64\www\covid19.karnataka.gov.in\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)) {
Arguments
  1. "mysql:host=172.31.36.50;port=3306;dbname=covid_v13"
    
  2. "root"
    
  3. "mysql"
    
  4. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
C:\wamp64\www\covid19.karnataka.gov.in\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->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;
    }
 
    /**
     * Set the connection character set and collation.
     *
Arguments
  1. "mysql:host=172.31.36.50;port=3306;dbname=covid_v13"
    
  2. array:13 [
      "driver" => "mysql"
      "host" => "172.31.36.50"
      "port" => "3306"
      "database" => "covid_v13"
      "username" => "root"
      "password" => "mysql"
      "unix_socket" => ""
      "charset" => "utf8mb4"
      "collation" => "utf8mb4_unicode_ci"
      "prefix" => ""
      "strict" => false
      "engine" => null
      "name" => "mysql"
    ]
    
  3. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Connectors\ConnectionFactory.php
    {
        return array_key_exists('host', $config)
                            ? $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
     */
    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
     */
    protected function parseHosts(array $config)
    {
        $hosts = Arr::wrap($config['host']);
 
        if (empty($hosts)) {
Arguments
  1. array:13 [
      "driver" => "mysql"
      "host" => "172.31.36.50"
      "port" => "3306"
      "database" => "covid_v13"
      "username" => "root"
      "password" => "mysql"
      "unix_socket" => ""
      "charset" => "utf8mb4"
      "collation" => "utf8mb4_unicode_ci"
      "prefix" => ""
      "strict" => false
      "engine" => null
      "name" => "mysql"
    ]
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Connection.php
 
            $this->doctrineConnection = new DoctrineConnection([
                'pdo' => $this->getPdo(),
                'dbname' => $this->getConfig('database'),
                'driver' => $driver->getName(),
            ], $driver);
        }
 
        return $this->doctrineConnection;
    }
 
    /**
     * 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 used for reading.
     *
     * @return \PDO
     */
    public function getReadPdo()
    {
        if ($this->transactions > 0) {
            return $this->getPdo();
        }
 
        if ($this->recordsModified && $this->getConfig('sticky')) {
            return $this->getPdo();
        }
 
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Connection.php
 
            $this->doctrineConnection = new DoctrineConnection([
                'pdo' => $this->getPdo(),
                'dbname' => $this->getConfig('database'),
                'driver' => $driver->getName(),
            ], $driver);
        }
 
        return $this->doctrineConnection;
    }
 
    /**
     * 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 used for reading.
     *
     * @return \PDO
     */
    public function getReadPdo()
    {
        if ($this->transactions > 0) {
            return $this->getPdo();
        }
 
        if ($this->recordsModified && $this->getConfig('sticky')) {
            return $this->getPdo();
        }
 
Arguments
  1. Closure() {#148 …5}
    
C:\wamp64\www\covid19.karnataka.gov.in\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->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();
    }
 
    /**
     * Set the PDO connection.
     *
     * @param  \PDO|\Closure|null  $pdo
     * @return $this
     */
    public function setPdo($pdo)
    {
        $this->transactions = 0;
 
        $this->pdo = $pdo;
 
        return $this;
    }
 
    /**
     * Set the PDO connection used for reading.
     *
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Connection.php
    protected function prepared(PDOStatement $statement)
    {
        $statement->setFetchMode($this->fetchMode);
 
        $this->event(new Events\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
C:\wamp64\www\covid19.karnataka.gov.in\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)
    {
Arguments
  1. true
    
C:\wamp64\www\covid19.karnataka.gov.in\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 {
            $result = $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
            );
        }
 
        return $result;
    }
 
    /**
     * Log a query in the connection's query log.
     *
     * @param  string  $query
     * @param  array   $bindings
     * @param  float|null  $time
Arguments
  1. "select * from `c_m_logos` where `status` = ? and `moderator_status` = ? and `approval_status` = ? and `c_m_logos`.`deleted_at` is null order by `id` desc limit 1"
    
  2. array:3 [
      0 => 1
      1 => 1
      2 => 1
    ]
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Connection.php
     * Run a SQL statement and log its execution context.
     *
     * @param  string    $query
     * @param  array     $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function run($query, $bindings, Closure $callback)
    {
        $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
Arguments
  1. "select * from `c_m_logos` where `status` = ? and `moderator_status` = ? and `approval_status` = ? and `c_m_logos`.`deleted_at` is null order by `id` desc limit 1"
    
  2. array:3 [
      0 => 1
      1 => 1
      2 => 1
    ]
    
  3. Closure($query, $bindings) {#850 …6}
    
C:\wamp64\www\covid19.karnataka.gov.in\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.
Arguments
  1. "select * from `c_m_logos` where `status` = ? and `moderator_status` = ? and `approval_status` = ? and `c_m_logos`.`deleted_at` is null order by `id` desc limit 1"
    
  2. array:3 [
      0 => 1
      1 => 1
      2 => 1
    ]
    
  3. Closure($query, $bindings) {#850 …6}
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php
     *
     * @param  array  $columns
     * @return \Illuminate\Support\Collection
     */
    public function get($columns = ['*'])
    {
        return collect($this->onceWithColumns($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($columns);
 
        $results = $total ? $this->forPage($page, $perPage)->get($columns) : collect();
 
Arguments
  1. "select * from `c_m_logos` where `status` = ? and `moderator_status` = ? and `approval_status` = ? and `c_m_logos`.`deleted_at` is null order by `id` desc limit 1"
    
  2. array:3 [
      0 => 1
      1 => 1
      2 => 1
    ]
    
  3. true
    
C:\wamp64\www\covid19.karnataka.gov.in\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  $columns
     * @return \Illuminate\Support\Collection
     */
    public function get($columns = ['*'])
    {
        return collect($this->onceWithColumns($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
C:\wamp64\www\covid19.karnataka.gov.in\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 a new record 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;
        }
C:\wamp64\www\covid19.karnataka.gov.in\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  $columns
     * @return \Illuminate\Support\Collection
     */
    public function get($columns = ['*'])
    {
        return collect($this->onceWithColumns($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
Arguments
  1. array:1 [
      0 => "*"
    ]
    
  2. Closure() {#843 …4}
    
C:\wamp64\www\covid19.karnataka.gov.in\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  $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);
            }
        }
 
Arguments
  1. array:1 [
      0 => "*"
    ]
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Builder.php
    {
        if ($result = $this->first([$column])) {
            return $result->{$column};
        }
    }
 
    /**
     * Execute the query as a "select" statement.
     *
     * @param  array  $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  $columns
     * @return \Illuminate\Database\Eloquent\Model[]|static[]
     */
    public function getModels($columns = ['*'])
    {
        return $this->model->hydrate(
            $this->query->get($columns)->all()
        )->all();
    }
 
    /**
Arguments
  1. array:1 [
      0 => "*"
    ]
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Database\Concerns\BuildsQueries.php
    public function each(callable $callback, $count = 1000)
    {
        return $this->chunk($count, function ($results) use ($callback) {
            foreach ($results as $key => $value) {
                if ($callback($value, $key) === false) {
                    return false;
                }
            }
        });
    }
 
    /**
     * Execute the query and get the first result.
     *
     * @param  array  $columns
     * @return \Illuminate\Database\Eloquent\Model|object|static|null
     */
    public function first($columns = ['*'])
    {
        return $this->take(1)->get($columns)->first();
    }
 
    /**
     * Apply the callback's query changes if the given "value" is true.
     *
     * @param  mixed  $value
     * @param  callable  $callback
     * @param  callable  $default
     * @return mixed|$this
     */
    public function when($value, $callback, $default = null)
    {
        if ($value) {
            return $callback($this, $value) ?: $this;
        } elseif ($default) {
            return $default($this, $value) ?: $this;
        }
 
        return $this;
    }
Arguments
  1. array:1 [
      0 => "*"
    ]
    
C:\wamp64\www\covid19.karnataka.gov.in\app\Facades\CommonAppFun.php
use App\SliderShow;
use App\HotNews;
use App\District;
use App\Taluk;
use App\CenterLogo;
use App\AddMenu;
use App\PublicFeedback;
use DB;
use URL;
use File;
use Storage;
use App\Tracker;
use App\UserLoginLog;
 
class CommonAppFun
{
    //   
 
    public static function getPageContents(){
        $headerImg = CMLogo::where('status',1)->where('moderator_status',1)->where('approval_status',1)->orderBy('id','DESC')->first();
        $centerImg = CenterLogo::where('status',1)->where('moderator_status',1)->where('approval_status',1)->orderBy('id','DESC')->first();
        $deptImg = DeptLogo::where('status',1)->where('moderator_status',1)->where('approval_status',1)->orderBy('id','DESC')->first();
        $sliders = SliderShow::where('status',1)->where('moderator_status',1)->where('approval_status',1)->get();
        $news = HotNews::where('status',1)->where('moderator_status',1)->where('approval_status',1)->orderBy('id','DESC')->get();
 
        $menus = DB::select("SELECT id,name,page,links,en_name,sub_sub_menu,sub_sub_menu,level,if(sub_sub_menu is null,GROUP_CONCAT(if(sub_sub_menu is null,sub_menu,null),'$$',if(sub_menu is null, null, links),'$$',en_sub_menu ORDER BY if(sub_menu_order = 0,created_at,sub_menu_order) ASC),null) as sub_menu FROM add_menus where status = 1 and moderator_status =1 and approval_status = 1 and deleted_at IS NULL GROUP bY name ORDER BY menu_order ASC"); 
 
        $subSubMenu = DB::select("SELECT id,name,en_name,sub_menu,level,GROUP_CONCAT(sub_sub_menu,'$$',if(sub_sub_menu is null, null, links),'$$',en_sub_sub_menu SEPARATOR ',') as sub_sub_menu FROM add_menus where status = 1 and moderator_status =1 and approval_status = 1 and deleted_at IS NULL GROUP bY if(sub_sub_menu is null, null, sub_menu) ORDER BY menu_order ASC");
 
        $menus = array('menus' => $menus,'subSubMenu' => $subSubMenu);
           
        $info1 = DB::select("SELECT id,name,page,links,en_name, CONCAT( GROUP_CONCAT(sub_menu,'$$',if(sub_menu is null, null, links),'$$',en_sub_menu ORDER BY if(sub_menu_order = 0,created_at,sub_menu_order) ASC) ) as sub_menu FROM info_box1s where status = 1 and moderator_status =1 and approval_status = 1 and deleted_at IS NULL  GROUP BY name ORDER BY IF(sub_menu is NULL, IF(menu_order is NULL,id,menu_order),null) ASC");
 
        $info2 = DB::select("SELECT id,name,page,links,en_name, CONCAT( GROUP_CONCAT(sub_menu,'$$',if(sub_menu is null, null, links),'$$',en_sub_menu ORDER BY if(sub_menu_order = 0,created_at,sub_menu_order) ASC) ) as sub_menu FROM info_box2s where status = 1 and moderator_status =1 and approval_status = 1 and deleted_at IS NULL  GROUP BY name ORDER BY IF(sub_menu is NULL, IF(menu_order is NULL,id,menu_order),null) ASC");
 
        $info3 = DB::select("SELECT id,name,page,links,en_name, CONCAT( GROUP_CONCAT(sub_menu,'$$',if(sub_menu is null, null, links),'$$',en_sub_menu ORDER BY if(sub_menu_order = 0,created_at,sub_menu_order) ASC) ) as sub_menu FROM info_box3s where status = 1 and moderator_status =1 and approval_status = 1 and  deleted_at IS NULL  GROUP BY name ORDER BY IF(sub_menu is NULL, IF(menu_order is NULL,id,menu_order),null) ASC");
 
        $info4 = DB::select("SELECT id,name,page,links,updated_at,en_name, CONCAT( GROUP_CONCAT(sub_menu,'$$',if(sub_menu is null, null, links),'$$',en_sub_menu ORDER BY if(sub_menu_order = 0,created_at,sub_menu_order) ASC) ) as sub_menu FROM info_box4s where status = 1 and moderator_status =1 and approval_status = 1 and deleted_at IS NULL  GROUP BY name ORDER BY IF(sub_menu is NULL, IF(menu_order is NULL,id,menu_order),null) ASC");
 
        return ['headerImg' => $headerImg,'deptImg' => $deptImg,'sliders' => $sliders,'news' => $news,'menus' => array_merge($menus),'info4' => $info4,'info1' => $info1,'info3' => $info3,'info2' => $info2,'centerImg' => $centerImg];
C:\wamp64\www\covid19.karnataka.gov.in\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);
    }
}
 
C:\wamp64\www\covid19.karnataka.gov.in\app\Http\Controllers\HomeController.php
use App\AddPages;
use Response;
use Session;
use App\Tracker;
use Mail;
use Redirect;
use App\CountCase;
 
class HomeController extends Controller
{
    private $pageContent; 
    /**
     * Create a new controller instance.
     *
     * @return void
     */
    public function __construct()
    {
       // $this->middleware('auth');
        $this->pageContent = CommonAppFacaders::getPageContents();
 
         $this->pageEnContent = CommonAppFacaders::getEnPageContents();
    }
    
    /**
     * Show the application dashboard.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
        if(Auth::check()){
 
            // $isProfileUpdated = User::where('id',Auth::user()->id)->select('mobile','email','name')->first();
 
           //Session::forget('upProfile');
            // if ($isProfileUpdated->email == 'admin@admin.com' || $isProfileUpdated->email == 'creator@m.com' || $isProfileUpdated->email == 'moderator@m.com' || $isProfileUpdated->name == 'Mahantesh Kumbar' || $isProfileUpdated->mobile == null || $isProfileUpdated->email == 'approver@m.com') {
            //     # code...
            //     Session::put('upProfile', 1);
            // }
Arguments
  1. "getPageContents"
    
  2. []
    
[internal]
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Container\Container.php
        // we can just resolve the instances of the objects right away, without
        // resolving any other types or dependencies out of these containers.
        if (is_null($constructor)) {
            array_pop($this->buildStack);
 
            return new $concrete;
        }
 
        $dependencies = $constructor->getParameters();
 
        // Once we have all the constructor's parameters we can create each of the
        // dependency instances and then use the reflection instances to make a
        // new instance of this class, injecting the created dependencies in.
        $instances = $this->resolveDependencies(
            $dependencies
        );
 
        array_pop($this->buildStack);
 
        return $reflector->newInstanceArgs($instances);
    }
 
    /**
     * Resolve all of the dependencies from the ReflectionParameters.
     *
     * @param  array  $dependencies
     * @return array
     */
    protected function resolveDependencies(array $dependencies)
    {
        $results = [];
 
        foreach ($dependencies as $dependency) {
            // If this dependency has a override for this particular build we will use
            // that instead as the value. Otherwise, we will continue with this run
            // of resolutions and let reflection attempt to determine the result.
            if ($this->hasParameterOverride($dependency)) {
                $results[] = $this->getParameterOverride($dependency);
 
                continue;
Arguments
  1. []
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Container\Container.php
        $needsContextualBuild = ! empty($parameters) || ! is_null(
            $this->getContextualConcrete($abstract)
        );
 
        // If an instance of the type is currently being managed as a singleton we'll
        // just return an existing instance instead of instantiating new instances
        // so the developer can keep using the same objects instance every time.
        if (isset($this->instances[$abstract]) && ! $needsContextualBuild) {
            return $this->instances[$abstract];
        }
 
        $this->with[] = $parameters;
 
        $concrete = $this->getConcrete($abstract);
 
        // We're ready to instantiate an instance of the concrete type registered for
        // the binding. This will instantiate the types, as well as resolve any of
        // its "nested" dependencies recursively until all have gotten resolved.
        if ($this->isBuildable($concrete, $abstract)) {
            $object = $this->build($concrete);
        } else {
            $object = $this->make($concrete);
        }
 
        // If we defined any extenders for this type, we'll need to spin through them
        // and apply them to the object being built. This allows for the extension
        // of services, such as changing configuration or decorating the object.
        foreach ($this->getExtenders($abstract) as $extender) {
            $object = $extender($object, $this);
        }
 
        // If the requested type is registered as a singleton we'll want to cache off
        // the instances in "memory" so we can return it later without creating an
        // entirely new instance of an object on each subsequent request for it.
        if ($this->isShared($abstract) && ! $needsContextualBuild) {
            $this->instances[$abstract] = $object;
        }
 
        $this->fireResolvingCallbacks($abstract, $object);
 
Arguments
  1. "App\Http\Controllers\HomeController"
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Container\Container.php
     *
     * @param  string  $abstract
     * @param  array  $parameters
     * @return mixed
     */
    public function makeWith($abstract, array $parameters = [])
    {
        return $this->make($abstract, $parameters);
    }
 
    /**
     * Resolve the given type from the container.
     *
     * @param  string  $abstract
     * @param  array  $parameters
     * @return mixed
     */
    public function make($abstract, array $parameters = [])
    {
        return $this->resolve($abstract, $parameters);
    }
 
    /**
     *  {@inheritdoc}
     */
    public function get($id)
    {
        try {
            return $this->resolve($id);
        } catch (Exception $e) {
            if ($this->has($id)) {
                throw $e;
            }
 
            throw new EntryNotFoundException;
        }
    }
 
    /**
     * Resolve the given type from the container.
Arguments
  1. "App\Http\Controllers\HomeController"
    
  2. []
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Foundation\Application.php
    }
 
    /**
     * Resolve the given type from the container.
     *
     * (Overriding Container::make)
     *
     * @param  string  $abstract
     * @param  array  $parameters
     * @return mixed
     */
    public function make($abstract, array $parameters = [])
    {
        $abstract = $this->getAlias($abstract);
 
        if (isset($this->deferredServices[$abstract]) && ! isset($this->instances[$abstract])) {
            $this->loadDeferredProvider($abstract);
        }
 
        return parent::make($abstract, $parameters);
    }
 
    /**
     * Determine if the given abstract type has been bound.
     *
     * (Overriding Container::bound)
     *
     * @param  string  $abstract
     * @return bool
     */
    public function bound($abstract)
    {
        return isset($this->deferredServices[$abstract]) || parent::bound($abstract);
    }
 
    /**
     * Determine if the application has booted.
     *
     * @return bool
     */
Arguments
  1. "App\Http\Controllers\HomeController"
    
  2. []
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Route.php
     * @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;
    }
 
    /**
     * Get the controller method used for the route.
     *
     * @return string
     */
    protected function getControllerMethod()
    {
        return $this->parseControllerCallback()[1];
    }
 
    /**
     * Parse the controller.
     *
     * @return array
     */
Arguments
  1. "App\Http\Controllers\HomeController"
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Route.php
        $this->action['middleware'] = array_merge(
            (array) ($this->action['middleware'] ?? []), $middleware
        );
 
        return $this;
    }
 
    /**
     * Get the middleware for the route's controller.
     *
     * @return array
     */
    public function controllerMiddleware()
    {
        if (! $this->isControllerAction()) {
            return [];
        }
 
        return $this->controllerDispatcher()->getMiddleware(
            $this->getController(), $this->getControllerMethod()
        );
    }
 
    /**
     * Get the dispatcher for the route's controller.
     *
     * @return \Illuminate\Routing\Contracts\ControllerDispatcher
     */
    public function controllerDispatcher()
    {
        if ($this->container->bound(ControllerDispatcherContract::class)) {
            return $this->container->make(ControllerDispatcherContract::class);
        }
 
        return new ControllerDispatcher($this->container);
    }
 
    /**
     * Get the route validators for the instance.
     *
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Route.php
        $this->action = $action;
 
        return $this;
    }
 
    /**
     * Get all middleware, including the ones from the controller.
     *
     * @return array
     */
    public function gatherMiddleware()
    {
        if (! is_null($this->computedMiddleware)) {
            return $this->computedMiddleware;
        }
 
        $this->computedMiddleware = [];
 
        return $this->computedMiddleware = array_unique(array_merge(
            $this->middleware(), $this->controllerMiddleware()
        ), SORT_REGULAR);
    }
 
    /**
     * Get or set the middlewares attached to the route.
     *
     * @param  array|string|null $middleware
     * @return $this|array
     */
    public function middleware($middleware = null)
    {
        if (is_null($middleware)) {
            return (array) ($this->action['middleware'] ?? []);
        }
 
        if (is_string($middleware)) {
            $middleware = func_get_args();
        }
 
        $this->action['middleware'] = array_merge(
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Router.php
 
        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)
    {
        $middleware = collect($route->gatherMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten();
 
        return $this->sortMiddleware($middleware);
    }
 
    /**
     * Sort the given middleware by priority.
     *
     * @param  \Illuminate\Support\Collection  $middlewares
     * @return array
     */
    protected function sortMiddleware(Collection $middlewares)
    {
        return (new SortedMiddleware($this->middlewarePriority, $middlewares))->all();
    }
 
    /**
     * Create a response instance from the given value.
     *
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Router.php
        $this->events->dispatch(new Events\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)
                        ->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)
    {
        $middleware = collect($route->gatherMiddleware())->map(function ($name) {
Arguments
  1. Route {#195}
    
C:\wamp64\www\covid19.karnataka.gov.in\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 mixed
     */
    protected function runRoute(Request $request, Route $route)
    {
        $request->setRouteResolver(function () use ($route) {
            return $route;
        });
 
        $this->events->dispatch(new Events\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)
Arguments
  1. Route {#195}
    
  2. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Router.php
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    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 mixed
     */
    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);
 
        $this->container->instance(Route::class, $route);
 
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Route {#195}
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Router.php
     * @return mixed
     */
    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 \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    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 mixed
     */
    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)
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
C:\wamp64\www\covid19.karnataka.gov.in\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.
     *
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php
use Symfony\Component\Debug\Exception\FatalThrowableError;
 
/**
 * This extended pipeline catches any exceptions that occur during each slice.
 *
 * The exceptions are converted to HTTP responses for proper middleware handling.
 */
class Pipeline extends BasePipeline
{
    /**
     * 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 (Exception $e) {
                return $this->handleException($passable, $e);
            } catch (Throwable $e) {
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
C:\wamp64\www\covid19.karnataka.gov.in\app\Http\Middleware\SecureHeaders.php
<?php
 
namespace App\Http\Middleware;
use Closure;
 
class SecureHeaders
{
    // Enumerate headers which you do not want in your application's responses.
    // Great starting point would be to go check out @Scott_Helme's:
    // https://securityheaders.com/
    private $unwantedHeaderList = [
        'X-Powered-By',
        'Server',
    ];
    public function handle($request, Closure $next)
    {
        $this->removeUnwantedHeaders($this->unwantedHeaderList);
        $response = $next($request);
        // $response->headers->set('Referrer-Policy', 'no-referrer-when-downgrade');
        // $response->headers->set('X-Content-Type-Options', 'nosniff');
        // $response->headers->set('X-XSS-Protection', '1; mode=block');
        $response->headers->set('X-Frame-Options', 'DENY');
        // $response->headers->set('Strict-Transport-Security', 'max-age=31536000; includeSubDomains');
        // $response->headers->set('Content-Security-Policy', "style-src 'self'");
        return $response;
    }
    private function removeUnwantedHeaders($headerList)
    {
        foreach ($headerList as $header)
            header_remove($header);
    }
}
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
C:\wamp64\www\covid19.karnataka.gov.in\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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#594 …6}
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\fideloper\proxy\src\TrustProxies.php
    {
        $this->config = $config;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param \Illuminate\Http\Request $request
     * @param \Closure                 $next
     *
     * @throws \Symfony\Component\HttpKernel\Exception\HttpException
     *
     * @return mixed
     */
    public function handle(Request $request, Closure $next)
    {
        $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
        $this->setTrustedProxyIpAddresses($request);
 
        return $next($request);
    }
 
    /**
     * Sets the trusted proxies on the request to the value of trustedproxy.proxies
     *
     * @param \Illuminate\Http\Request $request
     */
    protected function setTrustedProxyIpAddresses(Request $request)
    {
        $trustedIps = $this->proxies ?: $this->config->get('trustedproxy.proxies');
 
        // Only trust specific IP addresses
        if (is_array($trustedIps)) {
            return $this->setTrustedProxyIpAddressesToSpecificIps($request, $trustedIps);
        }
 
        // Trust any IP address that calls us
        // `**` for backwards compatibility, but is depreciated
        if ($trustedIps === '*' || $trustedIps === '**') {
            return $this->setTrustedProxyIpAddressesToTheCallingIp($request);
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
C:\wamp64\www\covid19.karnataka.gov.in\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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#23 …6}
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php
     *
     * @var array
     */
    protected $attributes = [];
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @param  array  ...$attributes
     * @return mixed
     */
    public function handle($request, Closure $next, ...$attributes)
    {
        $this->attributes = $attributes;
 
        $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);
        }
    }
 
    /**
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
C:\wamp64\www\covid19.karnataka.gov.in\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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#21 …6}
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php
     *
     * @var array
     */
    protected $attributes = [];
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @param  array  ...$attributes
     * @return mixed
     */
    public function handle($request, Closure $next, ...$attributes)
    {
        $this->attributes = $attributes;
 
        $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);
        }
    }
 
    /**
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
C:\wamp64\www\covid19.karnataka.gov.in\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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#171 …6}
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
C:\wamp64\www\covid19.karnataka.gov.in\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':
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
C:\wamp64\www\covid19.karnataka.gov.in\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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#751 …6}
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode.php
     *
     * @throws \Symfony\Component\HttpKernel\Exception\HttpException
     */
    public function handle($request, Closure $next)
    {
        if ($this->app->isDownForMaintenance()) {
            $data = json_decode(file_get_contents($this->app->storagePath().'/framework/down'), true);
 
            if (isset($data['allowed']) && IpUtils::checkIp($request->ip(), (array) $data['allowed'])) {
                return $next($request);
            }
 
            if ($this->inExceptArray($request)) {
                return $next($request);
            }
 
            throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
        }
 
        return $next($request);
    }
 
    /**
     * Determine if the request has a URI that should be accessible in maintenance mode.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return bool
     */
    protected function inExceptArray($request)
    {
        foreach ($this->except as $except) {
            if ($except !== '/') {
                $except = trim($except, '/');
            }
 
            if ($request->fullUrlIs($except) || $request->is($except)) {
                return true;
            }
        }
 
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
C:\wamp64\www\covid19.karnataka.gov.in\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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#321 …6}
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
C:\wamp64\www\covid19.karnataka.gov.in\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);
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            return $destination($passable);
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
C:\wamp64\www\covid19.karnataka.gov.in\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()
Arguments
  1. Closure($request) {#676 …5}
    
C:\wamp64\www\covid19.karnataka.gov.in\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php
            $router->middlewareGroup($key, $middleware);
        }
 
        foreach ($this->routeMiddleware as $key => $middleware) {
            $router->aliasMiddleware($key, $middleware);
        }
    }
 
    /**
     * 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 (Exception $e) {
            $this->reportException($e);
 
            $response = $this->renderException($request, $e);
        } catch (Throwable $e) {
            $this->reportException($e = new FatalThrowableError($e));
 
            $response = $this->renderException($request, $e);
        }
 
        $this->app['events']->dispatch(
            new Events\RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
C:\wamp64\www\covid19.karnataka.gov.in\public\index.php
*/
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
 
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
 
$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);
 
$response->send();
 
$kernel->terminate($request, $response);
 
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#800 …6}
      #routeResolver: Closure() {#808 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/english"
      #requestUri: "/english"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
REDIRECT_SCRIPT_URL
"/english"
REDIRECT_SCRIPT_URI
"https://covid19.karnataka.gov.in/english"
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"covid19.karnataka.gov.in"
REDIRECT_STATUS
"200"
SCRIPT_URL
"/english"
SCRIPT_URI
"https://covid19.karnataka.gov.in/english"
HTTPS
"on"
SSL_TLS_SNI
"covid19.karnataka.gov.in"
HTTP_HOST
"covid19.karnataka.gov.in"
HTTP_USER_AGENT
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:73.0) Gecko/20100101 Firefox/73.0"
HTTP_ACCEPT_ENCODING
"gzip, deflate"
HTTP_ACCEPT
"*/*"
HTTP_CONNECTION
"keep-alive"
PATH
"C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\wamp64\bin\php\php7.2.14;%JRE_HOME%\bin;%JAVA_HOME%\bin;C:\importfromexcel;c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;c:\Program Files\Microsoft SQL Server\110\Tools\Binn\;c:\Program Files\Microsoft SQL Server\110\DTS\Binn\;c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;c:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps"
SystemRoot
"C:\Windows"
COMSPEC
"C:\Windows\system32\cmd.exe"
PATHEXT
".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"
WINDIR
"C:\Windows"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2.4.37 (Win64) OpenSSL/1.1.1a"
SERVER_NAME
"covid19.karnataka.gov.in"
SERVER_ADDR
"10.10.28.85"
SERVER_PORT
"443"
REMOTE_ADDR
"130.49.208.15"
DOCUMENT_ROOT
"C:/wamp64/www/covid19.karnataka.gov.in/public"
REQUEST_SCHEME
"https"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"C:/wamp64/www/covid19.karnataka.gov.in/public"
SERVER_ADMIN
"wampserver@wampserver.invalid"
SCRIPT_FILENAME
"C:/wamp64/www/covid19.karnataka.gov.in/public/index.php"
REMOTE_PORT
"61549"
REDIRECT_URL
"/english"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/english"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1604339406.379
REQUEST_TIME
1604339406
empty
0. Whoops\Handler\PrettyPageHandler