Illuminate \ Database \ QueryException (2002)
SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `booker_receivers`) Illuminate\Database\QueryException thrown with message "SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `booker_receivers`)" Stacktrace: #44 Illuminate\Database\QueryException in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664 #43 App\Http\Controllers\ContactController:__construct in [internal]:0 #42 Clockwork\DataSource\LaravelDataSource:Clockwork\DataSource\{closure} in [internal]:0 #41 PDOException in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:67 #40 PDO:__construct in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:67 #39 Illuminate\Database\Connectors\Connector:createPdoConnection in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:43 #38 Illuminate\Database\Connectors\Connector:createConnection in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24 #37 Illuminate\Database\Connectors\MySqlConnector:connect in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:183 #36 Illuminate\Database\Connectors\ConnectionFactory:Illuminate\Database\Connectors\{closure} in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Database/Connection.php:915 #35 call_user_func in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Database/Connection.php:915 #34 Illuminate\Database\Connection:getPdo in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Database/Connection.php:940 #33 Illuminate\Database\Connection:getReadPdo in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Database/Connection.php:399 #32 Illuminate\Database\Connection:getPdoForSelect in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Database/Connection.php:325 #31 Illuminate\Database\Connection:Illuminate\Database\{closure} in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Database/Connection.php:657 #30 Illuminate\Database\Connection:runQueryCallback in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624 #29 Illuminate\Database\Connection:run in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Database/Connection.php:333 #28 Illuminate\Database\Connection:select in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1719 #27 Illuminate\Database\Query\Builder:runSelect in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1704 #26 Illuminate\Database\Query\Builder:get in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:483 #25 Illuminate\Database\Eloquent\Builder:getModels in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:467 #24 Illuminate\Database\Eloquent\Builder:get in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1470 #23 Illuminate\Database\Eloquent\Model:__call in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1482 #22 Illuminate\Database\Eloquent\Model:__callStatic in /var/www/html/usetrue/app/Http/Controllers/ContactController.php:45 #21 App\Http\Controllers\ContactController:__construct in [internal]:0 #20 ReflectionClass:newInstanceArgs in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Container/Container.php:785 #19 Illuminate\Container\Container:build in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Container/Container.php:631 #18 Illuminate\Container\Container:resolve in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Container/Container.php:586 #17 Illuminate\Container\Container:make in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:732 #16 Illuminate\Foundation\Application:make in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Routing/Route.php:226 #15 Illuminate\Routing\Route:getController in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Routing/Route.php:796 #14 Illuminate\Routing\Route:controllerMiddleware in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Routing/Route.php:757 #13 Illuminate\Routing\Route:gatherMiddleware in /var/www/html/usetrue/vendor/itsgoingd/clockwork/Clockwork/DataSource/LaravelDataSource.php:250 #12 Clockwork\DataSource\LaravelDataSource:getRouteMiddleware in /var/www/html/usetrue/vendor/itsgoingd/clockwork/Clockwork/DataSource/LaravelDataSource.php:236 #11 Clockwork\DataSource\LaravelDataSource:Clockwork\DataSource\{closure} in [internal]:0 #10 array_map in /var/www/html/usetrue/vendor/itsgoingd/clockwork/Clockwork/DataSource/LaravelDataSource.php:240 #9 Clockwork\DataSource\LaravelDataSource:getRoutes in /var/www/html/usetrue/vendor/itsgoingd/clockwork/Clockwork/DataSource/LaravelDataSource.php:64 #8 Clockwork\DataSource\LaravelDataSource:resolve in /var/www/html/usetrue/vendor/itsgoingd/clockwork/Clockwork/Clockwork.php:99 #7 Clockwork\Clockwork:resolveRequest in /var/www/html/usetrue/vendor/itsgoingd/clockwork/Clockwork/Support/Laravel/ClockworkSupport.php:122 #6 Clockwork\Support\Laravel\ClockworkSupport:process in /var/www/html/usetrue/vendor/itsgoingd/clockwork/Clockwork/Support/Laravel/ClockworkMiddleware.php:34 #5 Clockwork\Support\Laravel\ClockworkMiddleware:handle in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 #4 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #3 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 #2 Illuminate\Pipeline\Pipeline:then in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 #0 Illuminate\Foundation\Http\Kernel:handle in /var/www/html/usetrue/public/index.php:53
44
Illuminate
\
Database
\
QueryException
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
664
43
App
\
Http
\
Controllers
\
ContactController
__construct
[internal]
0
42
Clockwork
\
DataSource
\
LaravelDataSource
Clockwork
\
DataSource
\
{closure}
[internal]
0
41
PDOException
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connectors
/
Connector.php
67
40
PDO
__construct
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connectors
/
Connector.php
67
39
Illuminate
\
Database
\
Connectors
\
Connector
createPdoConnection
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connectors
/
Connector.php
43
38
Illuminate
\
Database
\
Connectors
\
Connector
createConnection
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connectors
/
MySqlConnector.php
24
37
Illuminate
\
Database
\
Connectors
\
MySqlConnector
connect
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connectors
/
ConnectionFactory.php
183
36
Illuminate
\
Database
\
Connectors
\
ConnectionFactory
Illuminate
\
Database
\
Connectors
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
915
35
call_user_func
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
915
34
Illuminate
\
Database
\
Connection
getPdo
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
940
33
Illuminate
\
Database
\
Connection
getReadPdo
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
399
32
Illuminate
\
Database
\
Connection
getPdoForSelect
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
325
31
Illuminate
\
Database
\
Connection
Illuminate
\
Database
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
657
30
Illuminate
\
Database
\
Connection
runQueryCallback
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
624
29
Illuminate
\
Database
\
Connection
run
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
333
28
Illuminate
\
Database
\
Connection
select
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Query
/
Builder.php
1719
27
Illuminate
\
Database
\
Query
\
Builder
runSelect
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Query
/
Builder.php
1704
26
Illuminate
\
Database
\
Query
\
Builder
get
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Eloquent
/
Builder.php
483
25
Illuminate
\
Database
\
Eloquent
\
Builder
getModels
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Eloquent
/
Builder.php
467
24
Illuminate
\
Database
\
Eloquent
\
Builder
get
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Eloquent
/
Model.php
1470
23
Illuminate
\
Database
\
Eloquent
\
Model
__call
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Eloquent
/
Model.php
1482
22
Illuminate
\
Database
\
Eloquent
\
Model
__callStatic
/
app
/
Http
/
Controllers
/
ContactController.php
45
21
App
\
Http
\
Controllers
\
ContactController
__construct
[internal]
0
20
ReflectionClass
newInstanceArgs
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
Container.php
785
19
Illuminate
\
Container
\
Container
build
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
Container.php
631
18
Illuminate
\
Container
\
Container
resolve
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
Container.php
586
17
Illuminate
\
Container
\
Container
make
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
732
16
Illuminate
\
Foundation
\
Application
make
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Route.php
226
15
Illuminate
\
Routing
\
Route
getController
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Route.php
796
14
Illuminate
\
Routing
\
Route
controllerMiddleware
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Route.php
757
13
Illuminate
\
Routing
\
Route
gatherMiddleware
/
vendor
/
itsgoingd
/
clockwork
/
Clockwork
/
DataSource
/
LaravelDataSource.php
250
12
Clockwork
\
DataSource
\
LaravelDataSource
getRouteMiddleware
/
vendor
/
itsgoingd
/
clockwork
/
Clockwork
/
DataSource
/
LaravelDataSource.php
236
11
Clockwork
\
DataSource
\
LaravelDataSource
Clockwork
\
DataSource
\
{closure}
[internal]
0
10
array_map
/
vendor
/
itsgoingd
/
clockwork
/
Clockwork
/
DataSource
/
LaravelDataSource.php
240
9
Clockwork
\
DataSource
\
LaravelDataSource
getRoutes
/
vendor
/
itsgoingd
/
clockwork
/
Clockwork
/
DataSource
/
LaravelDataSource.php
64
8
Clockwork
\
DataSource
\
LaravelDataSource
resolve
/
vendor
/
itsgoingd
/
clockwork
/
Clockwork
/
Clockwork.php
99
7
Clockwork
\
Clockwork
resolveRequest
/
vendor
/
itsgoingd
/
clockwork
/
Clockwork
/
Support
/
Laravel
/
ClockworkSupport.php
122
6
Clockwork
\
Support
\
Laravel
\
ClockworkSupport
process
/
vendor
/
itsgoingd
/
clockwork
/
Clockwork
/
Support
/
Laravel
/
ClockworkMiddleware.php
34
5
Clockwork
\
Support
\
Laravel
\
ClockworkMiddleware
handle
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
149
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
102
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
53
/
var
/
www
/
html
/
usetrue
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
  1. * @param array $bindings
  2. * @param \Closure $callback
  3. * @return mixed
  4. *
  5. * @throws \Illuminate\Database\QueryException
  6. */
  7. protected function runQueryCallback($query, $bindings, Closure $callback)
  8. {
  9. // To execute the statement, we'll simply call the callback, which will actually
  10. // run the SQL against the PDO connection. Then we can calculate the time it
  11. // took to execute and log the query SQL, bindings and time in our memory.
  12. try {
  13. $result = $callback($query, $bindings);
  14. }
  15. // If an exception occurs when attempting to run a query, we'll format the error
  16. // message to include the bindings with SQL, which will make this exception a
  17. // lot more helpful to the developer instead of just the database's errors.
  18. catch (Exception $e) {
  19. throw new QueryException(
  20. $query, $this->prepareBindings($bindings), $e
  21. );
  22. }
  23. return $result;
  24. }
  25. /**
  26. * Log a query in the connection's query log.
  27. *
  28. * @param string $query
  29. * @param array $bindings
  30. * @param float|null $time
  31. * @return void
  32. */
  33. public function logQuery($query, $bindings, $time = null)
  34. {
  35. $this->event(new QueryExecuted($query, $bindings, $time, $this));
  36. if ($this->loggingQueries) {
Arguments
  1. "SQLSTATE[HY000] [2002] Connection refused (SQL: select * from `booker_receivers`)"
    
[internal]
[internal]
Arguments
  1. 0 of 0
    Route {#276}
/
var
/
www
/
html
/
usetrue
/
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  \Exception  $e
     * @param  string  $dsn
     * @param  string  $username
Arguments
  1. "SQLSTATE[HY000] [2002] Connection refused"
    
Exception message: SQLSTATE[HY000] [2002] Connection refused
/
var
/
www
/
html
/
usetrue
/
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  \Exception  $e
     * @param  string  $dsn
     * @param  string  $username
Arguments
  1. "mysql:host=127.0.0.1;port=3306;dbname=usetrue"
    
  2. "usetrue"
    
  3. "shM9p22#ZWijxwsp"
    
  4. 0 of 0
    array:5 [ 8 => 0 3 => 2 11 => 0 17 => false 20 => false ]
/
var
/
www
/
html
/
usetrue
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connectors
/
Connector.php
        PDO::ATTR_EMULATE_PREPARES => false,
    ];
 
    /**
     * Create a new PDO connection.
     *
     * @param  string  $dsn
     * @param  array   $config
     * @param  array   $options
     * @return \PDO
     */
    public function createConnection($dsn, array $config, array $options)
    {
        list($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=127.0.0.1;port=3306;dbname=usetrue"
    
  2. "usetrue"
    
  3. "shM9p22#ZWijxwsp"
    
  4. 0 of 0
    array:5 [ 8 => 0 3 => 2 11 => 0 17 => false 20 => false ]
/
var
/
www
/
html
/
usetrue
/
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=127.0.0.1;port=3306;dbname=usetrue"
    
  2. 0 of 0
    array:13 [ "driver" => "mysql" "host" => "127.0.0.1" "port" => "3306" "database" => "usetrue" "username" => "usetrue" "password" => "shM9p22#ZWijxwsp" "unix_socket" => "" "charset" => "utf8" "collation" => "utf8_general_ci" "prefix" => "" "strict" => true "engine" => null "name" => "mysql" ]
  3. 0 of 0
    array:5 [ 8 => 0 3 => 2 11 => 0 17 => false 20 => false ]
/
var
/
www
/
html
/
usetrue
/
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) {
                    if (count($hosts) - 1 === $key && $this->container->bound(ExceptionHandler::class)) {
                        $this->container->make(ExceptionHandler::class)->report($e);
                    }
                }
            }
 
            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']);
Arguments
  1. 0 of 0
    array:13 [ "driver" => "mysql" "host" => "127.0.0.1" "port" => "3306" "database" => "usetrue" "username" => "usetrue" "password" => "shM9p22#ZWijxwsp" "unix_socket" => "" "charset" => "utf8" "collation" => "utf8_general_ci" "prefix" => "" "strict" => true "engine" => null "name" => "mysql" ]
/
var
/
www
/
html
/
usetrue
/
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->getConfig('sticky') && $this->recordsModified) {
            return $this->getPdo();
        }
 
/
var
/
www
/
html
/
usetrue
/
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->getConfig('sticky') && $this->recordsModified) {
            return $this->getPdo();
        }
 
