Illuminate \ Database \ QueryException (42S02)
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'jointsmedicine_c.addons_modules' doesn't exist (SQL: select * from `addons_modules` where `installed` = 1 and `enabled` = 1) Illuminate\Database\QueryException thrown with message "SQLSTATE[42S02]: Base table or view not found: 1146 Table 'jointsmedicine_c.addons_modules' doesn't exist (SQL: select * from `addons_modules` where `installed` = 1 and `enabled` = 1)" Stacktrace: #29 Illuminate\Database\QueryException in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php:770 #28 Doctrine\DBAL\Driver\PDOException in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:79 #27 PDOException in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:77 #26 PDO:prepare in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:77 #25 Doctrine\DBAL\Driver\PDOConnection:prepare in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php:333 #24 Illuminate\Database\Connection:Illuminate\Database\{closure} in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php:763 #23 Illuminate\Database\Connection:runQueryCallback in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php:726 #22 Illuminate\Database\Connection:run in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php:351 #21 Illuminate\Database\Connection:select in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1648 #20 Illuminate\Database\Query\Builder:runSelect in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1634 #19 Illuminate\Database\Query\Builder:get in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:638 #18 Illuminate\Database\Eloquent\Builder:getModels in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:327 #17 Illuminate\Database\Eloquent\Builder:get in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/anomaly/streams-platform/src/Model/EloquentQueryBuilder.php:73 #16 Anomaly\Streams\Platform\Model\EloquentQueryBuilder:get in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/anomaly/streams-platform/src/Addon/Module/ModuleModel.php:84 #15 Anomaly\Streams\Platform\Addon\Module\ModuleModel:getEnabledNamespaces in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/anomaly/streams-platform/src/Addon/AddonManager.php:162 #14 Anomaly\Streams\Platform\Addon\AddonManager:Anomaly\Streams\Platform\Addon\{closure} in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Cache/Repository.php:316 #13 Illuminate\Cache\Repository:remember in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:301 #12 Illuminate\Cache\CacheManager:__call in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/anomaly/streams-platform/src/Model/EloquentModel.php:127 #11 Anomaly\Streams\Platform\Model\EloquentModel:cache in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/anomaly/streams-platform/src/Addon/AddonManager.php:163 #10 Anomaly\Streams\Platform\Addon\AddonManager:getEnabledAddonNamespaces in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/anomaly/streams-platform/src/Addon/AddonManager.php:101 #9 Anomaly\Streams\Platform\Addon\AddonManager:register in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/anomaly/streams-platform/src/StreamsServiceProvider.php:279 #8 Anomaly\Streams\Platform\StreamsServiceProvider:Anomaly\Streams\Platform\{closure} in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:808 #7 call_user_func in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:808 #6 Illuminate\Foundation\Application:fireAppCallbacks in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:757 #5 Illuminate\Foundation\Application:boot in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17 #4 Illuminate\Foundation\Bootstrap\BootProviders:bootstrap in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:203 #3 Illuminate\Foundation\Application:bootstrapWith in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:254 #2 Illuminate\Foundation\Http\Kernel:bootstrap in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:145 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:117 #0 Illuminate\Foundation\Http\Kernel:handle in /var/www/jointsmedicine_c/data/www/jointsmedicine.com/public/index.php:53
Stack frames (30)
29
Illuminate
\
Database
\
QueryException
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
770
28
Doctrine
\
DBAL
\
Driver
\
PDOException
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOConnection.php
79
27
PDOException
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOConnection.php
77
26
PDO
prepare
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOConnection.php
77
25
Doctrine
\
DBAL
\
Driver
\
PDOConnection
prepare
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
333
24
Illuminate
\
Database
\
Connection
Illuminate
\
Database
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
763
23
Illuminate
\
Database
\
Connection
runQueryCallback
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
726
22
Illuminate
\
Database
\
Connection
run
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
351
21
Illuminate
\
Database
\
Connection
select
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Query
/
Builder.php
1648
20
Illuminate
\
Database
\
Query
\
Builder
runSelect
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Query
/
Builder.php
1634
19
Illuminate
\
Database
\
Query
\
Builder
get
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Eloquent
/
Builder.php
638
18
Illuminate
\
Database
\
Eloquent
\
Builder
getModels
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Eloquent
/
Builder.php
327
17
Illuminate
\
Database
\
Eloquent
\
Builder
get
/
vendor
/
anomaly
/
streams-platform
/
src
/
Model
/
EloquentQueryBuilder.php
73
16
Anomaly
\
Streams
\
Platform
\
Model
\
EloquentQueryBuilder
get
/
vendor
/
anomaly
/
streams-platform
/
src
/
Addon
/
Module
/
ModuleModel.php
84
15
Anomaly
\
Streams
\
Platform
\
Addon
\
Module
\
ModuleModel
getEnabledNamespaces
/
vendor
/
anomaly
/
streams-platform
/
src
/
Addon
/
AddonManager.php
162
14
Anomaly
\
Streams
\
Platform
\
Addon
\
AddonManager
Anomaly
\
Streams
\
Platform
\
Addon
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Cache
/
Repository.php
316
13
Illuminate
\
Cache
\
Repository
remember
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Cache
/
CacheManager.php
301
12
Illuminate
\
Cache
\
CacheManager
__call
/
vendor
/
anomaly
/
streams-platform
/
src
/
Model
/
EloquentModel.php
127
11
Anomaly
\
Streams
\
Platform
\
Model
\
EloquentModel
cache
/
vendor
/
anomaly
/
streams-platform
/
src
/
Addon
/
AddonManager.php
163
10
Anomaly
\
Streams
\
Platform
\
Addon
\
AddonManager
getEnabledAddonNamespaces
/
vendor
/
anomaly
/
streams-platform
/
src
/
Addon
/
AddonManager.php
101
9
Anomaly
\
Streams
\
Platform
\
Addon
\
AddonManager
register
/
vendor
/
anomaly
/
streams-platform
/
src
/
StreamsServiceProvider.php
279
8
Anomaly
\
Streams
\
Platform
\
StreamsServiceProvider
Anomaly
\
Streams
\
Platform
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
808
7
call_user_func
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
808
6
Illuminate
\
Foundation
\
Application
fireAppCallbacks
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
757
5
Illuminate
\
Foundation
\
Application
boot
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Bootstrap
/
BootProviders.php
17
4
Illuminate
\
Foundation
\
Bootstrap
\
BootProviders
bootstrap
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
203
3
Illuminate
\
Foundation
\
Application
bootstrapWith
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
254
2
Illuminate
\
Foundation
\
Http
\
Kernel
bootstrap
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
145
1
Illuminate
\
Foundation
\
Http
\
Kernel
sendRequestThroughRouter
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
117
0
Illuminate
\
Foundation
\
Http
\
Kernel
handle
/
public
/
index.php
53
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
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($this, $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;
    }
 
    /**
     * Handle a query exception that occurred during query execution.
     *
     * @param  \Illuminate\Database\QueryException  $e
     * @param  string    $query
     * @param  array     $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function tryAgainIfCausedByLostConnection(QueryException $e, $query, $bindings, Closure $callback)
    {
Arguments
  1. "SQLSTATE[42S02]: Base table or view not found: 1146 Table 'jointsmedicine_c.addons_modules' doesn't exist (SQL: select * from `addons_modules` where `installed` = 1 and `enabled` = 1)"
    
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOConnection.php
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function getServerVersion()
    {
        return PDO::getAttribute(PDO::ATTR_SERVER_VERSION);
    }
 
    /**
     * {@inheritdoc}
     */
    public function prepare($prepareString, $driverOptions = array())
    {
        try {
            return parent::prepare($prepareString, $driverOptions);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function query()
    {
        $args = func_get_args();
        $argsCount = count($args);
 
        try {
            if ($argsCount == 4) {
                return parent::query($args[0], $args[1], $args[2], $args[3]);
            }
 
            if ($argsCount == 3) {
                return parent::query($args[0], $args[1], $args[2]);
            }
 
Arguments
  1. "SQLSTATE[42S02]: Base table or view not found: 1146 Table 'jointsmedicine_c.addons_modules' doesn't exist"
    
Exception message: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'jointsmedicine_c.addons_modules' doesn't exist
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOConnection.php
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function getServerVersion()
    {
        return PDO::getAttribute(PDO::ATTR_SERVER_VERSION);
    }
 
    /**
     * {@inheritdoc}
     */
    public function prepare($prepareString, $driverOptions = array())
    {
        try {
            return parent::prepare($prepareString, $driverOptions);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function query()
    {
        $args = func_get_args();
        $argsCount = count($args);
 
        try {
            if ($argsCount == 4) {
                return parent::query($args[0], $args[1], $args[2], $args[3]);
            }
 
            if ($argsCount == 3) {
                return parent::query($args[0], $args[1], $args[2]);
Arguments
  1. "SQLSTATE[42S02]: Base table or view not found: 1146 Table 'jointsmedicine_c.addons_modules' doesn't exist"
    
Exception message: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'jointsmedicine_c.addons_modules' doesn't exist
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Driver
/
PDOConnection.php
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function getServerVersion()
    {
        return PDO::getAttribute(PDO::ATTR_SERVER_VERSION);
    }
 
    /**
     * {@inheritdoc}
     */
    public function prepare($prepareString, $driverOptions = array())
    {
        try {
            return parent::prepare($prepareString, $driverOptions);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function query()
    {
        $args = func_get_args();
        $argsCount = count($args);
 
        try {
            if ($argsCount == 4) {
                return parent::query($args[0], $args[1], $args[2], $args[3]);
            }
 
            if ($argsCount == 3) {
                return parent::query($args[0], $args[1], $args[2]);
Arguments
  1. "select * from `addons_modules` where `installed` = ? and `enabled` = ?"
    
  2. []
    
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
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 ($me, $query, $bindings) use ($useReadPdo) {
            if ($me->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->getPdoForSelect($useReadPdo)->prepare($query);
 
            $me->bindValues($statement, $me->prepareBindings($bindings));
 
            $statement->execute();
 
            $fetchMode = $me->getFetchMode();
            $fetchArgument = $me->getFetchArgument();
            $fetchConstructorArgument = $me->getFetchConstructorArgument();
 
            if ($fetchMode === PDO::FETCH_CLASS && ! isset($fetchArgument)) {
                $fetchArgument = 'StdClass';
                $fetchConstructorArgument = null;
            }
 
            return isset($fetchArgument)
                ? $statement->fetchAll($fetchMode, $fetchArgument, $fetchConstructorArgument)
                : $statement->fetchAll($fetchMode);
        });
    }
 
Arguments
  1. "select * from `addons_modules` where `installed` = ? and `enabled` = ?"
    
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
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($this, $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;
    }
 
    /**
     * Handle a query exception that occurred during query execution.
     *
     * @param  \Illuminate\Database\QueryException  $e
     * @param  string    $query
     * @param  array     $bindings
Arguments
  1. MySqlConnection {#497}
    
  2. "select * from `addons_modules` where `installed` = ? and `enabled` = ?"
    
  3. array:2 [
      0 => true
      1 => true
    ]
    
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
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) {
            if ($this->transactions >= 1) {
                throw $e;
            }
 
            $result = $this->tryAgainIfCausedByLostConnection(
                $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.
        $time = $this->getElapsedTime($start);
 
        $this->logQuery($query, $bindings, $time);
 
        return $result;
    }
 
Arguments
  1. "select * from `addons_modules` where `installed` = ? and `enabled` = ?"
    
  2. array:2 [
      0 => true
      1 => true
    ]
    
  3. Closure {#469
      class: "Illuminate\Database\Connection"
      this: MySqlConnection {#497 …}
      parameters: {
        $me: {}
        $query: {}
        $bindings: {}
      }
      use: {
        $useReadPdo: true
      }
      file: "/var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php"
      line: "325 to 351"
    }
    
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
            // row from the database table, and will either be an array or objects.
            $statement = $this->getPdoForSelect($useReadPdo)->prepare($query);
 
            $me->bindValues($statement, $me->prepareBindings($bindings));
 
            $statement->execute();
 
            $fetchMode = $me->getFetchMode();
            $fetchArgument = $me->getFetchArgument();
            $fetchConstructorArgument = $me->getFetchConstructorArgument();
 
            if ($fetchMode === PDO::FETCH_CLASS && ! isset($fetchArgument)) {
                $fetchArgument = 'StdClass';
                $fetchConstructorArgument = null;
            }
 
            return isset($fetchArgument)
                ? $statement->fetchAll($fetchMode, $fetchArgument, $fetchConstructorArgument)
                : $statement->fetchAll($fetchMode);
        });
    }
 
    /**
     * 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 ($me, $query, $bindings) use ($useReadPdo) {
            if ($me->pretending()) {
                return [];
            }
 
            $statement = $this->getPdoForSelect($useReadPdo)->prepare($query);
 
            $fetchMode = $me->getFetchMode();
Arguments
  1. "select * from `addons_modules` where `installed` = ? and `enabled` = ?"
    
  2. array:2 [
      0 => true
      1 => true
    ]
    
  3. Closure {#469
      class: "Illuminate\Database\Connection"
      this: MySqlConnection {#497 …}
      parameters: {
        $me: {}
        $query: {}
        $bindings: {}
      }
      use: {
        $useReadPdo: true
      }
      file: "/var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php"
      line: "325 to 351"
    }
    
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
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();
 
        return new LengthAwarePaginator($results, $total, $perPage, $page, [
Arguments
  1. "select * from `addons_modules` where `installed` = ? and `enabled` = ?"
    
  2. array:2 [
      0 => true
      1 => true
    ]
    
  3. true
    
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Query
/
Builder.php
    public function first($columns = ['*'])
    {
        return $this->take(1)->get($columns)->first();
    }
 
    /**
     * 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.
     *
     * @param  int  $perPage
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Eloquent
/
Builder.php
    /**
     * Register a replacement for the default delete function.
     *
     * @param  \Closure  $callback
     * @return void
     */
    public function onDelete(Closure $callback)
    {
        $this->onDelete = $callback;
    }
 
    /**
     * Get the hydrated models without eager loading.
     *
     * @param  array  $columns
     * @return \Illuminate\Database\Eloquent\Model[]
     */
    public function getModels($columns = ['*'])
    {
        $results = $this->query->get($columns)->all();
 
        $connection = $this->model->getConnectionName();
 
        return $this->model->hydrate($results, $connection)->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->loadRelation($models, $name, $constraints);
Arguments
  1. array:1 [
      0 => "*"
    ]
    
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Eloquent
/
Builder.php
    public function firstOrFail($columns = ['*'])
    {
        if (! is_null($model = $this->first($columns))) {
            return $model;
        }
 
        throw (new ModelNotFoundException)->setModel(get_class($this->model));
    }
 
    /**
     * Execute the query as a "select" statement.
     *
     * @param  array  $columns
     * @return \Illuminate\Database\Eloquent\Collection|static[]
     */
    public function get($columns = ['*'])
    {
        $builder = $this->applyScopes();
 
        $models = $builder->getModels($columns);
 
        // 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) > 0) {
            $models = $builder->eagerLoadRelations($models);
        }
 
        return $builder->getModel()->newCollection($models);
    }
 
    /**
     * Get a single column's value from the first result of a query.
     *
     * @param  string  $column
     * @return mixed
     */
    public function value($column)
    {
        $result = $this->first([$column]);
Arguments
  1. array:1 [
      0 => "*"
    ]
    
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
anomaly
/
streams-platform
/
src
/
Model
/
EloquentQueryBuilder.php
        $this->orderByDefault();
 
        if (PHP_SAPI != 'cli' && env('DB_CACHE') && $this->model->getTtl()) {
 
            $this->rememberIndex();
 
            try {
                return app('cache')->remember(
                    $this->getCacheKey(),
                    $this->model->getTtl(),
                    function () use ($columns) {
                        return parent::get($columns);
                    }
                );
            } catch (\Exception $e) {
                return parent::get($columns);
            }
        }
 
        return self::$cache[$this->model->getCacheCollectionKey()][$key] = parent::get($columns);
    }
 
    /**
     * Return if a table has been joined or not.
     *
     * @param $table
     * @return bool
     */
    public function hasJoin($table)
    {
        if (!$this->query->joins) {
            return false;
        }
 
        /* @var JoinClause $join */
        foreach ($this->query->joins as $join) {
            if ($join->table === $table) {
                return true;
            }
        }
Arguments
  1. array:1 [
      0 => "*"
    ]
    
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
anomaly
/
streams-platform
/
src
/
Addon
/
Module
/
ModuleModel.php
 
    /**
     * Find a module by it's namespace.
     *
     * @param  $namespace
     * @return null|ModuleModel
     */
    public function findByNamespace($namespace)
    {
        return $this->where('namespace', $namespace)->first();
    }
 
    /**
     * Get all enabled module namespaces.
     *
     * @return EloquentCollection
     */
    public function getEnabledNamespaces()
    {
        return $this->where('installed', true)->where('enabled', true)->get()->pluck('namespace');
    }
 
    /**
     * Get all installed module namespaces.
     *
     * @return EloquentCollection
     */
    public function getInstalledNamespaces()
    {
        return $this->where('installed', true)->get()->pluck('namespace');
    }
 
    /**
     * Return a new collection.
     *
     * @param  array $items
     * @return EloquentCollection
     */
    public function newCollection(array $items = [])
    {
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
anomaly
/
streams-platform
/
src
/
Addon
/
AddonManager.php
 
        $this->dispatcher->fire(new AddonsHaveRegistered($this->addons));
    }
 
    /**
     * Get namespaces for enabled addons.
     *
     * @return array
     */
    protected function getEnabledAddonNamespaces()
    {
        if (!env('INSTALLED')) {
            return [];
        }
 
        $modules = $this->modules->cache(
            'streams::modules.enabled',
            9999,
            function () {
                return $this->modules->getEnabledNamespaces()->all();
            }
        );
 
        $extensions = $this->extensions->cache(
            'streams::extensions.enabled',
            9999,
            function () {
                return $this->extensions->getEnabledNamespaces()->all();
            }
        );
 
        return array_merge($modules, $extensions);
    }
 
    /**
     * Get namespaces for installed addons.
     *
     * @return array
     */
    protected function getInstalledAddonNamespaces()
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Cache
/
Repository.php
    }
 
    /**
     * Get an item from the cache, or store the default value.
     *
     * @param  string  $key
     * @param  \DateTime|float|int  $minutes
     * @param  \Closure  $callback
     * @return mixed
     */
    public function remember($key, $minutes, Closure $callback)
    {
        // If the item exists in the cache we will just return this immediately
        // otherwise we will execute the given Closure and cache the result
        // of that execution for the given number of minutes in storage.
        if (! is_null($value = $this->get($key))) {
            return $value;
        }
 
        $this->put($key, $value = $callback(), $minutes);
 
        return $value;
    }
 
    /**
     * Get an item from the cache, or store the default value forever.
     *
     * @param  string   $key
     * @param  \Closure  $callback
     * @return mixed
     */
    public function sear($key, Closure $callback)
    {
        return $this->rememberForever($key, $callback);
    }
 
    /**
     * Get an item from the cache, or store the default value forever.
     *
     * @param  string   $key
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Cache
/
CacheManager.php
     * @param  \Closure  $callback
     * @return $this
     */
    public function extend($driver, Closure $callback)
    {
        $this->customCreators[$driver] = $callback->bindTo($this, $this);
 
        return $this;
    }
 
    /**
     * Dynamically call the default driver instance.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return mixed
     */
    public function __call($method, $parameters)
    {
        return $this->store()->$method(...$parameters);
    }
}
 
Arguments
  1. "streams::modules.enabled"
    
  2. 9999
    
  3. Closure {#464
      class: "Anomaly\Streams\Platform\Addon\AddonManager"
      this: AddonManager {#500 …}
      file: "/var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/anomaly/streams-platform/src/Addon/AddonManager.php"
      line: "161 to 163"
    }
    
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
anomaly
/
streams-platform
/
src
/
Model
/
EloquentModel.php
    /**
     * Cache a value in the
     * model's cache collection.
     *
     * @param $key
     * @param $ttl
     * @param $value
     * @return mixed
     */
    public function cache($key, $ttl, $value)
    {
        (new CacheCollection())
            ->make([$key])
            ->setKey($this->getCacheCollectionKey())
            ->index();
 
        return app('cache')->remember(
            $key,
            $ttl ?: $this->getTtl(),
            $value
        );
    }
 
    /**
     * Fire a model event.
     *
     * @param $event
     * @return mixed
     */
    public function fireEvent($event)
    {
        return $this->fireModelEvent($event);
    }
 
    /**
     * Return the entry presenter.
     *
     * This is against standards but required
     * by the presentable interface.
     *
Arguments
  1. "remember"
    
  2. array:3 [
      0 => "streams::modules.enabled"
      1 => 9999
      2 => Closure {#464
        class: "Anomaly\Streams\Platform\Addon\AddonManager"
        this: AddonManager {#500 …}
        file: "/var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/anomaly/streams-platform/src/Addon/AddonManager.php"
        line: "161 to 163"
      }
    ]
    
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
anomaly
/
streams-platform
/
src
/
Addon
/
AddonManager.php
        $this->dispatcher->fire(new AddonsHaveRegistered($this->addons));
    }
 
    /**
     * Get namespaces for enabled addons.
     *
     * @return array
     */
    protected function getEnabledAddonNamespaces()
    {
        if (!env('INSTALLED')) {
            return [];
        }
 
        $modules = $this->modules->cache(
            'streams::modules.enabled',
            9999,
            function () {
                return $this->modules->getEnabledNamespaces()->all();
            }
        );
 
        $extensions = $this->extensions->cache(
            'streams::extensions.enabled',
            9999,
            function () {
                return $this->extensions->getEnabledNamespaces()->all();
            }
        );
 
        return array_merge($modules, $extensions);
    }
 
    /**
     * Get namespaces for installed addons.
     *
     * @return array
     */
    protected function getInstalledAddonNamespaces()
    {
Arguments
  1. "streams::modules.enabled"
    
  2. 9999
    
  3. Closure {#464
      class: "Anomaly\Streams\Platform\Addon\AddonManager"
      this: AddonManager {#500 …}
      file: "/var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/anomaly/streams-platform/src/Addon/AddonManager.php"
      line: "161 to 163"
    }
    
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
anomaly
/
streams-platform
/
src
/
Addon
/
AddonManager.php
        Dispatcher $dispatcher,
        ExtensionModel $extensions,
        AddonIntegrator $integrator,
        AddonCollection $addons
    ) {
        $this->paths      = $paths;
        $this->addons     = $addons;
        $this->loader     = $loader;
        $this->modules    = $modules;
        $this->integrator = $integrator;
        $this->dispatcher = $dispatcher;
        $this->extensions = $extensions;
    }
 
    /**
     * Register all addons.
     */
    public function register()
    {
        $enabled   = $this->getEnabledAddonNamespaces();
        $installed = $this->getInstalledAddonNamespaces();
 
        $paths = $this->paths->all();
 
        /*
         * First load all the addons
         * so they're available.
         */
        foreach ($paths as $path) {
            $this->loader->load($path);
        }
 
        $this->loader->register();
 
        /*
         * Then register all of the addons now
         * that they're all PSR autoloaded.
         */
        foreach ($paths as $path) {
 
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
anomaly
/
streams-platform
/
src
/
StreamsServiceProvider.php
                            if (!$twig->hasExtension($plugin)) {
                                $twig->addExtension($this->app->make($plugin));
                            }
                        }
 
                        if (!$twig->hasExtension('markdown')) {
                            $twig->addExtension(new MarkdownExtension(new MichelfMarkdownEngine()));
                        }
 
                        $twig->addExtension(
                            new Extension(
                                new CacheStrategy(
                                    new CacheAdapter($this->app->make(Repository::class)), new CacheKey()
                                )
                            )
                        );
                    }
                );
 
                $manager->register();
 
                $this->dispatch(new LoadCurrentTheme());
                $this->dispatch(new AddViewNamespaces());
 
                /*
                 * Do this after addons are registered
                 * so that they can override named routes.
                 */
                $this->dispatch(new IncludeRoutes());
 
                $events->fire(new Ready());
            }
        );
    }
 
    /**
     * Register the service provider.
     *
     * @return void
     */
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
     */
    public function booted($callback)
    {
        $this->bootedCallbacks[] = $callback;
 
        if ($this->isBooted()) {
            $this->fireAppCallbacks([$callback]);
        }
    }
 
    /**
     * Call the booting callbacks for the application.
     *
     * @param  array  $callbacks
     * @return void
     */
    protected function fireAppCallbacks(array $callbacks)
    {
        foreach ($callbacks as $callback) {
            call_user_func($callback, $this);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function handle(SymfonyRequest $request, $type = self::MASTER_REQUEST, $catch = true)
    {
        return $this['Illuminate\Contracts\Http\Kernel']->handle(Request::createFromBase($request));
    }
 
    /**
     * Determine if middleware has been disabled for the application.
     *
     * @return bool
     */
    public function shouldSkipMiddleware()
    {
        return $this->bound('middleware.disable') &&
               $this->make('middleware.disable') === true;
Arguments
  1. Application {#12}
    
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
     */
    public function booted($callback)
    {
        $this->bootedCallbacks[] = $callback;
 
        if ($this->isBooted()) {
            $this->fireAppCallbacks([$callback]);
        }
    }
 
    /**
     * Call the booting callbacks for the application.
     *
     * @param  array  $callbacks
     * @return void
     */
    protected function fireAppCallbacks(array $callbacks)
    {
        foreach ($callbacks as $callback) {
            call_user_func($callback, $this);
        }
    }
 
    /**
     * {@inheritdoc}
     */
    public function handle(SymfonyRequest $request, $type = self::MASTER_REQUEST, $catch = true)
    {
        return $this['Illuminate\Contracts\Http\Kernel']->handle(Request::createFromBase($request));
    }
 
    /**
     * Determine if middleware has been disabled for the application.
     *
     * @return bool
     */
    public function shouldSkipMiddleware()
    {
        return $this->bound('middleware.disable') &&
               $this->make('middleware.disable') === true;
Arguments
  1. Closure {#369
      class: "Anomaly\Streams\Platform\StreamsServiceProvider"
      this: StreamsServiceProvider {#92 …}
      use: {
        $events: Dispatcher {#13}
      }
      file: "/var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/anomaly/streams-platform/src/StreamsServiceProvider.php"
      line: "245 to 291"
    }
    
  2. Application {#12}
    
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
     * @return void
     */
    public function boot()
    {
        if ($this->booted) {
            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']);
        }
    }
 
    /**
     * Register a new boot listener.
     *
     * @param  mixed  $callback
     * @return void
Arguments
  1. array:2 [
      0 => Closure {#302
        class: "Illuminate\Foundation\Support\Providers\RouteServiceProvider"
        this: RouteServiceProvider {#91 …}
        file: "/var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/laravel/framework/src/Illuminate/Foundation/Support/Providers/RouteServiceProvider.php"
        line: "32 to 34"
      }
      1 => Closure {#369
        class: "Anomaly\Streams\Platform\StreamsServiceProvider"
        this: StreamsServiceProvider {#92 …}
        use: {
          $events: Dispatcher {#13}
        }
        file: "/var/www/jointsmedicine_c/data/www/jointsmedicine.com/vendor/anomaly/streams-platform/src/StreamsServiceProvider.php"
        line: "245 to 291"
      }
    ]
    
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
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();
    }
}
 
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
    {
        $this->register(new EventServiceProvider($this));
 
        $this->register(new RoutingServiceProvider($this));
    }
 
    /**
     * Run the given array of bootstrap classes.
     *
     * @param  array  $bootstrappers
     * @return void
     */
    public function bootstrapWith(array $bootstrappers)
    {
        $this->hasBeenBootstrapped = true;
 
        foreach ($bootstrappers as $bootstrapper) {
            $this['events']->fire('bootstrapping: '.$bootstrapper, [$this]);
 
            $this->make($bootstrapper)->bootstrap($this);
 
            $this['events']->fire('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(
            'Illuminate\Foundation\Bootstrap\DetectEnvironment', $callback
        );
    }
 
    /**
     * Register a callback to run before a bootstrapper.
Arguments
  1. Application {#12}
    
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
     * @return $this
     */
    public function pushMiddleware($middleware)
    {
        if (array_search($middleware, $this->middleware) === false) {
            $this->middleware[] = $middleware;
        }
 
        return $this;
    }
 
    /**
     * 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);
        };
    }
 
    /**
     * Determine if the kernel has a given middleware.
     *
Arguments
  1. array:7 [
      0 => "Illuminate\Foundation\Bootstrap\DetectEnvironment"
      1 => "Illuminate\Foundation\Bootstrap\LoadConfiguration"
      2 => "Illuminate\Foundation\Bootstrap\ConfigureLogging"
      3 => "Illuminate\Foundation\Bootstrap\HandleExceptions"
      4 => "Illuminate\Foundation\Bootstrap\RegisterFacades"
      5 => "Illuminate\Foundation\Bootstrap\RegisterProviders"
      6 => "Illuminate\Foundation\Bootstrap\BootProviders"
    ]
    
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
        }
 
        $this->app['events']->fire('kernel.handled', [$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());
    }
 
    /**
     * 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)
    {
        $middlewares = $this->app->shouldSkipMiddleware() ? [] : array_merge(
            $this->gatherRouteMiddleware($request),
            $this->middleware
        );
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
            $router->middlewareGroup($key, $middleware);
        }
 
        foreach ($this->routeMiddleware as $key => $middleware) {
            $router->middleware($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']->fire('kernel.handled', [$request, $response]);
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
Arguments
  1. Request {#48}
    
/
var
/
www
/
jointsmedicine_c
/
data
/
www
/
jointsmedicine.com
/
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);
 
$time = number_format(microtime(true) - $start, 2);
/*if (isset($_SERVER['REQUEST_URI'])) {
    file_put_contents(__DIR__.'/perfomance.log', $time."s ".$_SERVER['REQUEST_URI']." ".$_SERVER['REMOTE_ADDR']."\n", FILE_APPEND);
}*/
Arguments
  1. Request {#48}
    

Environment & details:

Key Value
letter
"R"
empty
empty
empty
empty
Key Value
REDIRECT_REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_HANDLER
"application/x-httpd-php5"
REDIRECT_STATUS
"200"
HTTPS
"on"
HTTP_HOST
"ww.jointsmedicine.com"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_PORT
"443"
HTTP_CONNECTION
"close"
HTTP_CACHE_CONTROL
"no-cache"
HTTP_PRAGMA
"no-cache"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, deflate"
HTTP_USER_AGENT
"Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
SERVER_SIGNATURE
"<address>Apache/2.4.10 (Debian) Server at ww.jointsmedicine.com Port 80</address>\n"
SERVER_SOFTWARE
"Apache/2.4.10 (Debian)"
SERVER_NAME
"ww.jointsmedicine.com"
SERVER_ADDR
"127.0.0.1"
SERVER_PORT
"80"
REMOTE_ADDR
"157.55.39.210"
DOCUMENT_ROOT
"/var/www/jointsmedicine_c/data/www/jointsmedicine.com/public"
REQUEST_SCHEME
"http"
CONTEXT_PREFIX
"/php-bin/"
CONTEXT_DOCUMENT_ROOT
"/var/www/php-bin-isp-php70/jointsmedicine_c/"
SERVER_ADMIN
"webmaster@jointsmedicine.com"
SCRIPT_FILENAME
"/var/www/jointsmedicine_c/data/www/jointsmedicine.com/public/index.php"
REMOTE_PORT
"36094"
REDIRECT_QUERY_STRING
"letter=R"
REDIRECT_URL
"/index.php"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.0"
REQUEST_METHOD
"GET"
QUERY_STRING
"letter=R"
REQUEST_URI
"/search?letter=R"
SCRIPT_NAME
"/index.php"
ORIG_SCRIPT_FILENAME
"/var/www/php-bin-isp-php70/jointsmedicine_c/php"
ORIG_PATH_INFO
"/index.php"
ORIG_PATH_TRANSLATED
"/var/www/jointsmedicine_c/data/www/jointsmedicine.com/public/index.php"
ORIG_SCRIPT_NAME
"/php-bin/php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1563349474.1451
REQUEST_TIME
1563349474
ORIGINAL_REQUEST_URI
"/search?letter=R"
APP_ENV
"production"
INSTALLED
"true"
APP_KEY
"xWLVvFEDQDWm3C8K5YMSm9gYU4RisJu5"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_DATABASE
"jointsmedicine_c"
DB_USERNAME
"jointsmedicine_c"
DB_PASSWORD
"O3a8J6b8"
APPLICATION_NAME
"Default"
APPLICATION_DOMAIN
"jointsmedicine.com"
APPLICATION_REFERENCE
"default"
APP_URL
"http://jointsmedicine.com"
APP_DEBUG
"true"
Key Value
APP_ENV
"production"
INSTALLED
"true"
APP_KEY
"xWLVvFEDQDWm3C8K5YMSm9gYU4RisJu5"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_DATABASE
"jointsmedicine_c"
DB_USERNAME
"jointsmedicine_c"
DB_PASSWORD
"O3a8J6b8"
APPLICATION_NAME
"Default"
APPLICATION_DOMAIN
"jointsmedicine.com"
APPLICATION_REFERENCE
"default"
APP_URL
"http://jointsmedicine.com"
APP_DEBUG
"true"
0. Whoops\Handler\PrettyPageHandler