Illuminate \ Database \ QueryException (42000)
SQLSTATE[42000]: Syntax error or access violation: 1286 Unknown storage engine 'InnoDB' (SQL: select * from `settings`)
Previous exceptions
  • SQLSTATE[42000]: Syntax error or access violation: 1286 Unknown storage engine 'InnoDB' (42000)
Illuminate\Database\QueryException thrown with message "SQLSTATE[42000]: Syntax error or access violation: 1286 Unknown storage engine 'InnoDB' (SQL: select * from `settings`)" Stacktrace: #34 Illuminate\Database\QueryException in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:712 #33 Illuminate\Foundation\Application:Illuminate\Foundation\{closure} in [internal]:0 #32 PDOException in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:368 #31 PDO:prepare in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:368 #30 Illuminate\Database\Connection:Illuminate\Database\{closure} in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:705 #29 Illuminate\Database\Connection:runQueryCallback in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:672 #28 Illuminate\Database\Connection:run in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:376 #27 Illuminate\Database\Connection:select in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2414 #26 Illuminate\Database\Query\Builder:runSelect in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2402 #25 Illuminate\Database\Query\Builder:Illuminate\Database\Query\{closure} in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2936 #24 Illuminate\Database\Query\Builder:onceWithColumns in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2403 #23 Illuminate\Database\Query\Builder:get in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:625 #22 Illuminate\Database\Eloquent\Builder:getModels in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:609 #21 Illuminate\Database\Eloquent\Builder:get in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php:23 #20 Illuminate\Database\Eloquent\Model:forwardCallTo in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:2132 #19 Illuminate\Database\Eloquent\Model:__call in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:2144 #18 Illuminate\Database\Eloquent\Model:__callStatic in /home/sbibhysg/public_html/vendor/botble/platform/setting/src/Supports/DatabaseSettingStore.php:139 #17 Botble\Setting\Supports\DatabaseSettingStore:read in /home/sbibhysg/public_html/vendor/botble/platform/setting/src/Supports/SettingStore.php:151 #16 Botble\Setting\Supports\SettingStore:load in /home/sbibhysg/public_html/vendor/botble/platform/setting/src/Supports/SettingStore.php:40 #15 Botble\Setting\Supports\SettingStore:get in /home/sbibhysg/public_html/vendor/botble/platform/media/src/Providers/MediaServiceProvider.php:109 #14 Botble\Media\Providers\MediaServiceProvider:boot in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36 #13 Illuminate\Container\BoundMethod:Illuminate\Container\{closure} in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Container/Util.php:40 #12 Illuminate\Container\Util:unwrapIfClosure in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93 #11 Illuminate\Container\BoundMethod:callBoundMethod in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:37 #10 Illuminate\Container\BoundMethod:call in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:653 #9 Illuminate\Container\Container:call in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:924 #8 Illuminate\Foundation\Application:bootProvider in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:905 #7 Illuminate\Foundation\Application:Illuminate\Foundation\{closure} in [internal]:0 #6 array_walk in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:906 #5 Illuminate\Foundation\Application:boot in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17 #4 Illuminate\Foundation\Bootstrap\BootProviders:bootstrap in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:237 #3 Illuminate\Foundation\Application:bootstrapWith in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:153 #2 Illuminate\Foundation\Http\Kernel:bootstrap in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:137 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:111 #0 Illuminate\Foundation\Http\Kernel:handle in /home/sbibhysg/public_html/public/index.php:56
34
Illuminate\Database\QueryException
/vendor/laravel/framework/src/Illuminate/Database/Connection.php712
33
Illuminate\Foundation\Application Illuminate\Foundation\{closure}
[internal]0
32
PDOException
/vendor/laravel/framework/src/Illuminate/Database/Connection.php368
31
PDO prepare
/vendor/laravel/framework/src/Illuminate/Database/Connection.php368
30
Illuminate\Database\Connection Illuminate\Database\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Connection.php705
29
Illuminate\Database\Connection runQueryCallback
/vendor/laravel/framework/src/Illuminate/Database/Connection.php672
28
Illuminate\Database\Connection run
/vendor/laravel/framework/src/Illuminate/Database/Connection.php376
27
Illuminate\Database\Connection select
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2414
26
Illuminate\Database\Query\Builder runSelect
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2402
25
Illuminate\Database\Query\Builder Illuminate\Database\Query\{closure}
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2936
24
Illuminate\Database\Query\Builder onceWithColumns
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php2403
23
Illuminate\Database\Query\Builder get
/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php625
22
Illuminate\Database\Eloquent\Builder getModels
/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php609
21
Illuminate\Database\Eloquent\Builder get
/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php23
20
Illuminate\Database\Eloquent\Model forwardCallTo
/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php2132
19
Illuminate\Database\Eloquent\Model __call
/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php2144
18
Illuminate\Database\Eloquent\Model __callStatic
/vendor/botble/platform/setting/src/Supports/DatabaseSettingStore.php139
17
Botble\Setting\Supports\DatabaseSettingStore read
/vendor/botble/platform/setting/src/Supports/SettingStore.php151
16
Botble\Setting\Supports\SettingStore load
/vendor/botble/platform/setting/src/Supports/SettingStore.php40
15
Botble\Setting\Supports\SettingStore get
/vendor/botble/platform/media/src/Providers/MediaServiceProvider.php109
14
Botble\Media\Providers\MediaServiceProvider boot
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php36
13
Illuminate\Container\BoundMethod Illuminate\Container\{closure}
/vendor/laravel/framework/src/Illuminate/Container/Util.php40
12
Illuminate\Container\Util unwrapIfClosure
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php93
11
Illuminate\Container\BoundMethod callBoundMethod
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php37
10
Illuminate\Container\BoundMethod call
/vendor/laravel/framework/src/Illuminate/Container/Container.php653
9
Illuminate\Container\Container call
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php924
8
Illuminate\Foundation\Application bootProvider
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php905
7
Illuminate\Foundation\Application Illuminate\Foundation\{closure}
[internal]0
6
array_walk
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php906
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.php237
3
Illuminate\Foundation\Application bootstrapWith
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php153
2
Illuminate\Foundation\Http\Kernel bootstrap
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php137
1
Illuminate\Foundation\Http\Kernel sendRequestThroughRouter
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php111
0
Illuminate\Foundation\Http\Kernel handle
/public/index.php56
/home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
     * @param  array  $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function runQueryCallback($query, $bindings, Closure $callback)
    {
        // To execute the statement, we'll simply call the callback, which will actually
        // run the SQL against the PDO connection. Then we can calculate the time it
        // took to execute and log the query SQL, bindings and time in our memory.
        try {
            return $callback($query, $bindings);
        }
 
        // If an exception occurs when attempting to run a query, we'll format the error
        // message to include the bindings with SQL, which will make this exception a
        // lot more helpful to the developer instead of just the database's errors.
        catch (Exception $e) {
            throw new QueryException(
                $query, $this->prepareBindings($bindings), $e
            );
        }
    }
 
    /**
     * Log a query in the connection's query log.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @param  float|null  $time
     * @return void
     */
    public function logQuery($query, $bindings, $time = null)
    {
        $this->event(new QueryExecuted($query, $bindings, $time, $this));
 
        if ($this->loggingQueries) {
            $this->queryLog[] = compact('query', 'bindings', 'time');
        }
Arguments
  1. "SQLSTATE[42000]: Syntax error or access violation: 1286 Unknown storage engine 'InnoDB' (SQL: select * from `settings`)"
    
[internal]
Arguments
  1. Botble\Media\Providers\MediaServiceProvider {#140}
    
  2. 32
    
/home/sbibhysg/public_html/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. "SQLSTATE[42000]: Syntax error or access violation: 1286 Unknown storage engine 'InnoDB'"
    
Exception message: SQLSTATE[42000]: Syntax error or access violation: 1286 Unknown storage engine 'InnoDB'
/home/sbibhysg/public_html/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. "select * from `settings`"
    
/home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
        return $result;
    }
 
    /**
     * Run a SQL statement.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function runQueryCallback($query, $bindings, Closure $callback)
    {
        // To execute the statement, we'll simply call the callback, which will actually
        // run the SQL against the PDO connection. Then we can calculate the time it
        // took to execute and log the query SQL, bindings and time in our memory.
        try {
            return $callback($query, $bindings);
        }
 
        // If an exception occurs when attempting to run a query, we'll format the error
        // message to include the bindings with SQL, which will make this exception a
        // lot more helpful to the developer instead of just the database's errors.
        catch (Exception $e) {
            throw new QueryException(
                $query, $this->prepareBindings($bindings), $e
            );
        }
    }
 
    /**
     * Log a query in the connection's query log.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @param  float|null  $time
     * @return void
     */
Arguments
  1. "select * from `settings`"
    
  2. []
    
/home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Illuminate\Database\QueryException
     */
    protected function run($query, $bindings, Closure $callback)
    {
        foreach ($this->beforeExecutingCallbacks as $beforeExecutingCallback) {
            $beforeExecutingCallback($query, $bindings, $this);
        }
 
        $this->reconnectIfMissingConnection();
 
        $start = microtime(true);
 
        // Here we will run this query. If an exception occurs we'll determine if it was
        // caused by a connection that has been lost. If that is the cause, we'll try
        // to re-establish connection and re-run the query with a fresh connection.
        try {
            $result = $this->runQueryCallback($query, $bindings, $callback);
        } catch (QueryException $e) {
            $result = $this->handleQueryException(
                $e, $query, $bindings, $callback
            );
        }
 
        // Once we have run the query we will calculate the time that it took to run and
        // then log the query, bindings, and execution time so we will report them on
        // the event that the developer needs them. We'll log time in milliseconds.
        $this->logQuery(
            $query, $bindings, $this->getElapsedTime($start)
        );
 
        return $result;
    }
 
    /**
     * Run a SQL statement.
     *
     * @param  string  $query
Arguments
  1. "select * from `settings`"
    
  2. []
    
  3. Closure($query, $bindings) {#420 …4}
    
/home/sbibhysg/public_html/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 `settings`"
    
  2. []
    
  3. Closure($query, $bindings) {#420 …4}
    
/home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
     *
     * @param  array|string  $columns
     * @return \Illuminate\Support\Collection
     */
    public function get($columns = ['*'])
    {
        return collect($this->onceWithColumns(Arr::wrap($columns), function () {
            return $this->processor->processSelect($this, $this->runSelect());
        }));
    }
 
    /**
     * Run the query as a "select" statement against the connection.
     *
     * @return array
     */
    protected function runSelect()
    {
        return $this->connection->select(
            $this->toSql(), $this->getBindings(), ! $this->useWritePdo
        );
    }
 
    /**
     * Paginate the given query into a simple paginator.
     *
     * @param  int  $perPage
     * @param  array  $columns
     * @param  string  $pageName
     * @param  int|null  $page
     * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator
     */
    public function paginate($perPage = 15, $columns = ['*'], $pageName = 'page', $page = null)
    {
        $page = $page ?: Paginator::resolveCurrentPage($pageName);
 
        $total = $this->getCountForPagination();
 
        $results = $total ? $this->forPage($page, $perPage)->get($columns) : collect();
 
Arguments
  1. "select * from `settings`"
    
  2. []
    
  3. true
    
/home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
     * @param  string  $column
     * @return mixed
     */
    public function value($column)
    {
        $result = (array) $this->first([$column]);
 
        return count($result) > 0 ? reset($result) : null;
    }
 
    /**
     * Execute the query as a "select" statement.
     *
     * @param  array|string  $columns
     * @return \Illuminate\Support\Collection
     */
    public function get($columns = ['*'])
    {
        return collect($this->onceWithColumns(Arr::wrap($columns), function () {
            return $this->processor->processSelect($this, $this->runSelect());
        }));
    }
 
    /**
     * Run the query as a "select" statement against the connection.
     *
     * @return array
     */
    protected function runSelect()
    {
        return $this->connection->select(
            $this->toSql(), $this->getBindings(), ! $this->useWritePdo
        );
    }
 
    /**
     * Paginate the given query into a simple paginator.
     *
     * @param  int  $perPage
     * @param  array  $columns
/home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
    }
 
    /**
     * Execute the given callback while selecting the given columns.
     *
     * After running the callback, the columns are reset to the original value.
     *
     * @param  array  $columns
     * @param  callable  $callback
     * @return mixed
     */
    protected function onceWithColumns($columns, $callback)
    {
        $original = $this->columns;
 
        if (is_null($original)) {
            $this->columns = $columns;
        }
 
        $result = $callback();
 
        $this->columns = $original;
 
        return $result;
    }
 
    /**
     * Insert new records into the database.
     *
     * @param  array  $values
     * @return bool
     */
    public function insert(array $values)
    {
        // Since every insert gets treated like a batch insert, we will make sure the
        // bindings are structured in a way that is convenient when building these
        // inserts statements by verifying these elements are actually an array.
        if (empty($values)) {
            return true;
        }
/home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php
     * @return mixed
     */
    public function value($column)
    {
        $result = (array) $this->first([$column]);
 
        return count($result) > 0 ? reset($result) : null;
    }
 
    /**
     * Execute the query as a "select" statement.
     *
     * @param  array|string  $columns
     * @return \Illuminate\Support\Collection
     */
    public function get($columns = ['*'])
    {
        return collect($this->onceWithColumns(Arr::wrap($columns), function () {
            return $this->processor->processSelect($this, $this->runSelect());
        }));
    }
 
    /**
     * Run the query as a "select" statement against the connection.
     *
     * @return array
     */
    protected function runSelect()
    {
        return $this->connection->select(
            $this->toSql(), $this->getBindings(), ! $this->useWritePdo
        );
    }
 
    /**
     * Paginate the given query into a simple paginator.
     *
     * @param  int  $perPage
     * @param  array  $columns
     * @param  string  $pageName
Arguments
  1. array:1 [
      0 => "*"
    ]
    
  2. Closure() {#409 …4}
    
/home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php
        // If we actually found models we will also eager load any relationships that
        // have been specified as needing to be eager loaded, which will solve the
        // n+1 query issue for the developers to avoid running a lot of queries.
        if (count($models = $builder->getModels($columns)) > 0) {
            $models = $builder->eagerLoadRelations($models);
        }
 
        return $builder->getModel()->newCollection($models);
    }
 
    /**
     * Get the hydrated models without eager loading.
     *
     * @param  array|string  $columns
     * @return \Illuminate\Database\Eloquent\Model[]|static[]
     */
    public function getModels($columns = ['*'])
    {
        return $this->model->hydrate(
            $this->query->get($columns)->all()
        )->all();
    }
 
    /**
     * Eager load the relationships for the models.
     *
     * @param  array  $models
     * @return array
     */
    public function eagerLoadRelations(array $models)
    {
        foreach ($this->eagerLoad as $name => $constraints) {
            // For nested eager loads we'll skip loading them here and they will be set as an
            // eager load on the query to retrieve the relation so that they will be eager
            // loaded on that query, because that is where they get hydrated as models.
            if (strpos($name, '.') === false) {
                $models = $this->eagerLoadRelation($models, $name, $constraints);
            }
        }
 
Arguments
  1. array:1 [
      0 => "*"
    ]
    
/home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php
     */
    public function valueOrFail($column)
    {
        return $this->firstOrFail([$column])->{Str::afterLast($column, '.')};
    }
 
    /**
     * Execute the query as a "select" statement.
     *
     * @param  array|string  $columns
     * @return \Illuminate\Database\Eloquent\Collection|static[]
     */
    public function get($columns = ['*'])
    {
        $builder = $this->applyScopes();
 
        // If we actually found models we will also eager load any relationships that
        // have been specified as needing to be eager loaded, which will solve the
        // n+1 query issue for the developers to avoid running a lot of queries.
        if (count($models = $builder->getModels($columns)) > 0) {
            $models = $builder->eagerLoadRelations($models);
        }
 
        return $builder->getModel()->newCollection($models);
    }
 
    /**
     * Get the hydrated models without eager loading.
     *
     * @param  array|string  $columns
     * @return \Illuminate\Database\Eloquent\Model[]|static[]
     */
    public function getModels($columns = ['*'])
    {
        return $this->model->hydrate(
            $this->query->get($columns)->all()
        )->all();
    }
 
    /**
Arguments
  1. array:1 [
      0 => "*"
    ]
    
/home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php
 
use BadMethodCallException;
use Error;
 
trait ForwardsCalls
{
    /**
     * Forward a method call to the given object.
     *
     * @param  mixed  $object
     * @param  string  $method
     * @param  array  $parameters
     * @return mixed
     *
     * @throws \BadMethodCallException
     */
    protected function forwardCallTo($object, $method, $parameters)
    {
        try {
            return $object->{$method}(...$parameters);
        } catch (Error|BadMethodCallException $e) {
            $pattern = '~^Call to undefined method (?P<class>[^:]+)::(?P<method>[^\(]+)\(\)$~';
 
            if (! preg_match($pattern, $e->getMessage(), $matches)) {
                throw $e;
            }
 
            if ($matches['class'] != get_class($object) ||
                $matches['method'] != $method) {
                throw $e;
            }
 
            static::throwBadMethodCallException($method);
        }
    }
 
    /**
     * Forward a method call to the given object, returning $this if the forwarded call returned itself.
     *
     * @param  mixed  $object
/home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php
    }
 
    /**
     * Handle dynamic method calls into the model.
     *
     * @param  string  $method
     * @param  array  $parameters
     * @return mixed
     */
    public function __call($method, $parameters)
    {
        if (in_array($method, ['increment', 'decrement'])) {
            return $this->$method(...$parameters);
        }
 
        if ($resolver = (static::$relationResolvers[get_class($this)][$method] ?? null)) {
            return $resolver($this);
        }
 
        return $this->forwardCallTo($this->newQuery(), $method, $parameters);
    }
 
    /**
     * Handle dynamic static method calls into the model.
     *
     * @param  string  $method
     * @param  array  $parameters
     * @return mixed
     */
    public static function __callStatic($method, $parameters)
    {
        return (new static)->$method(...$parameters);
    }
 
    /**
     * Convert the model to its string representation.
     *
     * @return string
     */
    public function __toString()
Arguments
  1. Botble\Base\Models\BaseQueryBuilder {#417}
    
  2. "get"
    
  3. []
    
/home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php
            return $this->$method(...$parameters);
        }
 
        if ($resolver = (static::$relationResolvers[get_class($this)][$method] ?? null)) {
            return $resolver($this);
        }
 
        return $this->forwardCallTo($this->newQuery(), $method, $parameters);
    }
 
    /**
     * Handle dynamic static method calls into the model.
     *
     * @param  string  $method
     * @param  array  $parameters
     * @return mixed
     */
    public static function __callStatic($method, $parameters)
    {
        return (new static)->$method(...$parameters);
    }
 
    /**
     * Convert the model to its string representation.
     *
     * @return string
     */
    public function __toString()
    {
        return $this->escapeWhenCastingToString
                    ? e($this->toJson())
                    : $this->toJson();
    }
 
    /**
     * Indicate that the object's string representation should be escaped when __toString is invoked.
     *
     * @param  bool  $escape
     * @return $this
     */
Arguments
  1. "get"
    
  2. []
    
/home/sbibhysg/public_html/vendor/botble/platform/setting/src/Supports/DatabaseSettingStore.php
            $this->connectedDatabase = Helper::isConnectedDatabase();
        }
 
        if (!$this->connectedDatabase) {
            return [];
        }
 
        $isSettingCacheEnabled = config('core.setting.general.cache.enabled');
 
        if ($isSettingCacheEnabled) {
            $jsonSettingStore = new JsonSettingStore(new Filesystem());
            if (File::exists($jsonSettingStore->getPath())) {
                $data = $jsonSettingStore->read();
                if (!empty($data)) {
                    return $data;
                }
            }
        }
 
        $data = $this->parseReadData(Setting::get());
 
        if ($isSettingCacheEnabled) {
            if (!isset($jsonSettingStore)) {
                $jsonSettingStore = new JsonSettingStore(new Filesystem());
            }
 
            $jsonSettingStore->write($data);
        }
 
        return $data;
    }
 
    /**
     * Parse data coming from the database.
     *
     * @param Collection|array $data
     *
     * @return array
     */
    public function parseReadData($data): array
Arguments
  1. "get"
    
  2. []
    
/home/sbibhysg/public_html/vendor/botble/platform/setting/src/Supports/SettingStore.php
            // either nothing has been changed, or data has not been loaded, so
            // do nothing by returning early
            return false;
        }
 
        $this->write($this->data);
        $this->unsaved = false;
 
        return true;
    }
 
    /**
     * Make sure data is loaded.
     *
     * @param boolean $force Force a reload of data. Default false.
     */
    public function load(bool $force = false)
    {
        if (!$this->loaded || $force) {
            $this->data = $this->read();
            $this->loaded = true;
        }
    }
 
    /**
     * Read the data from the store.
     *
     * @return array
     */
    abstract protected function read(): array;
 
    /**
     * Write the data into the store.
     *
     * @param array $data
     *
     * @return void
     */
    abstract protected function write(array $data);
}
/home/sbibhysg/public_html/vendor/botble/platform/setting/src/Supports/SettingStore.php
    protected $unsaved = false;
 
    /**
     * Whether the settings data are loaded.
     *
     * @var boolean
     */
    protected $loaded = false;
 
    /**
     * Get a specific key from the settings data.
     *
     * @param string|array $key
     * @param mixed $default Optional default value.
     *
     * @return mixed
     */
    public function get($key, $default = null)
    {
        $this->load();
 
        return Arr::get($this->data, $key, $default);
    }
 
    /**
     * Determine if a key exists in the settings data.
     *
     * @param string $key
     *
     * @return boolean
     */
    public function has(string $key): bool
    {
        $this->load();
 
        return Arr::has($this->data, $key);
    }
 
    /**
     * Set a specific key to a value in the settings data.
/home/sbibhysg/public_html/vendor/botble/platform/media/src/Providers/MediaServiceProvider.php
                'region'          => $config['region'],
                'version'         => 'latest',
            ]);
 
            $adapter = new AwsS3Adapter($client, $config['bucket'], $config['root']);
 
            return new Filesystem($adapter);
        });
 
        Storage::extend('bunnycdn', function ($app, $config) {
            $adapter = new BunnyCDNAdapter(new BunnyCDNStorage($config['zone'], $config['key'], $config['region']));
 
            return new Filesystem($adapter);
        });
 
        $config = $this->app->make('config');
        $setting = $this->app->make(SettingStore::class);
 
        $config->set([
            'filesystems.default'                  => $setting->get('media_driver', 'public'),
            'filesystems.disks.s3'                 => [
                'driver'     => 's3',
                'visibility' => 'public',
                'key'        => $setting->get('media_aws_access_key_id', $config->get('filesystems.disks.s3.key')),
                'secret'     => $setting->get('media_aws_secret_key', $config->get('filesystems.disks.s3.secret')),
                'region'     => $setting->get('media_aws_default_region', $config->get('filesystems.disks.s3.region')),
                'bucket'     => $setting->get('media_aws_bucket', $config->get('filesystems.disks.s3.bucket')),
                'url'        => $setting->get('media_aws_url', $config->get('filesystems.disks.s3.url')),
                'endpoint'   => $setting->get('media_aws_endpoint', $config->get('filesystems.disks.s3.endpoint')) ?: null,
                'use_path_style_endpoint' => $config->get('filesystems.disks.s3.use_path_style_endpoint'),
            ],
            'filesystems.disks.do_spaces'          => [
                'driver'     => 's3',
                'visibility' => 'public',
                'key'        => $setting->get('media_do_spaces_access_key_id'),
                'secret'     => $setting->get('media_do_spaces_secret_key'),
                'region'     => $setting->get('media_do_spaces_default_region'),
                'bucket'     => $setting->get('media_do_spaces_bucket'),
                'endpoint'   => $setting->get('media_do_spaces_endpoint'),
            ],
Arguments
  1. "media_driver"
    
  2. "public"
    
/home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
     * @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 (is_string($callback) && ! $defaultMethod && method_exists($callback, '__invoke')) {
            $defaultMethod = '__invoke';
        }
 
        if (static::isCallableWithAtSign($callback) || $defaultMethod) {
            return static::callClass($container, $callback, $parameters, $defaultMethod);
        }
 
        return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
            return $callback(...array_values(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
/home/sbibhysg/public_html/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;
    }
 
    /**
     * Get the class name of the given parameter's type, if possible.
     *
     * From Reflector::getParameterClassName() in Illuminate\Support.
     *
     * @param  \ReflectionParameter  $parameter
     * @return string|null
     */
    public static function getParameterClassName($parameter)
    {
        $type = $parameter->getType();
 
        if (! $type instanceof ReflectionNamedType || $type->isBuiltin()) {
            return null;
        }
 
        $name = $type->getName();
 
/home/sbibhysg/public_html/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() {#116 …3}
    
/home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \ReflectionException
     * @throws \InvalidArgumentException
     */
    public static function call($container, $callback, array $parameters = [], $defaultMethod = null)
    {
        if (is_string($callback) && ! $defaultMethod && method_exists($callback, '__invoke')) {
            $defaultMethod = '__invoke';
        }
 
        if (static::isCallableWithAtSign($callback) || $defaultMethod) {
            return static::callClass($container, $callback, $parameters, $defaultMethod);
        }
 
        return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
            return $callback(...array_values(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 {#4}
    
  2. array:2 [
      0 => Botble\Media\Providers\MediaServiceProvider {#140}
      1 => "boot"
    ]
    
  3. Closure() {#116 …3}
    
/home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php
    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<string, mixed>  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \InvalidArgumentException
     */
    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|callable  $abstract
     * @param  array  $parameters
Arguments
  1. Illuminate\Foundation\Application {#4}
    
  2. array:2 [
      0 => Botble\Media\Providers\MediaServiceProvider {#140}
      1 => "boot"
    ]
    
  3. []
    
  4. null
    
/home/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
            $this->bootProvider($p);
        });
 
        $this->booted = true;
 
        $this->fireAppCallbacks($this->bootedCallbacks);
    }
 
    /**
     * Boot the given service provider.
     *
     * @param  \Illuminate\Support\ServiceProvider  $provider
     * @return void
     */
    protected function bootProvider(ServiceProvider $provider)
    {
        $provider->callBootingCallbacks();
 
        if (method_exists($provider, 'boot')) {
            $this->call([$provider, 'boot']);
        }
 
        $provider->callBootedCallbacks();
    }
 
    /**
     * 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
Arguments
  1. array:2 [
      0 => Botble\Media\Providers\MediaServiceProvider {#140}
      1 => "boot"
    ]
    
/home/sbibhysg/public_html/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 void
     */
    protected function bootProvider(ServiceProvider $provider)
    {
        $provider->callBootingCallbacks();
 
        if (method_exists($provider, 'boot')) {
            $this->call([$provider, 'boot']);
        }
Arguments
  1. Botble\Media\Providers\MediaServiceProvider {#140}
    
[internal]
Arguments
  1. Botble\Media\Providers\MediaServiceProvider {#140}
    
  2. 32
    
/home/sbibhysg/public_html/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 void
     */
    protected function bootProvider(ServiceProvider $provider)
    {
        $provider->callBootingCallbacks();
 
        if (method_exists($provider, 'boot')) {
            $this->call([$provider, 'boot']);
        }
 
Arguments
  1. array:71 [
      0 => Illuminate\Events\EventServiceProvider {#7}
      1 => Illuminate\Log\LogServiceProvider {#9}
      2 => Illuminate\Routing\RoutingServiceProvider {#11}
      3 => Illuminate\Auth\AuthServiceProvider {#117}
      4 => Illuminate\Cookie\CookieServiceProvider {#103}
      5 => Illuminate\Database\DatabaseServiceProvider {#63}
      6 => Illuminate\Encryption\EncryptionServiceProvider {#94}
      7 => Illuminate\Filesystem\FilesystemServiceProvider {#90}
      8 => Illuminate\Foundation\Providers\FormRequestServiceProvider {#84}
      9 => Illuminate\Testing\ParallelTestingServiceProvider {#83}
      10 => Illuminate\Foundation\Providers\FoundationServiceProvider {#85}
      11 => Illuminate\Notifications\NotificationServiceProvider {#78}
      12 => Illuminate\Pagination\PaginationServiceProvider {#76}
      13 => Illuminate\Session\SessionServiceProvider {#70}
      14 => Illuminate\View\ViewServiceProvider {#65}
      15 => Barryvdh\DomPDF\ServiceProvider {#38}
      16 => Botble\Api\Providers\ApiServiceProvider {#57}
      17 => Botble\Assets\Providers\AssetsServiceProvider {#56}
      18 => Botble\Menu\Providers\MenuServiceProvider {#60}
      19 => Botble\Page\Providers\PageServiceProvider {#59}
      20 => Botble\Setting\Providers\SettingServiceProvider {#119}
      21 => Botble\Base\Providers\BaseServiceProvider {#61}
      22 => Botble\Base\Providers\CommandServiceProvider {#124}
      23 => Botble\Base\Providers\EventServiceProvider {#125}
      24 => Botble\Base\Providers\BreadcrumbsServiceProvider {#127}
      25 => Botble\Base\Providers\ComposerServiceProvider {#128}
      26 => Botble\Base\Providers\MailConfigServiceProvider {#129}
      27 => Botble\Base\Providers\FormServiceProvider {#130}
      28 => Botble\Support\Providers\SupportServiceProvider {#131}
      29 => Botble\Table\Providers\TableServiceProvider {#132}
      30 => Botble\ACL\Providers\AclServiceProvider {#133}
      31 => Botble\Dashboard\Providers\DashboardServiceProvider {#137}
      32 => Botble\Media\Providers\MediaServiceProvider {#140}
      33 => Botble\JsValidation\Providers\JsValidationServiceProvider {#144}
      34 => Botble\Chart\Providers\ChartServiceProvider {#146}
      35 => Botble\PluginManagement\Providers\PluginManagementServiceProvider {#147}
      36 => Botble\Revision\Providers\RevisionServiceProvider {#148}
      37 => Botble\SeoHelper\Providers\SeoHelperServiceProvider {#149}
      38 => Botble\Shortcode\Providers\ShortcodeServiceProvider {#154}
      39 => Botble\Sitemap\Providers\SitemapServiceProvider {#66}
      40 => Botble\Slug\Providers\SlugServiceProvider {#160}
      41 => Botble\Theme\Providers\ThemeServiceProvider {#164}
      42 => Botble\Theme\Providers\RouteServiceProvider {#167}
      43 => Botble\Widget\Providers\WidgetServiceProvider {#169}
      44 => Fideloper\Proxy\TrustedProxyServiceProvider {#173}
      45 => Fruitcake\Cors\CorsServiceProvider {#174}
      46 => Intervention\Image\ImageServiceProvider {#176}
      47 => Knuckles\Scribe\ScribeServiceProvider {#179}
      48 => Kris\LaravelFormBuilder\FormBuilderServiceProvider {#180}
      49 => Laravel\Passport\PassportServiceProvider {#185}
      50 => Maatwebsite\Excel\ExcelServiceProvider {#192}
      51 => Mews\Purifier\PurifierServiceProvider {#204}
      52 => Carbon\Laravel\ServiceProvider {#206}
      53 => NunoMaduro\Collision\Adapters\Laravel\CollisionServiceProvider {#207}
      54 => Spatie\Feed\FeedServiceProvider {#208}
      55 => Tightenco\Ziggy\ZiggyServiceProvider {#210}
      56 => Unicodeveloper\Paystack\PaystackServiceProvider {#211}
      57 => Collective\Html\HtmlServiceProvider {#215}
      58 => Yajra\DataTables\HtmlServiceProvider {#214}
      59 => Yajra\DataTables\ButtonsServiceProvider {#213}
      60 => Yajra\DataTables\DataTablesServiceProvider {#220}
      61 => App\Providers\AppServiceProvider {#224}
      62 => App\Providers\AuthServiceProvider {#225}
      63 => App\Providers\EventServiceProvider {#226}
      64 => App\Providers\RouteServiceProvider {#228}
      65 => Botble\Menu\Providers\EventServiceProvider {#252}
      66 => Botble\Menu\Providers\CommandServiceProvider {#254}
      67 => Botble\Page\Providers\EventServiceProvider {#271}
      68 => Botble\ACL\Providers\CommandServiceProvider {#339}
      69 => Botble\ACL\Providers\EventServiceProvider {#343}
      70 => Illuminate\Hashing\HashServiceProvider {#428}
    ]
    
  2. Closure($p) {#41 …4}
    
/home/sbibhysg/public_html/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/sbibhysg/public_html/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)
    {
        $this->afterBootstrapping(
            LoadEnvironmentVariables::class, $callback
        );
    }
 
    /**
     * Register a callback to run before a bootstrapper.
Arguments
  1. Illuminate\Foundation\Application {#4}
    
/home/sbibhysg/public_html/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/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
        $this->app['events']->dispatch(
            new RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    protected function sendRequestThroughRouter($request)
    {
        $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/sbibhysg/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
    public function __construct(Application $app, Router $router)
    {
        $this->app = $app;
        $this->router = $router;
 
        $this->syncMiddlewareToRouter();
    }
 
    /**
     * Handle an incoming HTTP request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function handle($request)
    {
        try {
            $request->enableHttpMethodParameterOverride();
 
            $response = $this->sendRequestThroughRouter($request);
        } catch (Throwable $e) {
            $this->reportException($e);
 
            $response = $this->renderException($request, $e);
        }
 
        $this->app['events']->dispatch(
            new RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    protected function sendRequestThroughRouter($request)
Arguments
  1. Illuminate\Http\Request {#45
      #json: null
      #convertedFiles: null
      #userResolver: null
      #routeResolver: null
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: null
      #requestUri: null
      #baseUrl: null
      #basePath: null
      #method: null
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      pathInfo: "/ar/news/make-more-money-by-turning-property-into-vacation-rental"
      requestUri: "/ar/news/make-more-money-by-turning-property-into-vacation-rental"
      baseUrl: ""
      basePath: ""
      method: "GET"
      format: "html"
    }
    
/home/sbibhysg/public_html/public/index.php
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request using
| the application's HTTP kernel. Then, we will send the response back
| to this client's browser, allowing them to enjoy our application.
|
*/
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
$app->bind('path.public', function () {
    return __DIR__;
});
 
$kernel = $app->make(Kernel::class);
 
$response = $kernel->handle(
    $request = Request::capture()
)->send();
 
$kernel->terminate($request, $response);
 
Arguments
  1. Illuminate\Http\Request {#45
      #json: null
      #convertedFiles: null
      #userResolver: null
      #routeResolver: null
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#47}
      +request: Symfony\Component\HttpFoundation\InputBag {#53}
      +query: Symfony\Component\HttpFoundation\InputBag {#53}
      +server: Symfony\Component\HttpFoundation\ServerBag {#49}
      +files: Symfony\Component\HttpFoundation\FileBag {#50}
      +cookies: Symfony\Component\HttpFoundation\InputBag {#48}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#51}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: null
      #requestUri: null
      #baseUrl: null
      #basePath: null
      #method: null
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -preferredFormat: null
      -isHostValid: true
      -isForwardedValid: true
      -isSafeContentPreferred: null
      pathInfo: "/ar/news/make-more-money-by-turning-property-into-vacation-rental"
      requestUri: "/ar/news/make-more-money-by-turning-property-into-vacation-rental"
      baseUrl: ""
      basePath: ""
      method: "GET"
      format: "html"
    }
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
PHPRC
"/home/sbibhysg/public_html/"
PHP_INI_SCAN_DIR
"/home/sbibhysg/.system-php/ini/7.4/homespartner.ae"
PATH
"/usr/local/bin:/bin:/usr/bin"
HTTP_ACCEPT
"*/*"
HTTP_HOST
"www.homespartner.ae"
HTTP_USER_AGENT
"claudebot"
HTTP_X_FORWARDED_FOR
"3.231.3.140"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_HTTPS
"on"
DOCUMENT_ROOT
"/home/sbibhysg/public_html"
REMOTE_ADDR
"3.231.3.140"
REMOTE_PORT
"37630"
SERVER_ADDR
"68.65.120.78"
SERVER_NAME
"www.homespartner.ae"
SERVER_ADMIN
"webmaster@homespartner.ae"
SERVER_PORT
"443"
REQUEST_SCHEME
"https"
REQUEST_URI
"/ar/news/make-more-money-by-turning-property-into-vacation-rental"
REDIRECT_URL
"/public/ar/news/make-more-money-by-turning-property-into-vacation-rental"
REDIRECT_REQUEST_METHOD
"GET"
PROXY_REMOTE_ADDR
"68.65.120.78"
HTTPS
"on"
REDIRECT_STATUS
"200"
SCRIPT_FILENAME
"/home/sbibhysg/public_html/public/index.php"
QUERY_STRING
""
SCRIPT_URI
"https://www.homespartner.ae/ar/news/make-more-money-by-turning-property-into-vacation-rental"
SCRIPT_URL
"/ar/news/make-more-money-by-turning-property-into-vacation-rental"
SCRIPT_NAME
"/public/index.php"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"LiteSpeed"
REQUEST_METHOD
"GET"
X-LSCACHE
"on"
PHP_SELF
"/public/index.php"
REQUEST_TIME_FLOAT
1711704217.784
REQUEST_TIME
1711704217
argv
[]
argc
0
APP_NAME
"Your App"
APP_DEBUG
"true"
APP_ENV
"production"
APP_URL
"https://homespartner.ae/"
APP_KEY
"***************************************************"
LOG_CHANNEL
"daily"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_CLIENT
"predis"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"****"
REDIS_PORT
"6379"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"***********"
DB_USERNAME
"**************"
DB_PASSWORD
"***********"
DB_STRICT
"false"
ADMIN_DIR
"*****"
BLOG_USE_LANGUAGE_VERSION_2
"true"
PAGE_USE_LANGUAGE_VERSION_2
"true"
REAL_ESTATE_USE_LANGUAGE_VERSION_2
"true"
CAREER_USE_LANGUAGE_VERSION_2
"true"
Key Value
PHPRC
"/home/sbibhysg/public_html/"
PHP_INI_SCAN_DIR
"/home/sbibhysg/.system-php/ini/7.4/homespartner.ae"
PATH
"/usr/local/bin:/bin:/usr/bin"
APP_NAME
"Your App"
APP_DEBUG
"true"
APP_ENV
"production"
APP_URL
"https://homespartner.ae/"
APP_KEY
"***************************************************"
LOG_CHANNEL
"daily"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_CLIENT
"predis"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"****"
REDIS_PORT
"6379"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"***********"
DB_USERNAME
"**************"
DB_PASSWORD
"***********"
DB_STRICT
"false"
ADMIN_DIR
"*****"
BLOG_USE_LANGUAGE_VERSION_2
"true"
PAGE_USE_LANGUAGE_VERSION_2
"true"
REAL_ESTATE_USE_LANGUAGE_VERSION_2
"true"
CAREER_USE_LANGUAGE_VERSION_2
"true"
0. Whoops\Handler\PrettyPageHandler