Arguments
  1. 0 of 0
    Closure {#168 class: "Illuminate\Database\Connectors\ConnectionFactory" this: ConnectionFactory {#39 …} use: { $config: array:13 [ "driver" => "mysql" "host" => "127.0.0.1" "port" => "3306" "database" => "usetrue" "username" => "usetrue" "password" => "shM9p22#ZWijxwsp" "unix_socket" => "" "charset" => "utf8" "collation" => "utf8_general_ci" "prefix" => "" "strict" => true "engine" => null "name" => "mysql" ] } }
/
var
/
www
/
html
/
usetrue
/
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->getConfig('sticky') && $this->recordsModified) {
            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.
     *
/
var
/
www
/
html
/
usetrue
/
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
/
var
/
www
/
html
/
usetrue
/
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
    
/
var
/
www
/
html
/
usetrue
/
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 `booker_receivers`"
    
  2. []
    
/
var
/
www
/
html
/
usetrue
/
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 `booker_receivers`"
    
  2. []
    
  3. 0 of 0
    Closure {#595 class: "Illuminate\Database\Connection" this: MySqlConnection {#169 …} parameters: { $query: {} $bindings: {} } use: { $useReadPdo: true } }
/
var
/
www
/
html
/
usetrue
/
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 `booker_receivers`"
    
  2. []
    
  3. 0 of 0
    Closure {#595 class: "Illuminate\Database\Connection" this: MySqlConnection {#169 …} parameters: { $query: {} $bindings: {} } use: { $useReadPdo: true } }
/
var
/
www
/
html
/
usetrue
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Query
/
Builder.php
        if (is_null($original)) {
            $this->columns = $columns;
        }
 
        $results = $this->processor->processSelect($this, $this->runSelect());
 
        $this->columns = $original;
 
        return collect($results);
    }
 
    /**
     * 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 `booker_receivers`"
    
  2. []
    
  3. true
    
/
var
/
www
/
html
/
usetrue
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Query
/
Builder.php
        $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 = ['*'])
    {
        $original = $this->columns;
 
        if (is_null($original)) {
            $this->columns = $columns;
        }
 
        $results = $this->processor->processSelect($this, $this->runSelect());
 
        $this->columns = $original;
 
        return collect($results);
    }
 
    /**
     * 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.
/
var
/
www
/
html
/
usetrue
/
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[]
     */
    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. 0 of 0
    array:1 [ 0 => "*" ]
/
var
/
www
/
html
/
usetrue
/
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[]
     */
    public function getModels($columns = ['*'])
    {
        return $this->model->hydrate(
            $this->query->get($columns)->all()
        )->all();
    }
 
    /**
Arguments
  1. 0 of 0
    array:1 [ 0 => "*" ]
/
var
/
www
/
html
/
usetrue
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Eloquent
/
Model.php
     */
    public function __unset($key)
    {
        $this->offsetUnset($key);
    }
 
    /**
     * Handle dynamic method calls into the model.
     *
     * @param  string  $method
     * @param  array  $parameters
     * @return mixed
     */
    public function __call($method, $parameters)
    {
        if (in_array($method, ['increment', 'decrement'])) {
            return $this->$method(...$parameters);
        }
 
        return $this->newQuery()->$method(...$parameters);
    }
 
    /**
     * Handle dynamic static method calls into the method.
     *
     * @param  string  $method
     * @param  array  $parameters
     * @return mixed
     */
    public static function __callStatic($method, $parameters)
    {
        return (new static)->$method(...$parameters);
    }
 
    /**
     * Convert the model to its string representation.
     *
     * @return string
     */
    public function __toString()
/
var
/
www
/
html
/
usetrue
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Eloquent
/
Model.php
     */
    public function __call($method, $parameters)
    {
        if (in_array($method, ['increment', 'decrement'])) {
            return $this->$method(...$parameters);
        }
 
        return $this->newQuery()->$method(...$parameters);
    }
 
    /**
     * Handle dynamic static method calls into the method.
     *
     * @param  string  $method
     * @param  array  $parameters
     * @return mixed
     */
    public static function __callStatic($method, $parameters)
    {
        return (new static)->$method(...$parameters);
    }
 
    /**
     * Convert the model to its string representation.
     *
     * @return string
     */
    public function __toString()
    {
        return $this->toJson();
    }
 
    /**
     * When a model is being unserialized, check if it needs to be booted.
     *
     * @return void
     */
    public function __wakeup()
    {
        $this->bootIfNotBooted();
Arguments
  1. "get"
    
  2. []
    
/
var
/
www
/
html
/
usetrue
/
app
/
Http
/
Controllers
/
ContactController.php
class ContactController extends ApiController
{

        /*
        *   gravity form setting 
        *   input_1 =>fname,input_2 => lname
        */
    private $nameFields = ['name', 'first_name','FNAME','input_1', 'input_2', 'last_name','firstname','lastname', 'fname', 'lname', 'your-name', 'fullname', 'full_name',"customer.firstname"];
    private $location;

    public $userID;
    public $link;
    public $host_url;
    public $bookerIds;


    public function __construct()
    {
        $this->location = new Location();
        $this->bookerIds = BookerReceivers::get()->pluck('campaign_id')->all();
    }

    public function store()
    {
        $request = request()->json()->all();
        $notifications1 = "";
        $userId = hashid_decode($request['pixel_id']);

        $this->userID = $userId;

        $user = User::findOrFail($userId);
        $subscription = $user->subscriptions()->first();
        $plan = \App\Plan::bySubscription($subscription);

        if ($subscription->cancelled() || $this->isVisitorQuotaFull($plan, $subscription, $user)) {
            return $this->respond(['data' => ['ip_address' => request()->ip(), 'timestamp' => time()]]);
        }

        /*$status = $user->visitorRecords->validateVisitorLimits();
        if (!$status) {
Arguments
  1. "get"
    
  2. []
    
[internal]
/
var
/
www
/
html
/
usetrue
/
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. []
    
/
var
/
www
/
html
/
usetrue
/
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\ContactController"
    
/
var
/
www
/
html
/
usetrue
/
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)
    {
        if ($this->has($id)) {
            return $this->resolve($id);
        }
 
        throw new EntryNotFoundException;
    }
 
    /**
     * Resolve the given type from the container.
     *
     * @param  string  $abstract
     * @param  array  $parameters
     * @return mixed
Arguments
  1. "App\Http\Controllers\ContactController"
    
  2. []
    
/
var
/
www
/
html
/
usetrue
/
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\ContactController"
    
  2. []
    
/
var
/
www
/
html
/
usetrue
/
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\ContactController"
    
/
var
/
www
/
html
/
usetrue
/
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.
     *
/
var
/
www
/
html
/
usetrue
/
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(
/
var
/
www
/
html
/
usetrue
/
vendor
/
itsgoingd
/
clockwork
/
Clockwork
/
DataSource
/
LaravelDataSource.php
                return [
                    'method' => implode(', ', $route->methods()),
                    'uri'    => $route->uri(),
                    'name'   => $route->getName(),
                    'action' => $route->getActionName() ?: 'anonymous function',
                    'middleware' => $this->getRouteMiddleware($route),
                    'before' => method_exists($route, 'beforeFilters') ? implode(', ', array_keys($route->beforeFilters())) : '',
                    'after'  => method_exists($route, 'afterFilters') ? implode(', ', array_keys($route->afterFilters())) : ''
                ];
            }, $routes);
        }
    }
 
    /**
     * Return array of route middleware
     */
    protected function getRouteMiddleware($route)
    {
        if (method_exists($route, 'gatherMiddleware')) {
            return $route->gatherMiddleware();
        }
 
        return array_unique(array_merge(
            method_exists($route, 'middleware') ? $route->middleware() : [],
            method_exists($route, 'controllerMiddleware') ? $route->controllerMiddleware() : []
        ), SORT_REGULAR);
    }
 
    /**
     * Return session data (replace unserializable items, attempt to remove passwords)
     */
    protected function getSessionData()
    {
        return $this->removePasswords(Serializer::simplify($this->app['session']->all()));
    }
}
 
/
var
/
www
/
html
/
usetrue
/
vendor
/
itsgoingd
/
clockwork
/
Clockwork
/
DataSource
/
LaravelDataSource.php
            return array_map(function ($route, $name) {
                return [
                    'method' => implode(', ', $route->getMethods()),
                    'uri'    => $route->getPath(),
                    'name'   => $name,
                    'action' => $route->getAction() ?: 'anonymous function',
                    'before' => implode(', ', $route->getBeforeFilters()),
                    'after'  => implode(', ', $route->getAfterFilters())
                ];
            }, $routes, $names);
        } else { // Laravel 4.1
            $routes = $router->getRoutes()->getRoutes();
 
            return array_map(function ($route) {
                return [
                    'method' => implode(', ', $route->methods()),
                    'uri'    => $route->uri(),
                    'name'   => $route->getName(),
                    'action' => $route->getActionName() ?: 'anonymous function',
                    'middleware' => $this->getRouteMiddleware($route),
                    'before' => method_exists($route, 'beforeFilters') ? implode(', ', array_keys($route->beforeFilters())) : '',
                    'after'  => method_exists($route, 'afterFilters') ? implode(', ', array_keys($route->afterFilters())) : ''
                ];
            }, $routes);
        }
    }
 
    /**
     * Return array of route middleware
     */
    protected function getRouteMiddleware($route)
    {
        if (method_exists($route, 'gatherMiddleware')) {
            return $route->gatherMiddleware();
        }
 
        return array_unique(array_merge(
            method_exists($route, 'middleware') ? $route->middleware() : [],
            method_exists($route, 'controllerMiddleware') ? $route->controllerMiddleware() : []
        ), SORT_REGULAR);
Arguments
  1. 0 of 0
    Route {#276}
[internal]
Arguments
  1. 0 of 0
    Route {#276}
/
var
/
www
/
html
/
usetrue
/
vendor
/
itsgoingd
/
clockwork
/
Clockwork
/
DataSource
/
LaravelDataSource.php
                    'name'   => $name,
                    'action' => $route->getAction() ?: 'anonymous function',
                    'before' => implode(', ', $route->getBeforeFilters()),
                    'after'  => implode(', ', $route->getAfterFilters())
                ];
            }, $routes, $names);
        } else { // Laravel 4.1
            $routes = $router->getRoutes()->getRoutes();
 
            return array_map(function ($route) {
                return [
                    'method' => implode(', ', $route->methods()),
                    'uri'    => $route->uri(),
                    'name'   => $route->getName(),
                    'action' => $route->getActionName() ?: 'anonymous function',
                    'middleware' => $this->getRouteMiddleware($route),
                    'before' => method_exists($route, 'beforeFilters') ? implode(', ', array_keys($route->beforeFilters())) : '',
                    'after'  => method_exists($route, 'afterFilters') ? implode(', ', array_keys($route->afterFilters())) : ''
                ];
            }, $routes);
        }
    }
 
    /**
     * Return array of route middleware
     */
    protected function getRouteMiddleware($route)
    {
        if (method_exists($route, 'gatherMiddleware')) {
            return $route->gatherMiddleware();
        }
 
        return array_unique(array_merge(
            method_exists($route, 'middleware') ? $route->middleware() : [],
            method_exists($route, 'controllerMiddleware') ? $route->controllerMiddleware() : []
        ), SORT_REGULAR);
    }
 
    /**
     * Return session data (replace unserializable items, attempt to remove passwords)
Arguments
  1. 0 of 0
    Closure {#424 class: "Clockwork\DataSource\LaravelDataSource" this: LaravelDataSource {#93 …} parameters: { $route: {} } }
  2. 0 of 0
    array:122 [ 0 => Route {#160} 1 => Route {#161} 2 => Route {#162} 3 => Route {#163} 4 => Route {#188} 5 => Route {#189} 6 => Route {#190} 7 => Route {#191} 8 => Route {#192} 9 => Route {#193} 10 => Route {#194} 11 => Route {#195} 12 => Route {#196} 13 => Route {#197} 14 => Route {#198} 15 => Route {#199} 16 => Route {#200} 17 => Route {#201} 18 => Route {#202} 19 => Route {#205} 20 => Route {#206} 21 => Route {#207} 22 => Route {#208} 23 => Route {#209} 24 => Route {#210} 25 => Route {#211} 26 => Route {#212} 27 => Route {#213} 28 => Route {#214} 29 => Route {#215} 30 => Route {#216} 31 => Route {#217} 32 => Route {#218} 33 => Route {#219} 34 => Route {#220} 35 => Route {#221} 36 => Route {#222} 37 => Route {#223} 38 => Route {#224} 39 => Route {#225} 40 => Route {#204} 41 => Route {#203} 42 => Route {#226} 43 => Route {#229} 44 => Route {#230} 45 => Route {#231} 46 => Route {#232} 47 => Route {#233} 48 => Route {#234} 49 => Route {#235} 50 => Route {#236} 51 => Route {#237} 52 => Route {#238} 53 => Route {#239} 54 => Route {#240} 55 => Route {#241} 56 => Route {#242} 57 => Route {#243} 58 => Route {#244} 59 => Route {#245} 60 => Route {#246} 61 => Route {#247} 62 => Route {#248} 63 => Route {#249} 64 => Route {#228} 65 => Route {#227} 66 => Route {#252} 67 => Route {#253} 68 => Route {#254} 69 => Route {#255} 70 => Route {#256} 71 => Route {#257} 72 => Route {#258} 73 => Route {#259} 74 => Route {#260} 75 => Route {#261} 76 => Route {#262} 77 => Route {#263} 78 => Route {#264} 79 => Route {#265} 80 => Route {#266} 81 => Route {#267} 82 => Route {#268} 83 => Route {#269} 84 => Route {#270} 85 => Route {#271} 86 => Route {#272} 87 => Route {#251} 88 => Route {#187} 89 => Route {#250} 90 => Route {#273} 91 => Route {#275} 92 => Route {#276} 93 => Route {#277} 94 => Route {#278} 95 => Route {#280} 96 => Route {#274} 97 => Route {#281} 98 => Route {#282} 99 => Route {#284} 100 => Route {#287} 101 => Route {#288} 102 => Route {#289} 103 => Route {#290} 104 => Route {#291} 105 => Route {#292} 106 => Route {#293} 107 => Route {#294} 108 => Route {#295} 109 => Route {#296} 110 => Route {#297} 111 => Route {#298} 112 => Route {#299} 113 => Route {#300} 114 => Route {#286} 115 => Route {#302} 116 => Route {#304} 117 => Route {#306} 118 => Route {#307} 119 => Route {#309} 120 => Route {#311} 121 => Route {#313} ]
/
var
/
www
/
html
/
usetrue
/
vendor
/
itsgoingd
/
clockwork
/
Clockwork
/
DataSource
/
LaravelDataSource.php
    public function __construct(Application $app)
    {
        $this->app = $app;
 
        $this->log      = new Log();
        $this->timeline = new Timeline();
        $this->views    = new Timeline();
    }
 
    /**
     * Adds request method, uri, controller, headers, response status, timeline data and log entries to the request
     */
    public function resolve(Request $request)
    {
        $request->method         = $this->getRequestMethod();
        $request->uri            = $this->getRequestUri();
        $request->controller     = $this->getController();
        $request->headers        = $this->getRequestHeaders();
        $request->responseStatus = $this->getResponseStatus();
        $request->routes         = $this->getRoutes();
        $request->sessionData    = $this->getSessionData();
 
        $request->log          = array_merge($request->log, $this->log->toArray());
        $request->timelineData = $this->timeline->finalize($request->time);
        $request->viewsData    = $this->views->finalize();
 
        return $request;
    }
 
    /**
     * Set a custom response instance
     */
    public function setResponse(Response $response)
    {
        $this->response = $response;
    }
 
    /**
     * Hook up callbacks for various Laravel events, providing information for timeline and log entries
     */
