Illuminate \ Database \ QueryException (1049)
SQLSTATE[HY000] [1049] Unknown database 'lifeisbetter' (SQL: select * from information_schema.tables where table_schema = lifeisbetter and table_name = settings and table_type = 'BASE TABLE')
Previous exceptions
  • SQLSTATE[HY000] [1049] Unknown database 'lifeisbetter' (1049)
  • SQLSTATE[HY000] [1049] Unknown database 'lifeisbetter' (1049)
Illuminate\Database\QueryException thrown with message "SQLSTATE[HY000] [1049] Unknown database 'lifeisbetter' (SQL: select * from information_schema.tables where table_schema = lifeisbetter and table_name = settings and table_type = 'BASE TABLE')" Stacktrace: #36 Illuminate\Database\QueryException in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Connection.php:665 #35 Illuminate\Foundation\Application:Illuminate\Foundation\{closure} in [internal]:0 #34 Doctrine\DBAL\Driver\PDOException in /home/forge/lifeisbetter.today/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31 #33 Illuminate\Foundation\Application:Illuminate\Foundation\{closure} in [internal]:0 #32 PDOException in /home/forge/lifeisbetter.today/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27 #31 PDO:__construct in /home/forge/lifeisbetter.today/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27 #30 Doctrine\DBAL\Driver\PDOConnection:__construct in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:67 #29 Illuminate\Database\Connectors\Connector:createPdoConnection in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:46 #28 Illuminate\Database\Connectors\Connector:createConnection in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php:24 #27 Illuminate\Database\Connectors\MySqlConnector:connect in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:182 #26 Illuminate\Database\Connectors\ConnectionFactory:Illuminate\Database\Connectors\{closure} in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Connection.php:920 #25 call_user_func in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Connection.php:920 #24 Illuminate\Database\Connection:getPdo in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Connection.php:945 #23 Illuminate\Database\Connection:getReadPdo in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Connection.php:400 #22 Illuminate\Database\Connection:getPdoForSelect in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Connection.php:326 #21 Illuminate\Database\Connection:Illuminate\Database\{closure} in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Connection.php:658 #20 Illuminate\Database\Connection:runQueryCallback in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Connection.php:625 #19 Illuminate\Database\Connection:run in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Connection.php:334 #18 Illuminate\Database\Connection:select in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Schema/MySqlBuilder.php:18 #17 Illuminate\Database\Schema\MySqlBuilder:hasTable in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:245 #16 Illuminate\Support\Facades\Facade:__callStatic in /home/forge/lifeisbetter.today/app/Providers/AppServiceProvider.php:41 #15 App\Providers\AppServiceProvider:boot in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:32 #14 call_user_func_array in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:32 #13 Illuminate\Container\BoundMethod:Illuminate\Container\{closure} in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Container/Util.php:34 #12 Illuminate\Container\Util:unwrapIfClosure in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:90 #11 Illuminate\Container\BoundMethod:callBoundMethod in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:34 #10 Illuminate\Container\BoundMethod:call in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Container/Container.php:590 #9 Illuminate\Container\Container:call in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:828 #8 Illuminate\Foundation\Application:bootProvider in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:811 #7 Illuminate\Foundation\Application:Illuminate\Foundation\{closure} in [internal]:0 #6 array_walk in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:812 #5 Illuminate\Foundation\Application:boot in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17 #4 Illuminate\Foundation\Bootstrap\BootProviders:bootstrap in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:211 #3 Illuminate\Foundation\Application:bootstrapWith in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:162 #2 Illuminate\Foundation\Http\Kernel:bootstrap in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:146 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 #0 Illuminate\Foundation\Http\Kernel:handle in /home/forge/lifeisbetter.today/public/index.php:55
36
Illuminate\Database\QueryException
/vendor/laravel/framework/src/Illuminate/Database/Connection.php665
35
Illuminate\Foundation\Application Illuminate\Foundation\{closure}
[internal]0
34
Doctrine\DBAL\Driver\PDOException
/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php31
33
Illuminate\Foundation\Application Illuminate\Foundation\{closure}
[internal]0
32
PDOException
/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php27
31
PDO __construct
/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php27
30
Doctrine\DBAL\Driver\PDOConnection __construct
/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php67
29
Illuminate\Database\Connectors\Connector createPdoConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php46
28
Illuminate\Database\Connectors\Connector createConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/MySqlConnector.php24
27
Illuminate\Database\Connectors\MySqlConnector connect
/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php182
26
Illuminate\Database\Connectors\ConnectionFactory Illuminate\Database\Connectors\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Connection.php920
25
call_user_func
/vendor/laravel/framework/src/Illuminate/Database/Connection.php920
24
Illuminate\Database\Connection getPdo
/vendor/laravel/framework/src/Illuminate/Database/Connection.php945
23
Illuminate\Database\Connection getReadPdo
/vendor/laravel/framework/src/Illuminate/Database/Connection.php400
22
Illuminate\Database\Connection getPdoForSelect
/vendor/laravel/framework/src/Illuminate/Database/Connection.php326
21
Illuminate\Database\Connection Illuminate\Database\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Connection.php658
20
Illuminate\Database\Connection runQueryCallback
/vendor/laravel/framework/src/Illuminate/Database/Connection.php625
19
Illuminate\Database\Connection run
/vendor/laravel/framework/src/Illuminate/Database/Connection.php334
18
Illuminate\Database\Connection select
/vendor/laravel/framework/src/Illuminate/Database/Schema/MySqlBuilder.php18
17
Illuminate\Database\Schema\MySqlBuilder hasTable
/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php245
16
Illuminate\Support\Facades\Facade __callStatic
/app/Providers/AppServiceProvider.php41
15
App\Providers\AppServiceProvider boot
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php32
14
call_user_func_array
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php32
13
Illuminate\Container\BoundMethod Illuminate\Container\{closure}
/vendor/laravel/framework/src/Illuminate/Container/Util.php34
12
Illuminate\Container\Util unwrapIfClosure
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php90
11
Illuminate\Container\BoundMethod callBoundMethod
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php34
10
Illuminate\Container\BoundMethod call
/vendor/laravel/framework/src/Illuminate/Container/Container.php590
9
Illuminate\Container\Container call
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php828
8
Illuminate\Foundation\Application bootProvider
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php811
7
Illuminate\Foundation\Application Illuminate\Foundation\{closure}
[internal]0
6
array_walk
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php812
5
Illuminate\Foundation\Application boot
/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php17
4
Illuminate\Foundation\Bootstrap\BootProviders bootstrap
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php211
3
Illuminate\Foundation\Application bootstrapWith
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php162
2
Illuminate\Foundation\Http\Kernel bootstrap
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php146
1
Illuminate\Foundation\Http\Kernel sendRequestThroughRouter
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php116
0
Illuminate\Foundation\Http\Kernel handle
/public/index.php55
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Connection.php
     * @param  array     $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function runQueryCallback($query, $bindings, Closure $callback)
    {
        // To execute the statement, we'll simply call the callback, which will actually
        // run the SQL against the PDO connection. Then we can calculate the time it
        // took to execute and log the query SQL, bindings and time in our memory.
        try {
            $result = $callback($query, $bindings);
        }
 
        // If an exception occurs when attempting to run a query, we'll format the error
        // message to include the bindings with SQL, which will make this exception a
        // lot more helpful to the developer instead of just the database's errors.
        catch (Exception $e) {
            throw new QueryException(
                $query, $this->prepareBindings($bindings), $e
            );
        }
 
        return $result;
    }
 
    /**
     * Log a query in the connection's query log.
     *
     * @param  string  $query
     * @param  array   $bindings
     * @param  float|null  $time
     * @return void
     */
    public function logQuery($query, $bindings, $time = null)
    {
        $this->event(new QueryExecuted($query, $bindings, $time, $this));
 
        if ($this->loggingQueries) {
Arguments
  1. "SQLSTATE[HY000] [1049] Unknown database 'lifeisbetter' (SQL: select * from information_schema.tables where table_schema = lifeisbetter and table_name = settings and table_type = 'BASE TABLE')"
    
[internal]
Arguments
  1. App\Providers\AppServiceProvider {#165}
    
  2. 28
    
/home/forge/lifeisbetter.today/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
 * Used by all PDO-based drivers.
 */
class PDOConnection extends PDO implements Connection, ServerInfoAwareConnection
{
    /**
     * @param string       $dsn
     * @param string|null  $user
     * @param string|null  $password
     * @param mixed[]|null $options
     *
     * @throws PDOException In case of an error.
     */
    public function __construct($dsn, $user = null, $password = null, ?array $options = null)
    {
        try {
            parent::__construct($dsn, (string) $user, (string) $password, (array) $options);
            $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [PDOStatement::class, []]);
            $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function exec($statement)
    {
        try {
            return parent::exec($statement);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function getServerVersion()
    {
Arguments
  1. "SQLSTATE[HY000] [1049] Unknown database 'lifeisbetter'"
    
Exception message: SQLSTATE[HY000] [1049] Unknown database 'lifeisbetter'
[internal]
Arguments
  1. App\Providers\AppServiceProvider {#165}
    
  2. 28
    
/home/forge/lifeisbetter.today/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
use function func_get_args;
 
/**
 * PDO implementation of the Connection interface.
 * Used by all PDO-based drivers.
 */
class PDOConnection extends PDO implements Connection, ServerInfoAwareConnection
{
    /**
     * @param string       $dsn
     * @param string|null  $user
     * @param string|null  $password
     * @param mixed[]|null $options
     *
     * @throws PDOException In case of an error.
     */
    public function __construct($dsn, $user = null, $password = null, ?array $options = null)
    {
        try {
            parent::__construct($dsn, (string) $user, (string) $password, (array) $options);
            $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [PDOStatement::class, []]);
            $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function exec($statement)
    {
        try {
            return parent::exec($statement);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
Arguments
  1. "SQLSTATE[HY000] [1049] Unknown database 'lifeisbetter'"
    
Exception message: SQLSTATE[HY000] [1049] Unknown database 'lifeisbetter'
/home/forge/lifeisbetter.today/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php
use function func_get_args;
 
/**
 * PDO implementation of the Connection interface.
 * Used by all PDO-based drivers.
 */
class PDOConnection extends PDO implements Connection, ServerInfoAwareConnection
{
    /**
     * @param string       $dsn
     * @param string|null  $user
     * @param string|null  $password
     * @param mixed[]|null $options
     *
     * @throws PDOException In case of an error.
     */
    public function __construct($dsn, $user = null, $password = null, ?array $options = null)
    {
        try {
            parent::__construct($dsn, (string) $user, (string) $password, (array) $options);
            $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [PDOStatement::class, []]);
            $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function exec($statement)
    {
        try {
            return parent::exec($statement);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
Arguments
  1. "mysql:host=127.0.0.1;port=3306;dbname=lifeisbetter"
    
  2. "mbarrus"
    
  3. "r2d2r00lz"
    
  4. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php
        } catch (Exception $e) {
            return $this->tryAgainIfCausedByLostConnection(
                $e, $dsn, $username, $password, $options
            );
        }
    }
 
    /**
     * Create a new PDO connection instance.
     *
     * @param  string  $dsn
     * @param  string  $username
     * @param  string  $password
     * @param  array  $options
     * @return \PDO
     */
    protected function createPdoConnection($dsn, $username, $password, $options)
    {
        if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
            return new PDOConnection($dsn, $username, $password, $options);
        }
 
        return new PDO($dsn, $username, $password, $options);
    }
 
    /**
     * 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.
     *
Arguments
  1. "mysql:host=127.0.0.1;port=3306;dbname=lifeisbetter"
    
  2. "mbarrus"
    
  3. "r2d2r00lz"
    
  4. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php
 
    /**
     * Create a new PDO connection.
     *
     * @param  string  $dsn
     * @param  array   $config
     * @param  array   $options
     * @return \PDO
     *
     * @throws \Exception
     */
    public function createConnection($dsn, array $config, array $options)
    {
        [$username, $password] = [
            $config['username'] ?? null, $config['password'] ?? null,
        ];
 
        try {
            return $this->createPdoConnection(
                $dsn, $username, $password, $options
            );
        } catch (Exception $e) {
            return $this->tryAgainIfCausedByLostConnection(
                $e, $dsn, $username, $password, $options
            );
        }
    }
 
    /**
     * Create a new PDO connection instance.
     *
     * @param  string  $dsn
     * @param  string  $username
     * @param  string  $password
     * @param  array  $options
     * @return \PDO
     */
    protected function createPdoConnection($dsn, $username, $password, $options)
    {
        if (class_exists(PDOConnection::class) && ! $this->isPersistentConnection($options)) {
Arguments
  1. "mysql:host=127.0.0.1;port=3306;dbname=lifeisbetter"
    
  2. "mbarrus"
    
  3. "r2d2r00lz"
    
  4. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/home/forge/lifeisbetter.today/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=lifeisbetter"
    
  2. array:15 [
      "driver" => "mysql"
      "host" => "127.0.0.1"
      "port" => "3306"
      "database" => "lifeisbetter"
      "username" => "mbarrus"
      "password" => "r2d2r00lz"
      "unix_socket" => ""
      "charset" => "utf8mb4"
      "collation" => "utf8mb4_unicode_ci"
      "prefix" => ""
      "prefix_indexes" => true
      "strict" => true
      "engine" => null
      "options" => []
      "name" => "mysql"
    ]
    
  3. array:5 [
      8 => 0
      3 => 2
      11 => 0
      17 => false
      20 => false
    ]
    
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php
    {
        return array_key_exists('host', $config)
                            ? $this->createPdoResolverWithHosts($config)
                            : $this->createPdoResolverWithoutHosts($config);
    }
 
    /**
     * Create a new Closure that resolves to a PDO instance with a specific host or an array of hosts.
     *
     * @param  array  $config
     * @return \Closure
     */
    protected function createPdoResolverWithHosts(array $config)
    {
        return function () use ($config) {
            foreach (Arr::shuffle($hosts = $this->parseHosts($config)) as $key => $host) {
                $config['host'] = $host;
 
                try {
                    return $this->createConnector($config)->connect($config);
                } catch (PDOException $e) {
                    continue;
                }
            }
 
            throw $e;
        };
    }
 
    /**
     * Parse the hosts configuration item into an array.
     *
     * @param  array  $config
     * @return array
     */
    protected function parseHosts(array $config)
    {
        $hosts = Arr::wrap($config['host']);
 
        if (empty($hosts)) {
Arguments
  1. array:15 [
      "driver" => "mysql"
      "host" => "127.0.0.1"
      "port" => "3306"
      "database" => "lifeisbetter"
      "username" => "mbarrus"
      "password" => "r2d2r00lz"
      "unix_socket" => ""
      "charset" => "utf8mb4"
      "collation" => "utf8mb4_unicode_ci"
      "prefix" => ""
      "prefix_indexes" => true
      "strict" => true
      "engine" => null
      "options" => []
      "name" => "mysql"
    ]
    
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Connection.php
            $this->doctrineConnection = new DoctrineConnection(array_filter([
                'pdo' => $this->getPdo(),
                'dbname' => $this->getConfig('database'),
                'driver' => $driver->getName(),
                'serverVersion' => $this->getConfig('server_version'),
            ]), $driver);
        }
 
        return $this->doctrineConnection;
    }
 
    /**
     * Get the current PDO connection.
     *
     * @return \PDO
     */
    public function getPdo()
    {
        if ($this->pdo instanceof Closure) {
            return $this->pdo = call_user_func($this->pdo);
        }
 
        return $this->pdo;
    }
 
    /**
     * Get the current PDO connection used for reading.
     *
     * @return \PDO
     */
    public function getReadPdo()
    {
        if ($this->transactions > 0) {
            return $this->getPdo();
        }
 
        if ($this->recordsModified && $this->getConfig('sticky')) {
            return $this->getPdo();
        }
 
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Connection.php
            $this->doctrineConnection = new DoctrineConnection(array_filter([
                'pdo' => $this->getPdo(),
                'dbname' => $this->getConfig('database'),
                'driver' => $driver->getName(),
                'serverVersion' => $this->getConfig('server_version'),
            ]), $driver);
        }
 
        return $this->doctrineConnection;
    }
 
    /**
     * Get the current PDO connection.
     *
     * @return \PDO
     */
    public function getPdo()
    {
        if ($this->pdo instanceof Closure) {
            return $this->pdo = call_user_func($this->pdo);
        }
 
        return $this->pdo;
    }
 
    /**
     * Get the current PDO connection used for reading.
     *
     * @return \PDO
     */
    public function getReadPdo()
    {
        if ($this->transactions > 0) {
            return $this->getPdo();
        }
 
        if ($this->recordsModified && $this->getConfig('sticky')) {
            return $this->getPdo();
        }
 
Arguments
  1. Closure() {#261 …4}
    
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Connection.php
    /**
     * Get the current PDO connection used for reading.
     *
     * @return \PDO
     */
    public function getReadPdo()
    {
        if ($this->transactions > 0) {
            return $this->getPdo();
        }
 
        if ($this->recordsModified && $this->getConfig('sticky')) {
            return $this->getPdo();
        }
 
        if ($this->readPdo instanceof Closure) {
            return $this->readPdo = call_user_func($this->readPdo);
        }
 
        return $this->readPdo ?: $this->getPdo();
    }
 
    /**
     * Set the PDO connection.
     *
     * @param  \PDO|\Closure|null  $pdo
     * @return $this
     */
    public function setPdo($pdo)
    {
        $this->transactions = 0;
 
        $this->pdo = $pdo;
 
        return $this;
    }
 
    /**
     * Set the PDO connection used for reading.
     *
/home/forge/lifeisbetter.today/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
/home/forge/lifeisbetter.today/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
    
/home/forge/lifeisbetter.today/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 information_schema.tables where table_schema = ? and table_name = ? and table_type = 'BASE TABLE'"
    
  2. array:2 [
      0 => "lifeisbetter"
      1 => "settings"
    ]
    
/home/forge/lifeisbetter.today/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 information_schema.tables where table_schema = ? and table_name = ? and table_type = 'BASE TABLE'"
    
  2. array:2 [
      0 => "lifeisbetter"
      1 => "settings"
    ]
    
  3. Closure($query, $bindings) {#284 …4}
    
/home/forge/lifeisbetter.today/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 information_schema.tables where table_schema = ? and table_name = ? and table_type = 'BASE TABLE'"
    
  2. array:2 [
      0 => "lifeisbetter"
      1 => "settings"
    ]
    
  3. Closure($query, $bindings) {#284 …4}
    
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Database/Schema/MySqlBuilder.php
<?php
 
namespace Illuminate\Database\Schema;
 
class MySqlBuilder extends Builder
{
    /**
     * Determine if the given table exists.
     *
     * @param  string  $table
     * @return bool
     */
    public function hasTable($table)
    {
        $table = $this->connection->getTablePrefix().$table;
 
        return count($this->connection->select(
            $this->grammar->compileTableExists(), [$this->connection->getDatabaseName(), $table]
        )) > 0;
    }
 
    /**
     * Get the column listing for a given table.
     *
     * @param  string  $table
     * @return array
     */
    public function getColumnListing($table)
    {
        $table = $this->connection->getTablePrefix().$table;
 
        $results = $this->connection->select(
            $this->grammar->compileColumnListing(), [$this->connection->getDatabaseName(), $table]
        );
 
        return $this->connection->getPostProcessor()->processColumnListing($results);
    }
 
    /**
     * Drop all tables from the database.
Arguments
  1. "select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = 'BASE TABLE'"
    
  2. array:2 [
      0 => "lifeisbetter"
      1 => "settings"
    ]
    
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php
    }
 
    /**
     * Handle dynamic, static calls to the object.
     *
     * @param  string  $method
     * @param  array   $args
     * @return mixed
     *
     * @throws \RuntimeException
     */
    public static function __callStatic($method, $args)
    {
        $instance = static::getFacadeRoot();
 
        if (! $instance) {
            throw new RuntimeException('A facade root has not been set.');
        }
 
        return $instance->$method(...$args);
    }
}
 
Arguments
  1. "settings"
    
/home/forge/lifeisbetter.today/app/Providers/AppServiceProvider.php
    }
 
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        Schema::defaultStringLength(191);
 
        Blade::directive('lang_u', function ($s) {
            //Inside of blade, use @lang_u("user::app.role")
 
            return "<?php echo ucfirst(trans($s)); ?>";
        });
 
        if (isset($_SERVER[ 'HTTP_HOST' ])) {
            if( Module::isEnabled( 'core' ) ) {
                if (Schema::hasTable('settings')) {
                    $settings = \App\Modules\Core\Models\Setting::all();
                    //dd($site_settings);
                    foreach ($settings as $setting) {
                        if( $setting->value != "" ) {
                            if( $setting->encrypt ) {
                                $setting->value = Crypt::decryptString( $setting->value );
                            }
                            Config::set($setting->scope . "." . $setting->name, $setting->value);
                        }
                    }
                }
            }
        }
 
        if ($this->app->runningInConsole()) {
            if( Module::isEnabled( 'core' ) ) {
 
            }
        }
    }
Arguments
  1. "hasTable"
    
  2. array:1 [
      0 => "settings"
    ]
    
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \ReflectionException
     * @throws \InvalidArgumentException
     */
    public static function call($container, $callback, array $parameters = [], $defaultMethod = null)
    {
        if (static::isCallableWithAtSign($callback) || $defaultMethod) {
            return static::callClass($container, $callback, $parameters, $defaultMethod);
        }
 
        return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
            return call_user_func_array(
                $callback, static::getMethodDependencies($container, $callback, $parameters)
            );
        });
    }
 
    /**
     * Call a string reference to a class using Class@method syntax.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  string  $target
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \InvalidArgumentException
     */
    protected static function callClass($container, $target, array $parameters = [], $defaultMethod = null)
    {
        $segments = explode('@', $target);
 
        // We will assume an @ sign is used to delimit the class name from the method
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \ReflectionException
     * @throws \InvalidArgumentException
     */
    public static function call($container, $callback, array $parameters = [], $defaultMethod = null)
    {
        if (static::isCallableWithAtSign($callback) || $defaultMethod) {
            return static::callClass($container, $callback, $parameters, $defaultMethod);
        }
 
        return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
            return call_user_func_array(
                $callback, static::getMethodDependencies($container, $callback, $parameters)
            );
        });
    }
 
    /**
     * Call a string reference to a class using Class@method syntax.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  string  $target
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \InvalidArgumentException
     */
    protected static function callClass($container, $target, array $parameters = [], $defaultMethod = null)
    {
        $segments = explode('@', $target);
 
        // We will assume an @ sign is used to delimit the class name from the method
Arguments
  1. array:2 [
      0 => App\Providers\AppServiceProvider {#165}
      1 => "boot"
    ]
    
  2. []
    
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Container/Util.php
    public static function arrayWrap($value)
    {
        if (is_null($value)) {
            return [];
        }
 
        return is_array($value) ? $value : [$value];
    }
 
    /**
     * Return the default value of the given value.
     *
     * From global value() helper in Illuminate\Support.
     *
     * @param  mixed  $value
     * @return mixed
     */
    public static function unwrapIfClosure($value)
    {
        return $value instanceof \Closure ? $value() : $value;
    }
}
 
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
     * @param  callable  $callback
     * @param  mixed  $default
     * @return mixed
     */
    protected static function callBoundMethod($container, $callback, $default)
    {
        if (! is_array($callback)) {
            return Util::unwrapIfClosure($default);
        }
 
        // Here we need to turn the array callable into a Class@method string we can use to
        // examine the container and see if there are any method bindings for this given
        // method. If there are, we can call this method binding callback immediately.
        $method = static::normalizeMethod($callback);
 
        if ($container->hasMethodBinding($method)) {
            return $container->callMethodBinding($method, $callback[0]);
        }
 
        return Util::unwrapIfClosure($default);
    }
 
    /**
     * Normalize the given callback into a Class@method string.
     *
     * @param  callable  $callback
     * @return string
     */
    protected static function normalizeMethod($callback)
    {
        $class = is_string($callback[0]) ? $callback[0] : get_class($callback[0]);
 
        return "{$class}@{$callback[1]}";
    }
 
    /**
     * Get all dependencies for a given method.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  callable|string  $callback
Arguments
  1. Closure() {#40 …3}
    
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
     * @param  \Illuminate\Container\Container  $container
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \ReflectionException
     * @throws \InvalidArgumentException
     */
    public static function call($container, $callback, array $parameters = [], $defaultMethod = null)
    {
        if (static::isCallableWithAtSign($callback) || $defaultMethod) {
            return static::callClass($container, $callback, $parameters, $defaultMethod);
        }
 
        return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
            return call_user_func_array(
                $callback, static::getMethodDependencies($container, $callback, $parameters)
            );
        });
    }
 
    /**
     * Call a string reference to a class using Class@method syntax.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  string  $target
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \InvalidArgumentException
     */
    protected static function callClass($container, $target, array $parameters = [], $defaultMethod = null)
    {
        $segments = explode('@', $target);
 
        // We will assume an @ sign is used to delimit the class name from the method
        // name. We will split on this @ sign and then build a callable array that
        // we can pass right back into the "call" method for dependency binding.
Arguments
  1. Illuminate\Foundation\Application {#2}
    
  2. array:2 [
      0 => App\Providers\AppServiceProvider {#165}
      1 => "boot"
    ]
    
  3. Closure() {#40 …3}
    
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Container/Container.php
     * @return \Closure
     */
    public function wrap(Closure $callback, array $parameters = [])
    {
        return function () use ($callback, $parameters) {
            return $this->call($callback, $parameters);
        };
    }
 
    /**
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     */
    public function call($callback, array $parameters = [], $defaultMethod = null)
    {
        return BoundMethod::call($this, $callback, $parameters, $defaultMethod);
    }
 
    /**
     * Get a closure to resolve the given type from the container.
     *
     * @param  string  $abstract
     * @return \Closure
     */
    public function factory($abstract)
    {
        return function () use ($abstract) {
            return $this->make($abstract);
        };
    }
 
    /**
     * An alias function name for make().
     *
     * @param  string  $abstract
     * @param  array  $parameters
Arguments
  1. Illuminate\Foundation\Application {#2}
    
  2. array:2 [
      0 => App\Providers\AppServiceProvider {#165}
      1 => "boot"
    ]
    
  3. []
    
  4. null
    
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
 
        array_walk($this->serviceProviders, function ($p) {
            $this->bootProvider($p);
        });
 
        $this->booted = true;
 
        $this->fireAppCallbacks($this->bootedCallbacks);
    }
 
    /**
     * Boot the given service provider.
     *
     * @param  \Illuminate\Support\ServiceProvider  $provider
     * @return mixed
     */
    protected function bootProvider(ServiceProvider $provider)
    {
        if (method_exists($provider, 'boot')) {
            return $this->call([$provider, 'boot']);
        }
    }
 
    /**
     * Register a new boot listener.
     *
     * @param  callable  $callback
     * @return void
     */
    public function booting($callback)
    {
        $this->bootingCallbacks[] = $callback;
    }
 
    /**
     * Register a new "booted" listener.
     *
     * @param  callable  $callback
     * @return void
     */
Arguments
  1. array:2 [
      0 => App\Providers\AppServiceProvider {#165}
      1 => "boot"
    ]
    
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
    }
 
    /**
     * Boot the application's service providers.
     *
     * @return void
     */
    public function boot()
    {
        if ($this->isBooted()) {
            return;
        }
 
        // Once the application has booted we will also fire some "booted" callbacks
        // for any listeners that need to do work after this initial booting gets
        // finished. This is useful when ordering the boot-up processes we run.
        $this->fireAppCallbacks($this->bootingCallbacks);
 
        array_walk($this->serviceProviders, function ($p) {
            $this->bootProvider($p);
        });
 
        $this->booted = true;
 
        $this->fireAppCallbacks($this->bootedCallbacks);
    }
 
    /**
     * Boot the given service provider.
     *
     * @param  \Illuminate\Support\ServiceProvider  $provider
     * @return mixed
     */
    protected function bootProvider(ServiceProvider $provider)
    {
        if (method_exists($provider, 'boot')) {
            return $this->call([$provider, 'boot']);
        }
    }
 
Arguments
  1. App\Providers\AppServiceProvider {#165}
    
[internal]
Arguments
  1. App\Providers\AppServiceProvider {#165}
    
  2. 28
    
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
 
    /**
     * Boot the application's service providers.
     *
     * @return void
     */
    public function boot()
    {
        if ($this->isBooted()) {
            return;
        }
 
        // Once the application has booted we will also fire some "booted" callbacks
        // for any listeners that need to do work after this initial booting gets
        // finished. This is useful when ordering the boot-up processes we run.
        $this->fireAppCallbacks($this->bootingCallbacks);
 
        array_walk($this->serviceProviders, function ($p) {
            $this->bootProvider($p);
        });
 
        $this->booted = true;
 
        $this->fireAppCallbacks($this->bootedCallbacks);
    }
 
    /**
     * Boot the given service provider.
     *
     * @param  \Illuminate\Support\ServiceProvider  $provider
     * @return mixed
     */
    protected function bootProvider(ServiceProvider $provider)
    {
        if (method_exists($provider, 'boot')) {
            return $this->call([$provider, 'boot']);
        }
    }
 
    /**
Arguments
  1. array:55 [
      0 => Illuminate\Events\EventServiceProvider {#14}
      1 => Illuminate\Log\LogServiceProvider {#16}
      2 => Illuminate\Routing\RoutingServiceProvider {#18}
      3 => Illuminate\Auth\AuthServiceProvider {#52}
      4 => Illuminate\Cookie\CookieServiceProvider {#60}
      5 => Illuminate\Database\DatabaseServiceProvider {#62}
      6 => Illuminate\Encryption\EncryptionServiceProvider {#69}
      7 => Illuminate\Filesystem\FilesystemServiceProvider {#71}
      8 => Illuminate\Foundation\Providers\FormRequestServiceProvider {#77}
      9 => Illuminate\Foundation\Providers\FoundationServiceProvider {#76}
      10 => Illuminate\Notifications\NotificationServiceProvider {#80}
      11 => Illuminate\Pagination\PaginationServiceProvider {#82}
      12 => Illuminate\Session\SessionServiceProvider {#86}
      13 => Illuminate\View\ViewServiceProvider {#90}
      14 => Barryvdh\Elfinder\ElfinderServiceProvider {#94}
      15 => BeyondCode\DumpServer\DumpServerServiceProvider {#97}
      16 => Biscolab\ReCaptcha\ReCaptchaServiceProvider {#105}
      17 => Caffeinated\Modules\Providers\ConsoleServiceProvider {#106}
      18 => Caffeinated\Modules\Providers\GeneratorServiceProvider {#127}
      19 => Caffeinated\Modules\Providers\BladeServiceProvider {#150}
      20 => Caffeinated\Modules\ModulesServiceProvider {#108}
      21 => Fideloper\Proxy\TrustedProxyServiceProvider {#153}
      22 => Intervention\Image\ImageServiceProvider {#154}
      23 => Laravel\Tinker\TinkerServiceProvider {#157}
      24 => Carbon\Laravel\ServiceProvider {#160}
      25 => NunoMaduro\Collision\Adapters\Laravel\CollisionServiceProvider {#161}
      26 => Spatie\Permission\PermissionServiceProvider {#162}
      27 => Spatie\Sitemap\SitemapServiceProvider {#164}
      28 => App\Providers\AppServiceProvider {#165}
      29 => App\Providers\AuthServiceProvider {#166}
      30 => App\Providers\EventServiceProvider {#167}
      31 => App\Providers\RouteServiceProvider {#168}
      32 => App\Providers\BladeMenuServiceProvider {#169}
      33 => Illuminate\Translation\TranslationServiceProvider {#193}
      34 => Illuminate\Validation\ValidationServiceProvider {#199}
      35 => App\Modules\Comment\Providers\RouteServiceProvider {#212}
      36 => App\Modules\Comment\Providers\ModuleServiceProvider {#213}
      37 => App\Modules\Core\Providers\RouteServiceProvider {#215}
      38 => App\Modules\Core\Providers\ModuleServiceProvider {#216}
      39 => App\Modules\Menu\Providers\RouteServiceProvider {#218}
      40 => App\Modules\Menu\Providers\ModuleServiceProvider {#219}
      41 => App\Modules\Misc\Providers\RouteServiceProvider {#221}
      42 => App\Modules\Misc\Providers\ModuleServiceProvider {#222}
      43 => App\Modules\Post\Providers\RouteServiceProvider {#224}
      44 => App\Modules\Post\Providers\ModuleServiceProvider {#225}
      45 => App\Modules\Quote\Providers\RouteServiceProvider {#227}
      46 => App\Modules\Quote\Providers\ModuleServiceProvider {#228}
      47 => App\Modules\Seo\Providers\RouteServiceProvider {#232}
      48 => App\Modules\Seo\Providers\ModuleServiceProvider {#231}
      49 => App\Modules\User\Providers\RouteServiceProvider {#230}
      50 => App\Modules\User\Providers\ModuleServiceProvider {#233}
      51 => App\Modules\Page\Providers\RouteServiceProvider {#235}
      52 => App\Modules\Page\Providers\ModuleServiceProvider {#236}
      53 => Illuminate\Cache\CacheServiceProvider {#251}
      54 => Illuminate\Hashing\HashServiceProvider {#291}
    ]
    
  2. Closure($p) {#32 …4}
    
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php
<?php
 
namespace Illuminate\Foundation\Bootstrap;
 
use Illuminate\Contracts\Foundation\Application;
 
class BootProviders
{
    /**
     * Bootstrap the given application.
     *
     * @param  \Illuminate\Contracts\Foundation\Application  $app
     * @return void
     */
    public function bootstrap(Application $app)
    {
        $app->boot();
    }
}
 
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
    {
        $this->register(new EventServiceProvider($this));
        $this->register(new LogServiceProvider($this));
        $this->register(new RoutingServiceProvider($this));
    }
 
    /**
     * Run the given array of bootstrap classes.
     *
     * @param  string[]  $bootstrappers
     * @return void
     */
    public function bootstrapWith(array $bootstrappers)
    {
        $this->hasBeenBootstrapped = true;
 
        foreach ($bootstrappers as $bootstrapper) {
            $this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]);
 
            $this->make($bootstrapper)->bootstrap($this);
 
            $this['events']->dispatch('bootstrapped: '.$bootstrapper, [$this]);
        }
    }
 
    /**
     * Register a callback to run after loading the environment.
     *
     * @param  \Closure  $callback
     * @return void
     */
    public function afterLoadingEnvironment(Closure $callback)
    {
        return $this->afterBootstrapping(
            LoadEnvironmentVariables::class, $callback
        );
    }
 
    /**
     * Register a callback to run before a bootstrapper.
Arguments
  1. Illuminate\Foundation\Application {#2}
    
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
 
        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()
    {
        return function ($request) {
            $this->app->instance('request', $request);
 
            return $this->router->dispatch($request);
        };
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
Arguments
  1. array:6 [
      0 => "Illuminate\Foundation\Bootstrap\LoadEnvironmentVariables"
      1 => "Illuminate\Foundation\Bootstrap\LoadConfiguration"
      2 => "Illuminate\Foundation\Bootstrap\HandleExceptions"
      3 => "Illuminate\Foundation\Bootstrap\RegisterFacades"
      4 => "Illuminate\Foundation\Bootstrap\RegisterProviders"
      5 => "Illuminate\Foundation\Bootstrap\BootProviders"
    ]
    
/home/forge/lifeisbetter.today/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
        $this->app['events']->dispatch(
            new Events\RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    protected function sendRequestThroughRouter($request)
    {
        $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());
        }
    }
 
    /**
/home/forge/lifeisbetter.today/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. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: null
      #routeResolver: null
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: null
      #requestUri: "/post?page=3"
      #baseUrl: ""
      #basePath: null
      #method: null
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      pathInfo: "/post"
      basePath: ""
      method: "GET"
      format: "html"
    }
    
/home/forge/lifeisbetter.today/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. Illuminate\Http\Request {#51
      #json: null
      #convertedFiles: null
      #userResolver: null
      #routeResolver: null
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#53}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#59}
      +server: Symfony\Component\HttpFoundation\ServerBag {#55}
      +files: Symfony\Component\HttpFoundation\FileBag {#56}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#54}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#57}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: null
      #requestUri: "/post?page=3"
      #baseUrl: ""
      #basePath: null
      #method: null
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      pathInfo: "/post"
      basePath: ""
      method: "GET"
      format: "html"
    }
    

Environment & details:

Key Value
page
"3"
empty
empty
empty
empty
Key Value
USER
"forge"
HOME
"/home/forge"
HTTP_HOST
"lifeisbetter.today"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
REDIRECT_STATUS
"200"
SERVER_NAME
"lifeisbetter.today"
SERVER_PORT
"80"
SERVER_ADDR
"45.79.149.29"
REMOTE_PORT
"35360"
REMOTE_ADDR
"34.229.50.161"
SERVER_SOFTWARE
"nginx/1.14.0"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
DOCUMENT_ROOT
"/home/forge/lifeisbetter.today/public"
DOCUMENT_URI
"/index.php"
REQUEST_URI
"/post?page=3"
SCRIPT_NAME
"/index.php"
SCRIPT_FILENAME
"/home/forge/lifeisbetter.today/public/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
"page=3"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1711616150.3356
REQUEST_TIME
1711616150
APP_NAME
"Life's Better Today"
APP_ENV
"local"
APP_KEY
"base64:beCcA+8haBrmU/StY/XjEYJmzaPnjKTNW4xffungM7Q="
APP_PASSWORD
"eyJpdiI6IjRmcVVFQ0FyNGpibVZheDdUdnZ0blE9PSIsInZhbHVlIjoiajZqY1VLTWFvTzArb29SK2Q3Y3h4U0E2RFh6VVQ4M2tXbko1bTNzb2x2WT0iLCJtYWMiOiJhOGY2MjljZDgzN2VmNmIzNmFiYWMxYjg3YmNkOGFmMjJmMDBjMDg0M2M0ZGRhOTFhZjYxODFmYjE0YzQwOGM5In0="
APP_DEBUG
"true"
APP_URL
"https://lifeisbetter.today"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"lifeisbetter"
DB_USERNAME
"mbarrus"
DB_PASSWORD
"r2d2r00lz"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"mailgun"
MAIL_HOST
"smtp.mailtrap.io"
MAIL_PORT
"2525"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
MAILGUN_DOMAIN
"mg.lucasquinn.guru"
MAILGUN_SECRET
"key-30ecabca161d89ff5c512e8fc150b988"
MAIL_FROM_ADDRESS
"no-reply@lifeisbetter.today"
MAIL_FROM_NAME
"Life's Better Today"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
RECAPTCHA_SITE_KEY
"6LcPtrEUAAAAAFg3E60z6fI0y4lOaq045vA8HAn6"
RECAPTCHA_SECRET_KEY
"6LcPtrEUAAAAAJh4EaoMQJzekxIuyPKtTMNgMLO3"
GOOGLE_AD_CLIENT
"ca-pub-4719774662643461"
GOOGLE_ANALYTICS_ID
"UA-150279905-1"
Key Value
APP_NAME
"Life's Better Today"
APP_ENV
"local"
APP_KEY
"base64:beCcA+8haBrmU/StY/XjEYJmzaPnjKTNW4xffungM7Q="
APP_PASSWORD
"eyJpdiI6IjRmcVVFQ0FyNGpibVZheDdUdnZ0blE9PSIsInZhbHVlIjoiajZqY1VLTWFvTzArb29SK2Q3Y3h4U0E2RFh6VVQ4M2tXbko1bTNzb2x2WT0iLCJtYWMiOiJhOGY2MjljZDgzN2VmNmIzNmFiYWMxYjg3YmNkOGFmMjJmMDBjMDg0M2M0ZGRhOTFhZjYxODFmYjE0YzQwOGM5In0="
APP_DEBUG
"true"
APP_URL
"https://lifeisbetter.today"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"lifeisbetter"
DB_USERNAME
"mbarrus"
DB_PASSWORD
"r2d2r00lz"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"mailgun"
MAIL_HOST
"smtp.mailtrap.io"
MAIL_PORT
"2525"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
MAILGUN_DOMAIN
"mg.lucasquinn.guru"
MAILGUN_SECRET
"key-30ecabca161d89ff5c512e8fc150b988"
MAIL_FROM_ADDRESS
"no-reply@lifeisbetter.today"
MAIL_FROM_NAME
"Life's Better Today"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
RECAPTCHA_SITE_KEY
"6LcPtrEUAAAAAFg3E60z6fI0y4lOaq045vA8HAn6"
RECAPTCHA_SECRET_KEY
"6LcPtrEUAAAAAJh4EaoMQJzekxIuyPKtTMNgMLO3"
GOOGLE_AD_CLIENT
"ca-pub-4719774662643461"
GOOGLE_ANALYTICS_ID
"UA-150279905-1"
0. Whoops\Handler\PrettyPageHandler