/
var
/
www
/
html
/
usetrue
/
vendor
/
itsgoingd
/
clockwork
/
Clockwork
/
Clockwork.php
        return $this->request;
    }
 
    /**
     * Set a custom request object
     */
    public function setRequest(Request $request)
    {
        $this->request = $request;
 
        return $this;
    }
 
    /**
     * Add data from all data sources to request
     */
    public function resolveRequest()
    {
        foreach ($this->dataSources as $dataSource) {
            $dataSource->resolve($this->request);
        }
 
        // merge global log and timeline data with data collected from data sources
        $this->request->log = array_merge($this->request->log, $this->log->toArray());
        $this->request->timelineData = array_merge($this->request->timelineData, $this->timeline->finalize());
 
        // sort log and timeline data by time
        uasort($this->request->log, function($a, $b) {
            if ($a['time'] == $b['time']) return 0;
            return $a['time'] < $b['time'] ? -1 : 1;
        });
        uasort($this->request->timelineData, function($a, $b) {
            if ($a['start'] == $b['start']) return 0;
            return $a['start'] < $b['start'] ? -1 : 1;
        });
 
        return $this;
    }
 
    /**
Arguments
  1. 0 of 0
    Request {#324}
/
var
/
www
/
html
/
usetrue
/
vendor
/
itsgoingd
/
clockwork
/
Clockwork
/
Support
/
Laravel
/
ClockworkSupport.php
        if (! $this->isCollectingData()) {
            return $response; // Collecting data is disabled, return immediately
        }
 
        // don't collect data for configured URIs
        $requestUri = $request->getRequestUri();
        $filterUris = $this->getConfig('filter_uris', []);
        $filterUris[] = '/__clockwork(?:/.*)?'; // don't collect data for Clockwork requests
 
        foreach ($filterUris as $uri) {
            $regexp = '#' . str_replace('#', '\#', $uri) . '#';
 
            if (preg_match($regexp, $requestUri)) {
                return $response;
            }
        }
 
        $this->app['clockwork.laravel']->setResponse($response);
 
        $this->app['clockwork']->resolveRequest();
        $this->app['clockwork']->storeRequest();
 
        if (! $this->isEnabled()) {
            return $response; // Clockwork is disabled, don't set the headers
        }
 
        $response->headers->set('X-Clockwork-Id', $this->app['clockwork']->getRequest()->id, true);
        $response->headers->set('X-Clockwork-Version', Clockwork::VERSION, true);
 
        if ($request->getBasePath()) {
            $response->headers->set('X-Clockwork-Path', $request->getBasePath() . '/__clockwork/', true);
        }
 
        foreach ($this->getConfig('headers', []) as $headerName => $headerValue) {
            $response->headers->set("X-Clockwork-Header-{$headerName}", $headerValue);
        }
 
        $this->appendServerTimingHeader($response, $this->app['clockwork']->getRequest());
 
        return $response;
/
var
/
www
/
html
/
usetrue
/
vendor
/
itsgoingd
/
clockwork
/
Clockwork
/
Support
/
Laravel
/
ClockworkMiddleware.php
    public function __construct(Application $app)
    {
        $this->app = $app;
    }
 
    /**
     * Handle an incoming request.
     */
    public function handle($request, \Closure $next)
    {
        $this->app['config']->set('clockwork::config.middleware', true);
 
        try {
            $response = $next($request);
        } catch (\Exception $e) {
            $this->app['Illuminate\Contracts\Debug\ExceptionHandler']->report($e);
            $response = $this->app['Illuminate\Contracts\Debug\ExceptionHandler']->render($request, $e);
        }
 
        return $this->app['clockwork.support']->process($request, $response);
    }
}
 
Arguments
  1. 0 of 0
    Request {#42 #json: null #convertedFiles: null #userResolver: Closure {#343 class: "Illuminate\Auth\AuthServiceProvider" this: AuthServiceProvider {#41 …} parameters: { $guard: { default: null } } use: { $app: Application {#2 …} } } #routeResolver: Closure {#331 class: "Illuminate\Routing\Router" this: Router {#25 …} use: { $route: Route {#250 …} } } +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:7 [ 0 => "text/html" 1 => "application/xhtml+xml" 2 => "image/webp" 3 => "image/apng" 4 => "application/xml" 5 => "application/signed-exchange" 6 => "*/*" ] #pathInfo: "/alert/latest/index.html" #requestUri: "/alert/latest/index.html?url=https%3A%2F%2Fmiraclecbdproducts.com%2F&acc=BN40RzgLlWw6ZxLqavJVoEXep3MKd8" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: Store {#418} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
  2. 0 of 0
    Response {#431}
/
var
/
www
/
html
/
usetrue
/
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)) {
                    list($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];
                }
 
                return method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
            };
        };
    }
 
    /**
     * Parse full pipe string to get name and parameters.
     *
     * @param  string $pipe
     * @return array
     */
    protected function parsePipeString($pipe)
    {
        list($name, $parameters) = array_pad(explode(':', $pipe, 2), 2, []);
 
        if (is_string($parameters)) {
            $parameters = explode(',', $parameters);
        }
 
        return [$name, $parameters];
Arguments
  1. 0 of 0
    Request {#42 #json: null #convertedFiles: null #userResolver: Closure {#343 class: "Illuminate\Auth\AuthServiceProvider" this: AuthServiceProvider {#41 …} parameters: { $guard: { default: null } } use: { $app: Application {#2 …} } } #routeResolver: Closure {#331 class: "Illuminate\Routing\Router" this: Router {#25 …} use: { $route: Route {#250 …} } } +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:7 [ 0 => "text/html" 1 => "application/xhtml+xml" 2 => "image/webp" 3 => "image/apng" 4 => "application/xml" 5 => "application/signed-exchange" 6 => "*/*" ] #pathInfo: "/alert/latest/index.html" #requestUri: "/alert/latest/index.html?url=https%3A%2F%2Fmiraclecbdproducts.com%2F&acc=BN40RzgLlWw6ZxLqavJVoEXep3MKd8" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: Store {#418} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
  2. 0 of 0
    Closure {#319 class: "Illuminate\Routing\Pipeline" this: Pipeline {#33 …} parameters: { $passable: {} } use: { $stack: Closure {#318 …} $pipe: "Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode" } }
/
var
/
www
/
html
/
usetrue
/
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. 0 of 0
    Request {#42 #json: null #convertedFiles: null #userResolver: Closure {#343 class: "Illuminate\Auth\AuthServiceProvider" this: AuthServiceProvider {#41 …} parameters: { $guard: { default: null } } use: { $app: Application {#2 …} } } #routeResolver: Closure {#331 class: "Illuminate\Routing\Router" this: Router {#25 …} use: { $route: Route {#250 …} } } +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:7 [ 0 => "text/html" 1 => "application/xhtml+xml" 2 => "image/webp" 3 => "image/apng" 4 => "application/xml" 5 => "application/signed-exchange" 6 => "*/*" ] #pathInfo: "/alert/latest/index.html" #requestUri: "/alert/latest/index.html?url=https%3A%2F%2Fmiraclecbdproducts.com%2F&acc=BN40RzgLlWw6ZxLqavJVoEXep3MKd8" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: Store {#418} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
/
var
/
www
/
html
/
usetrue
/
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. 0 of 0
    Request {#42 #json: null #convertedFiles: null #userResolver: Closure {#343 class: "Illuminate\Auth\AuthServiceProvider" this: AuthServiceProvider {#41 …} parameters: { $guard: { default: null } } use: { $app: Application {#2 …} } } #routeResolver: Closure {#331 class: "Illuminate\Routing\Router" this: Router {#25 …} use: { $route: Route {#250 …} } } +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:7 [ 0 => "text/html" 1 => "application/xhtml+xml" 2 => "image/webp" 3 => "image/apng" 4 => "application/xml" 5 => "application/signed-exchange" 6 => "*/*" ] #pathInfo: "/alert/latest/index.html" #requestUri: "/alert/latest/index.html?url=https%3A%2F%2Fmiraclecbdproducts.com%2F&acc=BN40RzgLlWw6ZxLqavJVoEXep3MKd8" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: Store {#418} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
/
var
/
www
/
html
/
usetrue
/
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. 0 of 0
    Closure {#22 class: "Illuminate\Foundation\Http\Kernel" this: Kernel {#29 …} parameters: { $request: {} } }
/
var
/
www
/
html
/
usetrue
/
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. 0 of 0
    Request {#42 #json: null #convertedFiles: null #userResolver: Closure {#343 class: "Illuminate\Auth\AuthServiceProvider" this: AuthServiceProvider {#41 …} parameters: { $guard: { default: null } } use: { $app: Application {#2 …} } } #routeResolver: Closure {#331 class: "Illuminate\Routing\Router" this: Router {#25 …} use: { $route: Route {#250 …} } } +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:7 [ 0 => "text/html" 1 => "application/xhtml+xml" 2 => "image/webp" 3 => "image/apng" 4 => "application/xml" 5 => "application/signed-exchange" 6 => "*/*" ] #pathInfo: "/alert/latest/index.html" #requestUri: "/alert/latest/index.html?url=https%3A%2F%2Fmiraclecbdproducts.com%2F&acc=BN40RzgLlWw6ZxLqavJVoEXep3MKd8" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: Store {#418} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
/
var
/
www
/
html
/
usetrue
/
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. 0 of 0
    Request {#42 #json: null #convertedFiles: null #userResolver: Closure {#343 class: "Illuminate\Auth\AuthServiceProvider" this: AuthServiceProvider {#41 …} parameters: { $guard: { default: null } } use: { $app: Application {#2 …} } } #routeResolver: Closure {#331 class: "Illuminate\Routing\Router" this: Router {#25 …} use: { $route: Route {#250 …} } } +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:7 [ 0 => "text/html" 1 => "application/xhtml+xml" 2 => "image/webp" 3 => "image/apng" 4 => "application/xml" 5 => "application/signed-exchange" 6 => "*/*" ] #pathInfo: "/alert/latest/index.html" #requestUri: "/alert/latest/index.html?url=https%3A%2F%2Fmiraclecbdproducts.com%2F&acc=BN40RzgLlWw6ZxLqavJVoEXep3MKd8" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: Store {#418} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }

Environment & details:

Key Value
url
"https://miraclecbdproducts.com/"
acc
"BN40RzgLlWw6ZxLqavJVoEXep3MKd8"
empty
empty
empty
empty
Key Value
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"api.usetrue.com"
REDIRECT_STATUS
"200"
HTTPS
"on"
SSL_TLS_SNI
"api.usetrue.com"
HTTP_HOST
"api.usetrue.com"
HTTP_CONNECTION
"keep-alive"
HTTP_UPGRADE_INSECURE_REQUESTS
"1"
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
HTTP_SEC_FETCH_DEST
"iframe"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"
HTTP_SEC_FETCH_SITE
"cross-site"
HTTP_SEC_FETCH_MODE
"navigate"
HTTP_REFERER
"https://miraclecbdproducts.com/"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.9,pt-PT;q=0.8,pt;q=0.7,th;q=0.6,da;q=0.5,he;q=0.4,it;q=0.3"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
SERVER_SIGNATURE
"<address>Apache/2.4.34 (Ubuntu) Server at api.usetrue.com Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.34 (Ubuntu)"
SERVER_NAME
"api.usetrue.com"
SERVER_ADDR
"165.227.218.136"
SERVER_PORT
"443"
REMOTE_ADDR
"39.50.249.100"
DOCUMENT_ROOT
"/var/www/html/usetrue/public/"
REQUEST_SCHEME
"https"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/var/www/html/usetrue/public/"
SERVER_ADMIN
"webmaster@localhost"
SCRIPT_FILENAME
"/var/www/html/usetrue/public/index.php"
REMOTE_PORT
"54523"
REDIRECT_URL
"/alert/latest/index.html"
REDIRECT_QUERY_STRING
"url=https%3A%2F%2Fmiraclecbdproducts.com%2F&acc=BN40RzgLlWw6ZxLqavJVoEXep3MKd8"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
"url=https%3A%2F%2Fmiraclecbdproducts.com%2F&acc=BN40RzgLlWw6ZxLqavJVoEXep3MKd8"
REQUEST_URI
"/alert/latest/index.html?url=https%3A%2F%2Fmiraclecbdproducts.com%2F&acc=BN40RzgLlWw6ZxLqavJVoEXep3MKd8"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1582763489.794
REQUEST_TIME
1582763489
APP_NAME
"Usetrue"
APP_ENV
"local"
APP_KEY
"base64:CnMKG25Yj9HNUSWGau1nNGvKsIiW/HCIcmAVodMYOws="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"https://app.usetrue.com"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"usetrue"
DB_USERNAME
"usetrue"
DB_PASSWORD
"shM9p22#ZWijxwsp"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"sendmail"
MAIL_HOST
"smtp.gmail.com"
MAIL_PORT
"587"
MAIL_USERNAME
"emails@usetrue.com"
MAIL_PASSWORD
"4d=jW7AT"
MAIL_ENCRYPTION
"tls"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
MINDBODY_SOURCE_NAME
"usetrueapi"
MINDBODY_APIKEY
"nUA2z/cLfxmhAUiw6wzvphylI0A="
STRIPE_KEY
"pk_live_SH0JDKtlOuiIRua9DuBGcYRm"
STRIPE_SECRET
"sk_live_Pf7HkFnhA5fAwv3n99MhbViB"
PEACHY_URL
"https://app.usetrue.com"
Key Value
APP_NAME
"Usetrue"
APP_ENV
"local"
APP_KEY
"base64:CnMKG25Yj9HNUSWGau1nNGvKsIiW/HCIcmAVodMYOws="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"https://app.usetrue.com"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"usetrue"
DB_USERNAME
"usetrue"
DB_PASSWORD
"shM9p22#ZWijxwsp"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"sendmail"
MAIL_HOST
"smtp.gmail.com"
MAIL_PORT
"587"
MAIL_USERNAME
"emails@usetrue.com"
MAIL_PASSWORD
"4d=jW7AT"
MAIL_ENCRYPTION
"tls"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
MINDBODY_SOURCE_NAME
"usetrueapi"
MINDBODY_APIKEY
"nUA2z/cLfxmhAUiw6wzvphylI0A="
STRIPE_KEY
"pk_live_SH0JDKtlOuiIRua9DuBGcYRm"
STRIPE_SECRET
"sk_live_Pf7HkFnhA5fAwv3n99MhbViB"
PEACHY_URL
"https://app.usetrue.com"
0. Whoops\Handler\PrettyPageHandler
Whoops! There was an error.
ErrorException (E_WARNING)
file_put_contents(): Only 0 of 285 bytes written, possibly out of free disk space ErrorException thrown with message "file_put_contents(): Only 0 of 285 bytes written, possibly out of free disk space" Stacktrace: #7 ErrorException in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122 #6 file_put_contents in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122 #5 Illuminate\Filesystem\Filesystem:put in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Session/FileSessionHandler.php:83 #4 Illuminate\Session\FileSessionHandler:write in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Session/Store.php:128 #3 Illuminate\Session\Store:save in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:87 #2 Illuminate\Session\Middleware\StartSession:terminate in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:218 #1 Illuminate\Foundation\Http\Kernel:terminateMiddleware in /var/www/html/usetrue/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:189 #0 Illuminate\Foundation\Http\Kernel:terminate in /var/www/html/usetrue/public/index.php:58
7
ErrorException
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Filesystem
/
Filesystem.php
122
6
file_put_contents
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Filesystem
/
Filesystem.php
122
5
Illuminate
\
Filesystem
\
Filesystem
put
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Session
/
FileSessionHandler.php
83
4
Illuminate
\
Session
\
FileSessionHandler
write
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Session
/
Store.php
128
3
Illuminate
\
Session
\
Store
save
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Session
/
Middleware
/
StartSession.php
87
2
Illuminate
\
Session
\
Middleware
\
StartSession
terminate
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
218
1
Illuminate
\
Foundation
\
Http
\
Kernel
terminateMiddleware
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
189
0
Illuminate
\
Foundation
\
Http
\
Kernel
terminate
/
public
/
index.php
58
/
var
/
www
/
html
/
usetrue
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Filesystem
/
Filesystem.php
     *
     * @param  string  $path
     * @return string
     */
    public function hash($path)
    {
        return md5_file($path);
    }
 
    /**
     * Write the contents of a file.
     *
     * @param  string  $path
     * @param  string  $contents
     * @param  bool  $lock
     * @return int
     */
    public function put($path, $contents, $lock = false)
    {
        return file_put_contents($path, $contents, $lock ? LOCK_EX : 0);
    }
 
    /**
     * Prepend to a file.
     *
     * @param  string  $path
     * @param  string  $data
     * @return int
     */
    public function prepend($path, $data)
    {
        if ($this->exists($path)) {
            return $this->put($path, $data.$this->get($path));
        }
 
        return $this->put($path, $data);
    }
 
    /**
     * Append to a file.
Arguments
  1. "file_put_contents(): Only 0 of 285 bytes written, possibly out of free disk space"
    
/
var
/
www
/
html
/
usetrue
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Filesystem
/
Filesystem.php
     *
     * @param  string  $path
     * @return string
     */
    public function hash($path)
    {
        return md5_file($path);
    }
 
    /**
     * Write the contents of a file.
     *
     * @param  string  $path
     * @param  string  $contents
     * @param  bool  $lock
     * @return int
     */
    public function put($path, $contents, $lock = false)
    {
        return file_put_contents($path, $contents, $lock ? LOCK_EX : 0);
    }
 
    /**
     * Prepend to a file.
     *
     * @param  string  $path
     * @param  string  $data
     * @return int
     */
    public function prepend($path, $data)
    {
        if ($this->exists($path)) {
            return $this->put($path, $data.$this->get($path));
        }
 
        return $this->put($path, $data);
    }
 
    /**
     * Append to a file.
Arguments
  1. "/var/www/html/usetrue/storage/framework/sessions/Qy5hk3jFGfWFX0FLK17KmsrLWUqBHRVWUGcqV38l"
    
  2. "a:3:{s:6:"_token";s:40:"qhFzmOEBwBZTqVJUVuISYImkCmrhmc5BiTB483sg";s:9:"_previous";a:1:{s:3:"url";s:126:"https://api.usetrue.com/alert/latest/index.html?acc=BN40RzgLlWw6ZxLqavJVoEXep3MKd8&url=https%3A%2F%2Fmiraclecbdproducts.com%2F";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}a:3:{s:6:"_token";s:40:"qhFzmOEBwBZTqVJUVuISYImkCmrhmc5BiTB483sg";s:9:"_previous";a:1:{s:3:"url";s:126:"https://api.usetrue.com/alert/latest/index.html?acc=BN40"
    
  3. 2
    
/
var
/
www
/
html
/
usetrue
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Session
/
FileSessionHandler.php
    /**
     * {@inheritdoc}
     */
    public function read($sessionId)
    {
        if ($this->files->exists($path = $this->path.'/'.$sessionId)) {
            if (filemtime($path) >= Carbon::now()->subMinutes($this->minutes)->getTimestamp()) {
                return $this->files->get($path, true);
            }
        }
 
        return '';
    }
 
    /**
     * {@inheritdoc}
     */
    public function write($sessionId, $data)
    {
        $this->files->put($this->path.'/'.$sessionId, $data, true);
 
        return true;
    }
 
    /**
     * {@inheritdoc}
     */
    public function destroy($sessionId)
    {
        $this->files->delete($this->path.'/'.$sessionId);
 
        return true;
    }
 
    /**
     * {@inheritdoc}
     */
    public function gc($lifetime)
    {
        $files = Finder::create()
Arguments
  1. "/var/www/html/usetrue/storage/framework/sessions/Qy5hk3jFGfWFX0FLK17KmsrLWUqBHRVWUGcqV38l"
    
  2. "a:3:{s:6:"_token";s:40:"qhFzmOEBwBZTqVJUVuISYImkCmrhmc5BiTB483sg";s:9:"_previous";a:1:{s:3:"url";s:126:"https://api.usetrue.com/alert/latest/index.html?acc=BN40RzgLlWw6ZxLqavJVoEXep3MKd8&url=https%3A%2F%2Fmiraclecbdproducts.com%2F";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}a:3:{s:6:"_token";s:40:"qhFzmOEBwBZTqVJUVuISYImkCmrhmc5BiTB483sg";s:9:"_previous";a:1:{s:3:"url";s:126:"https://api.usetrue.com/alert/latest/index.html?acc=BN40"
    
  3. true
    
/
var
/
www
/
html
/
usetrue
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Session
/
Store.php
     *
     * @param  string  $data
     * @return string
     */
    protected function prepareForUnserialize($data)
    {
        return $data;
    }
 
    /**
     * Save the session data to storage.
     *
     * @return bool
     */
    public function save()
    {
        $this->ageFlashData();
 
        $this->handler->write($this->getId(), $this->prepareForStorage(
            serialize($this->attributes)
        ));
 
        $this->started = false;
    }
 
    /**
     * Prepare the serialized session data for storage.
     *
     * @param  string  $data
     * @return string
     */
    protected function prepareForStorage($data)
    {
        return $data;
    }
 
    /**
     * Age the flash data for the session.
     *
     * @return void
Arguments
  1. "Qy5hk3jFGfWFX0FLK17KmsrLWUqBHRVWUGcqV38l"
    
  2. "a:3:{s:6:"_token";s:40:"qhFzmOEBwBZTqVJUVuISYImkCmrhmc5BiTB483sg";s:9:"_previous";a:1:{s:3:"url";s:126:"https://api.usetrue.com/alert/latest/index.html?acc=BN40RzgLlWw6ZxLqavJVoEXep3MKd8&url=https%3A%2F%2Fmiraclecbdproducts.com%2F";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}a:3:{s:6:"_token";s:40:"qhFzmOEBwBZTqVJUVuISYImkCmrhmc5BiTB483sg";s:9:"_previous";a:1:{s:3:"url";s:126:"https://api.usetrue.com/alert/latest/index.html?acc=BN40"
    
/
var
/
www
/
html
/
usetrue
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Session
/
Middleware
/
StartSession.php
        if ($this->sessionConfigured()) {
            $this->storeCurrentUrl($request, $session);
 
            $this->addCookieToResponse($response, $session);
        }
 
        return $response;
    }
 
    /**
     * Perform any final actions for the request lifecycle.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Symfony\Component\HttpFoundation\Response  $response
     * @return void
     */
    public function terminate($request, $response)
    {
        if ($this->sessionHandled && $this->sessionConfigured() && ! $this->usingCookieSessions()) {
            $this->manager->driver()->save();
        }
    }
 
    /**
     * Start the session for the given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Contracts\Session\Session
     */
    protected function startSession(Request $request)
    {
        return tap($this->getSession($request), function ($session) use ($request) {
            $session->setRequestOnHandler($request);
 
            $session->start();
        });
    }
 
    /**
     * Get the session implementation from the manager.
/
var
/
www
/
html
/
usetrue
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
     * @return void
     */
    protected function terminateMiddleware($request, $response)
    {
        $middlewares = $this->app->shouldSkipMiddleware() ? [] : array_merge(
            $this->gatherRouteMiddleware($request),
            $this->middleware
        );
 
        foreach ($middlewares as $middleware) {
            if (! is_string($middleware)) {
                continue;
            }
 
            list($name) = $this->parseMiddleware($middleware);
 
            $instance = $this->app->make($name);
 
            if (method_exists($instance, 'terminate')) {
                $instance->terminate($request, $response);
            }
        }
    }
 
    /**
     * Gather the route middleware for the given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    protected function gatherRouteMiddleware($request)
    {
        if ($route = $request->route()) {
            return $this->router->gatherRouteMiddleware($route);
        }
 
        return [];
    }
 
    /**
Arguments
  1. 0 of 0
    Request {#42 #json: null #convertedFiles: null #userResolver: Closure {#343 class: "Illuminate\Auth\AuthServiceProvider" this: AuthServiceProvider {#41 …} parameters: { $guard: { default: null } } use: { $app: Application {#2 …} } } #routeResolver: Closure {#331 class: "Illuminate\Routing\Router" this: Router {#25 …} use: { $route: Route {#250 …} } } +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:7 [ 0 => "text/html" 1 => "application/xhtml+xml" 2 => "image/webp" 3 => "image/apng" 4 => "application/xml" 5 => "application/signed-exchange" 6 => "*/*" ] #pathInfo: "/alert/latest/index.html" #requestUri: "/alert/latest/index.html?url=https%3A%2F%2Fmiraclecbdproducts.com%2F&acc=BN40RzgLlWw6ZxLqavJVoEXep3MKd8" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: Store {#418} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
  2. 0 of 0
    Response {#678}
/
var
/
www
/
html
/
usetrue
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
     */
    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.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Http\Response  $response
     * @return void
     */
    protected function terminateMiddleware($request, $response)
    {
        $middlewares = $this->app->shouldSkipMiddleware() ? [] : array_merge(
            $this->gatherRouteMiddleware($request),
            $this->middleware
        );
 
        foreach ($middlewares as $middleware) {
            if (! is_string($middleware)) {
Arguments
  1. 0 of 0
    Request {#42 #json: null #convertedFiles: null #userResolver: Closure {#343 class: "Illuminate\Auth\AuthServiceProvider" this: AuthServiceProvider {#41 …} parameters: { $guard: { default: null } } use: { $app: Application {#2 …} } } #routeResolver: Closure {#331 class: "Illuminate\Routing\Router" this: Router {#25 …} use: { $route: Route {#250 …} } } +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:7 [ 0 => "text/html" 1 => "application/xhtml+xml" 2 => "image/webp" 3 => "image/apng" 4 => "application/xml" 5 => "application/signed-exchange" 6 => "*/*" ] #pathInfo: "/alert/latest/index.html" #requestUri: "/alert/latest/index.html?url=https%3A%2F%2Fmiraclecbdproducts.com%2F&acc=BN40RzgLlWw6ZxLqavJVoEXep3MKd8" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: Store {#418} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
  2. 0 of 0
    Response {#678}
/
var
/
www
/
html
/
usetrue
/
public
/
index.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. 0 of 0
    Request {#42 #json: null #convertedFiles: null #userResolver: Closure {#343 class: "Illuminate\Auth\AuthServiceProvider" this: AuthServiceProvider {#41 …} parameters: { $guard: { default: null } } use: { $app: Application {#2 …} } } #routeResolver: Closure {#331 class: "Illuminate\Routing\Router" this: Router {#25 …} use: { $route: Route {#250 …} } } +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:7 [ 0 => "text/html" 1 => "application/xhtml+xml" 2 => "image/webp" 3 => "image/apng" 4 => "application/xml" 5 => "application/signed-exchange" 6 => "*/*" ] #pathInfo: "/alert/latest/index.html" #requestUri: "/alert/latest/index.html?url=https%3A%2F%2Fmiraclecbdproducts.com%2F&acc=BN40RzgLlWw6ZxLqavJVoEXep3MKd8" #baseUrl: "" #basePath: null #method: "GET" #format: null #session: Store {#418} #locale: null #defaultLocale: "en" -isHostValid: true -isForwardedValid: true basePath: "" format: "html" }
  2. 0 of 0
    Response {#678}

Environment & details:

Key Value
url
"https://miraclecbdproducts.com/"
acc
"BN40RzgLlWw6ZxLqavJVoEXep3MKd8"
empty
empty
empty
empty
Key Value
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"api.usetrue.com"
REDIRECT_STATUS
"200"
HTTPS
"on"
SSL_TLS_SNI
"api.usetrue.com"
HTTP_HOST
"api.usetrue.com"
HTTP_CONNECTION
"keep-alive"
HTTP_UPGRADE_INSECURE_REQUESTS
"1"
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
HTTP_SEC_FETCH_DEST
"iframe"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"
HTTP_SEC_FETCH_SITE
"cross-site"
HTTP_SEC_FETCH_MODE
"navigate"
HTTP_REFERER
"https://miraclecbdproducts.com/"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.9,pt-PT;q=0.8,pt;q=0.7,th;q=0.6,da;q=0.5,he;q=0.4,it;q=0.3"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
SERVER_SIGNATURE
"<address>Apache/2.4.34 (Ubuntu) Server at api.usetrue.com Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.34 (Ubuntu)"
SERVER_NAME
"api.usetrue.com"
SERVER_ADDR
"165.227.218.136"
SERVER_PORT
"443"
REMOTE_ADDR
"39.50.249.100"
DOCUMENT_ROOT
"/var/www/html/usetrue/public/"
REQUEST_SCHEME
"https"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/var/www/html/usetrue/public/"
SERVER_ADMIN
"webmaster@localhost"
SCRIPT_FILENAME
"/var/www/html/usetrue/public/index.php"
REMOTE_PORT
"54523"
REDIRECT_URL
"/alert/latest/index.html"
REDIRECT_QUERY_STRING
"url=https%3A%2F%2Fmiraclecbdproducts.com%2F&acc=BN40RzgLlWw6ZxLqavJVoEXep3MKd8"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
"url=https%3A%2F%2Fmiraclecbdproducts.com%2F&acc=BN40RzgLlWw6ZxLqavJVoEXep3MKd8"
REQUEST_URI
"/alert/latest/index.html?url=https%3A%2F%2Fmiraclecbdproducts.com%2F&acc=BN40RzgLlWw6ZxLqavJVoEXep3MKd8"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1582763489.794
REQUEST_TIME
1582763489
APP_NAME
"Usetrue"
APP_ENV
"local"
APP_KEY
"base64:CnMKG25Yj9HNUSWGau1nNGvKsIiW/HCIcmAVodMYOws="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"https://app.usetrue.com"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"usetrue"
DB_USERNAME
"usetrue"
DB_PASSWORD
"shM9p22#ZWijxwsp"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"sendmail"
MAIL_HOST
"smtp.gmail.com"
MAIL_PORT
"587"
MAIL_USERNAME
"emails@usetrue.com"
MAIL_PASSWORD
"4d=jW7AT"
MAIL_ENCRYPTION
"tls"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
MINDBODY_SOURCE_NAME
"usetrueapi"
MINDBODY_APIKEY
"nUA2z/cLfxmhAUiw6wzvphylI0A="
STRIPE_KEY
"pk_live_SH0JDKtlOuiIRua9DuBGcYRm"
STRIPE_SECRET
"sk_live_Pf7HkFnhA5fAwv3n99MhbViB"
PEACHY_URL
"https://app.usetrue.com"
Key Value
APP_NAME
"Usetrue"
APP_ENV
"local"
APP_KEY
"base64:CnMKG25Yj9HNUSWGau1nNGvKsIiW/HCIcmAVodMYOws="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"https://app.usetrue.com"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"usetrue"
DB_USERNAME
"usetrue"
DB_PASSWORD
"shM9p22#ZWijxwsp"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"sendmail"
MAIL_HOST
"smtp.gmail.com"
MAIL_PORT
"587"
MAIL_USERNAME
"emails@usetrue.com"
MAIL_PASSWORD
"4d=jW7AT"
MAIL_ENCRYPTION
"tls"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
MINDBODY_SOURCE_NAME
"usetrueapi"
MINDBODY_APIKEY
"nUA2z/cLfxmhAUiw6wzvphylI0A="
STRIPE_KEY
"pk_live_SH0JDKtlOuiIRua9DuBGcYRm"
STRIPE_SECRET
"sk_live_Pf7HkFnhA5fAwv3n99MhbViB"
PEACHY_URL
"https://app.usetrue.com"
0. Whoops\Handler\PrettyPageHandler