MongoDB \ Driver \ Exception \ ConnectionTimeoutException (13053)
No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on '127.0.0.1:27017'] MongoDB\Driver\Exception\ConnectionTimeoutException thrown with message "No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on '127.0.0.1:27017']" Stacktrace: #24 MongoDB\Driver\Exception\ConnectionTimeoutException in /home/see/web/see.news/public_html/vendor/mongodb/mongodb/src/Collection.php:515 #23 MongoDB\Driver\Manager:selectServer in /home/see/web/see.news/public_html/vendor/mongodb/mongodb/src/Collection.php:515 #22 MongoDB\Collection:find in /home/see/web/see.news/public_html/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Collection.php:45 #21 call_user_func_array in /home/see/web/see.news/public_html/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Collection.php:45 #20 Jenssegers\Mongodb\Collection:__call in /home/see/web/see.news/public_html/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php:394 #19 Jenssegers\Mongodb\Query\Builder:getFresh in /home/see/web/see.news/public_html/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php:211 #18 Jenssegers\Mongodb\Query\Builder:get in /home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:521 #17 Illuminate\Database\Eloquent\Builder:getModels in /home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:505 #16 Illuminate\Database\Eloquent\Builder:get in /home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php:77 #15 Illuminate\Database\Eloquent\Builder:first in /home/see/web/see.news/public_html/app/Providers/AppServiceProvider.php:27 #14 App\Providers\AppServiceProvider:boot in /home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:32 #13 call_user_func_array in /home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:32 #12 Illuminate\Container\BoundMethod:Illuminate\Container\{closure} in /home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:90 #11 Illuminate\Container\BoundMethod:callBoundMethod in /home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:34 #10 Illuminate\Container\BoundMethod:call in /home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:576 #9 Illuminate\Container\Container:call in /home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:827 #8 Illuminate\Foundation\Application:bootProvider in /home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:810 #7 Illuminate\Foundation\Application:Illuminate\Foundation\{closure} in [internal]:0 #6 array_walk in /home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:811 #5 Illuminate\Foundation\Application:boot in /home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17 #4 Illuminate\Foundation\Bootstrap\BootProviders:bootstrap in /home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:210 #3 Illuminate\Foundation\Application:bootstrapWith in /home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:162 #2 Illuminate\Foundation\Http\Kernel:bootstrap in /home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:146 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 #0 Illuminate\Foundation\Http\Kernel:handle in /home/see/web/see.news/public_html/public/index.php:55
24
MongoDB\Driver\Exception\ConnectionTimeoutException
/vendor/mongodb/mongodb/src/Collection.php515
23
MongoDB\Driver\Manager selectServer
/vendor/mongodb/mongodb/src/Collection.php515
22
MongoDB\Collection find
/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Collection.php45
21
call_user_func_array
/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Collection.php45
20
Jenssegers\Mongodb\Collection __call
/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php394
19
Jenssegers\Mongodb\Query\Builder getFresh
/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php211
18
Jenssegers\Mongodb\Query\Builder get
/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php521
17
Illuminate\Database\Eloquent\Builder getModels
/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php505
16
Illuminate\Database\Eloquent\Builder get
/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php77
15
Illuminate\Database\Eloquent\Builder first
/app/Providers/AppServiceProvider.php27
14
App\Providers\AppServiceProvider boot
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php32
13
call_user_func_array
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php32
12
Illuminate\Container\BoundMethod Illuminate\Container\{closure}
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php90
11
Illuminate\Container\BoundMethod callBoundMethod
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php34
10
Illuminate\Container\BoundMethod call
/vendor/laravel/framework/src/Illuminate/Container/Container.php576
9
Illuminate\Container\Container call
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php827
8
Illuminate\Foundation\Application bootProvider
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php810
7
Illuminate\Foundation\Application Illuminate\Foundation\{closure}
[internal]0
6
array_walk
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php811
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.php210
3
Illuminate\Foundation\Application bootstrapWith
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php162
2
Illuminate\Foundation\Http\Kernel bootstrap
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php146
1
Illuminate\Foundation\Http\Kernel sendRequestThroughRouter
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php116
0
Illuminate\Foundation\Http\Kernel handle
/public/index.php55
/home/see/web/see.news/public_html/vendor/mongodb/mongodb/src/Collection.php
 
    /**
     * Finds documents matching the query.
     *
     * @see Find::__construct() for supported options
     * @see http://docs.mongodb.org/manual/core/read-operations-introduction/
     * @param array|object $filter  Query by which to filter documents
     * @param array        $options Additional options
     * @return Cursor
     * @throws UnsupportedException if options are not supported by the selected server
     * @throws InvalidArgumentException for parameter/option parsing errors
     * @throws DriverRuntimeException for other driver errors (e.g. connection errors)
     */
    public function find($filter = [], array $options = [])
    {
        if ( ! isset($options['readPreference'])) {
            $options['readPreference'] = $this->readPreference;
        }
 
        $server = $this->manager->selectServer($options['readPreference']);
 
        if ( ! isset($options['readConcern']) && \MongoDB\server_supports_feature($server, self::$wireVersionForReadConcern)) {
            $options['readConcern'] = $this->readConcern;
        }
 
        if ( ! isset($options['typeMap'])) {
            $options['typeMap'] = $this->typeMap;
        }
 
        $operation = new Find($this->databaseName, $this->collectionName, $filter, $options);
 
        return $operation->execute($server);
    }
 
    /**
     * Finds a single document matching the query.
     *
     * @see FindOne::__construct() for supported options
     * @see http://docs.mongodb.org/manual/core/read-operations-introduction/
     * @param array|object $filter  Query by which to filter documents
Arguments
  1. "No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on '127.0.0.1:27017']"
    
/home/see/web/see.news/public_html/vendor/mongodb/mongodb/src/Collection.php
 
    /**
     * Finds documents matching the query.
     *
     * @see Find::__construct() for supported options
     * @see http://docs.mongodb.org/manual/core/read-operations-introduction/
     * @param array|object $filter  Query by which to filter documents
     * @param array        $options Additional options
     * @return Cursor
     * @throws UnsupportedException if options are not supported by the selected server
     * @throws InvalidArgumentException for parameter/option parsing errors
     * @throws DriverRuntimeException for other driver errors (e.g. connection errors)
     */
    public function find($filter = [], array $options = [])
    {
        if ( ! isset($options['readPreference'])) {
            $options['readPreference'] = $this->readPreference;
        }
 
        $server = $this->manager->selectServer($options['readPreference']);
 
        if ( ! isset($options['readConcern']) && \MongoDB\server_supports_feature($server, self::$wireVersionForReadConcern)) {
            $options['readConcern'] = $this->readConcern;
        }
 
        if ( ! isset($options['typeMap'])) {
            $options['typeMap'] = $this->typeMap;
        }
 
        $operation = new Find($this->databaseName, $this->collectionName, $filter, $options);
 
        return $operation->execute($server);
    }
 
    /**
     * Finds a single document matching the query.
     *
     * @see FindOne::__construct() for supported options
     * @see http://docs.mongodb.org/manual/core/read-operations-introduction/
     * @param array|object $filter  Query by which to filter documents
Arguments
  1. MongoDB\Driver\ReadPreference {#145}
    
/home/see/web/see.news/public_html/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Collection.php
     * @param Connection $connection
     * @param MongoCollection $collection
     */
    public function __construct(Connection $connection, MongoCollection $collection)
    {
        $this->connection = $connection;
        $this->collection = $collection;
    }
 
    /**
     * Handle dynamic method calls.
     *
     * @param  string $method
     * @param  array $parameters
     * @return mixed
     */
    public function __call($method, $parameters)
    {
        $start = microtime(true);
        $result = call_user_func_array([$this->collection, $method], $parameters);
 
        if ($this->connection->logging()) {
            // 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->connection->getElapsedTime($start);
 
            $query = [];
 
            // Convert the query parameters to a json string.
            array_walk_recursive($parameters, function (&$item, $key) {
                if ($item instanceof ObjectID) {
                    $item = (string) $item;
                }
            });
 
            // Convert the query parameters to a json string.
            foreach ($parameters as $parameter) {
                try {
                    $query[] = json_encode($parameter);
Arguments
  1. []
    
  2. array:4 [
      "sort" => array:1 [
        "_id" => -1
      ]
      "limit" => 1
      "typeMap" => array:2 [
        "root" => "array"
        "document" => "array"
      ]
      "readPreference" => MongoDB\Driver\ReadPreference {#145}
    ]
    
/home/see/web/see.news/public_html/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Collection.php
     * @param Connection $connection
     * @param MongoCollection $collection
     */
    public function __construct(Connection $connection, MongoCollection $collection)
    {
        $this->connection = $connection;
        $this->collection = $collection;
    }
 
    /**
     * Handle dynamic method calls.
     *
     * @param  string $method
     * @param  array $parameters
     * @return mixed
     */
    public function __call($method, $parameters)
    {
        $start = microtime(true);
        $result = call_user_func_array([$this->collection, $method], $parameters);
 
        if ($this->connection->logging()) {
            // 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->connection->getElapsedTime($start);
 
            $query = [];
 
            // Convert the query parameters to a json string.
            array_walk_recursive($parameters, function (&$item, $key) {
                if ($item instanceof ObjectID) {
                    $item = (string) $item;
                }
            });
 
            // Convert the query parameters to a json string.
            foreach ($parameters as $parameter) {
                try {
                    $query[] = json_encode($parameter);
Arguments
  1. array:2 [
      0 => MongoDB\Collection {#154}
      1 => "find"
    ]
    
  2. array:2 [
      0 => []
      1 => array:3 [
        "sort" => array:1 [
          "_id" => -1
        ]
        "limit" => 1
        "typeMap" => array:2 [
          "root" => "array"
          "document" => "array"
        ]
      ]
    ]
    
/home/see/web/see.news/public_html/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php
                $options['skip'] = $this->offset;
            }
            if ($this->limit) {
                $options['limit'] = $this->limit;
            }
            if ($columns) {
                $options['projection'] = $columns;
            }
            // if ($this->hint)    $cursor->hint($this->hint);
 
            // Fix for legacy support, converts the results to arrays instead of objects.
            $options['typeMap'] = ['root' => 'array', 'document' => 'array'];
 
            // Add custom query options
            if (count($this->options)) {
                $options = array_merge($options, $this->options);
            }
 
            // Execute query and get MongoCursor
            $cursor = $this->collection->find($wheres, $options);
 
            // Return results as an array with numeric keys
            $results = iterator_to_array($cursor, false);
            return $this->useCollections ? new Collection($results) : $results;
        }
    }
 
    /**
     * Generate the unique cache key for the current query.
     *
     * @return string
     */
    public function generateCacheKey()
    {
        $key = [
            'connection' => $this->collection->getDatabaseName(),
            'collection' => $this->collection->getCollectionName(),
            'wheres' => $this->wheres,
            'columns' => $this->columns,
            'groups' => $this->groups,
Arguments
  1. "find"
    
  2. array:2 [
      0 => []
      1 => array:3 [
        "sort" => array:1 [
          "_id" => -1
        ]
        "limit" => 1
        "typeMap" => array:2 [
          "root" => "array"
          "document" => "array"
        ]
      ]
    ]
    
/home/see/web/see.news/public_html/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php
    {
        $this->hint = $index;
 
        return $this;
    }
 
    /**
     * @inheritdoc
     */
    public function find($id, $columns = [])
    {
        return $this->where('_id', '=', $this->convertKey($id))->first($columns);
    }
 
    /**
     * @inheritdoc
     */
    public function get($columns = [])
    {
        return $this->getFresh($columns);
    }
 
    /**
     * Execute the query as a fresh "select" statement.
     *
     * @param  array $columns
     * @return array|static[]|Collection
     */
    public function getFresh($columns = [])
    {
        // If no columns have been specified for the select statement, we will set them
        // here to either the passed columns, or the standard default of retrieving
        // all of the columns on the table using the "wildcard" column character.
        if (is_null($this->columns)) {
            $this->columns = $columns;
        }
 
        // Drop all columns if * is present, MongoDB does not work this way.
        if (in_array('*', $this->columns)) {
            $this->columns = [];
Arguments
  1. []
    
/home/see/web/see.news/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  $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/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php
    {
        if ($result = $this->first([$column])) {
            return $result->{$column};
        }
    }
 
    /**
     * Execute the query as a "select" statement.
     *
     * @param  array  $columns
     * @return \Illuminate\Database\Eloquent\Collection|static[]
     */
    public function get($columns = ['*'])
    {
        $builder = $this->applyScopes();
 
        // If we actually found models we will also eager load any relationships that
        // have been specified as needing to be eager loaded, which will solve the
        // n+1 query issue for the developers to avoid running a lot of queries.
        if (count($models = $builder->getModels($columns)) > 0) {
            $models = $builder->eagerLoadRelations($models);
        }
 
        return $builder->getModel()->newCollection($models);
    }
 
    /**
     * Get the hydrated models without eager loading.
     *
     * @param  array  $columns
     * @return \Illuminate\Database\Eloquent\Model[]|static[]
     */
    public function getModels($columns = ['*'])
    {
        return $this->model->hydrate(
            $this->query->get($columns)->all()
        )->all();
    }
 
    /**
Arguments
  1. array:1 [
      0 => "*"
    ]
    
/home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php
    public function each(callable $callback, $count = 1000)
    {
        return $this->chunk($count, function ($results) use ($callback) {
            foreach ($results as $key => $value) {
                if ($callback($value, $key) === false) {
                    return false;
                }
            }
        });
    }
 
    /**
     * Execute the query and get the first result.
     *
     * @param  array  $columns
     * @return \Illuminate\Database\Eloquent\Model|object|static|null
     */
    public function first($columns = ['*'])
    {
        return $this->take(1)->get($columns)->first();
    }
 
    /**
     * Apply the callback's query changes if the given "value" is true.
     *
     * @param  mixed  $value
     * @param  callable  $callback
     * @param  callable|null  $default
     * @return mixed|$this
     */
    public function when($value, $callback, $default = null)
    {
        if ($value) {
            return $callback($this, $value) ?: $this;
        } elseif ($default) {
            return $default($this, $value) ?: $this;
        }
 
        return $this;
    }
Arguments
  1. array:1 [
      0 => "*"
    ]
    
/home/see/web/see.news/public_html/app/Providers/AppServiceProvider.php
{
    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        //
    }
 
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
 
        $Settings = Settings::orderBy('_id','DESC')->first();
        view()->share('settings', $Settings);
 
    }
}
 
/home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \ReflectionException
     * @throws \InvalidArgumentException
     */
    public static function call($container, $callback, array $parameters = [], $defaultMethod = null)
    {
        if (static::isCallableWithAtSign($callback) || $defaultMethod) {
            return static::callClass($container, $callback, $parameters, $defaultMethod);
        }
 
        return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
            return call_user_func_array(
                $callback, static::getMethodDependencies($container, $callback, $parameters)
            );
        });
    }
 
    /**
     * Call a string reference to a class using Class@method syntax.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  string  $target
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \InvalidArgumentException
     */
    protected static function callClass($container, $target, array $parameters = [], $defaultMethod = null)
    {
        $segments = explode('@', $target);
 
        // We will assume an @ sign is used to delimit the class name from the method
/home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \ReflectionException
     * @throws \InvalidArgumentException
     */
    public static function call($container, $callback, array $parameters = [], $defaultMethod = null)
    {
        if (static::isCallableWithAtSign($callback) || $defaultMethod) {
            return static::callClass($container, $callback, $parameters, $defaultMethod);
        }
 
        return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
            return call_user_func_array(
                $callback, static::getMethodDependencies($container, $callback, $parameters)
            );
        });
    }
 
    /**
     * Call a string reference to a class using Class@method syntax.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  string  $target
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \InvalidArgumentException
     */
    protected static function callClass($container, $target, array $parameters = [], $defaultMethod = null)
    {
        $segments = explode('@', $target);
 
        // We will assume an @ sign is used to delimit the class name from the method
Arguments
  1. array:2 [
      0 => App\Providers\AppServiceProvider {#113}
      1 => "boot"
    ]
    
  2. []
    
/home/see/web/see.news/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 $default instanceof Closure ? $default() : $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 $default instanceof Closure ? $default() : $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
/home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
     * @param  \Illuminate\Container\Container  $container
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \ReflectionException
     * @throws \InvalidArgumentException
     */
    public static function call($container, $callback, array $parameters = [], $defaultMethod = null)
    {
        if (static::isCallableWithAtSign($callback) || $defaultMethod) {
            return static::callClass($container, $callback, $parameters, $defaultMethod);
        }
 
        return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
            return call_user_func_array(
                $callback, static::getMethodDependencies($container, $callback, $parameters)
            );
        });
    }
 
    /**
     * Call a string reference to a class using Class@method syntax.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  string  $target
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \InvalidArgumentException
     */
    protected static function callClass($container, $target, array $parameters = [], $defaultMethod = null)
    {
        $segments = explode('@', $target);
 
        // We will assume an @ sign is used to delimit the class name from the method
        // name. We will split on this @ sign and then build a callable array that
        // we can pass right back into the "call" method for dependency binding.
Arguments
  1. Illuminate\Foundation\Application {#2}
    
  2. array:2 [
      0 => App\Providers\AppServiceProvider {#113}
      1 => "boot"
    ]
    
  3. Closure() {#42 …3}
    
/home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php
     * @return \Closure
     */
    public function wrap(Closure $callback, array $parameters = [])
    {
        return function () use ($callback, $parameters) {
            return $this->call($callback, $parameters);
        };
    }
 
    /**
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     */
    public function call($callback, array $parameters = [], $defaultMethod = null)
    {
        return BoundMethod::call($this, $callback, $parameters, $defaultMethod);
    }
 
    /**
     * Get a closure to resolve the given type from the container.
     *
     * @param  string  $abstract
     * @return \Closure
     */
    public function factory($abstract)
    {
        return function () use ($abstract) {
            return $this->make($abstract);
        };
    }
 
    /**
     * An alias function name for make().
     *
     * @param  string  $abstract
     * @param  array  $parameters
Arguments
  1. Illuminate\Foundation\Application {#2}
    
  2. array:2 [
      0 => App\Providers\AppServiceProvider {#113}
      1 => "boot"
    ]
    
  3. []
    
  4. null
    
/home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
 
        array_walk($this->serviceProviders, function ($p) {
            $this->bootProvider($p);
        });
 
        $this->booted = true;
 
        $this->fireAppCallbacks($this->bootedCallbacks);
    }
 
    /**
     * Boot the given service provider.
     *
     * @param  \Illuminate\Support\ServiceProvider  $provider
     * @return mixed
     */
    protected function bootProvider(ServiceProvider $provider)
    {
        if (method_exists($provider, 'boot')) {
            return $this->call([$provider, 'boot']);
        }
    }
 
    /**
     * Register a new boot listener.
     *
     * @param  callable  $callback
     * @return void
     */
    public function booting($callback)
    {
        $this->bootingCallbacks[] = $callback;
    }
 
    /**
     * Register a new "booted" listener.
     *
     * @param  callable  $callback
     * @return void
     */
Arguments
  1. array:2 [
      0 => App\Providers\AppServiceProvider {#113}
      1 => "boot"
    ]
    
/home/see/web/see.news/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 mixed
     */
    protected function bootProvider(ServiceProvider $provider)
    {
        if (method_exists($provider, 'boot')) {
            return $this->call([$provider, 'boot']);
        }
    }
 
Arguments
  1. App\Providers\AppServiceProvider {#113}
    
[internal]
Arguments
  1. App\Providers\AppServiceProvider {#113}
    
  2. 21
    
/home/see/web/see.news/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 mixed
     */
    protected function bootProvider(ServiceProvider $provider)
    {
        if (method_exists($provider, 'boot')) {
            return $this->call([$provider, 'boot']);
        }
    }
 
    /**
Arguments
  1. array:27 [
      0 => Illuminate\Events\EventServiceProvider {#7}
      1 => Illuminate\Log\LogServiceProvider {#9}
      2 => Illuminate\Routing\RoutingServiceProvider {#11}
      3 => Illuminate\Auth\AuthServiceProvider {#50}
      4 => Illuminate\Cookie\CookieServiceProvider {#57}
      5 => Illuminate\Database\DatabaseServiceProvider {#59}
      6 => Illuminate\Encryption\EncryptionServiceProvider {#66}
      7 => Illuminate\Filesystem\FilesystemServiceProvider {#68}
      8 => Illuminate\Foundation\Providers\FormRequestServiceProvider {#74}
      9 => Illuminate\Foundation\Providers\FoundationServiceProvider {#73}
      10 => Illuminate\Notifications\NotificationServiceProvider {#77}
      11 => Illuminate\Pagination\PaginationServiceProvider {#79}
      12 => Illuminate\Session\SessionServiceProvider {#83}
      13 => Illuminate\View\ViewServiceProvider {#87}
      14 => BeyondCode\DumpServer\DumpServerServiceProvider {#91}
      15 => Gloudemans\Shoppingcart\ShoppingcartServiceProvider {#99}
      16 => Fideloper\Proxy\TrustedProxyServiceProvider {#103}
      17 => Intervention\Image\ImageServiceProvider {#104}
      18 => Jenssegers\Mongodb\MongodbServiceProvider {#107}
      19 => Carbon\Laravel\ServiceProvider {#110}
      20 => Stevebauman\Location\LocationServiceProvider {#111}
      21 => App\Providers\AppServiceProvider {#113}
      22 => App\Providers\AuthServiceProvider {#114}
      23 => App\Providers\ComposerServiceProvider {#115}
      24 => App\Providers\EventServiceProvider {#116}
      25 => App\Providers\RouteServiceProvider {#117}
      26 => Illuminate\Hashing\HashServiceProvider {#156}
    ]
    
  2. Closure($p) {#44 …4}
    
/home/see/web/see.news/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/see/web/see.news/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)
    {
        return $this->afterBootstrapping(
            LoadEnvironmentVariables::class, $callback
        );
    }
 
    /**
     * Register a callback to run before a bootstrapper.
Arguments
  1. Illuminate\Foundation\Application {#2}
    
/home/see/web/see.news/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/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
        $this->app['events']->dispatch(
            new Events\RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    protected function sendRequestThroughRouter($request)
    {
        $this->app->instance('request', $request);
 
        Facade::clearResolvedInstance('request');
 
        $this->bootstrap();
 
        return (new Pipeline($this->app))
                    ->send($request)
                    ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
                    ->then($this->dispatchToRouter());
    }
 
    /**
     * Bootstrap the application for HTTP requests.
     *
     * @return void
     */
    public function bootstrap()
    {
        if (! $this->app->hasBeenBootstrapped()) {
            $this->app->bootstrapWith($this->bootstrappers());
        }
    }
 
    /**
/home/see/web/see.news/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
            $router->middlewareGroup($key, $middleware);
        }
 
        foreach ($this->routeMiddleware as $key => $middleware) {
            $router->aliasMiddleware($key, $middleware);
        }
    }
 
    /**
     * Handle an incoming HTTP request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function handle($request)
    {
        try {
            $request->enableHttpMethodParameterOverride();
 
            $response = $this->sendRequestThroughRouter($request);
        } catch (Exception $e) {
            $this->reportException($e);
 
            $response = $this->renderException($request, $e);
        } catch (Throwable $e) {
            $this->reportException($e = new FatalThrowableError($e));
 
            $response = $this->renderException($request, $e);
        }
 
        $this->app['events']->dispatch(
            new Events\RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: null
      #routeResolver: null
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #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
      pathInfo: "/tag/king-charles-iii"
      requestUri: "/tag/king-charles-iii"
      baseUrl: ""
      basePath: ""
      method: "GET"
      format: "html"
    }
    
/home/see/web/see.news/public_html/public/index.php
*/
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
 
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
 
$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);
 
$response->send();
 
$kernel->terminate($request, $response);
 
Arguments
  1. Illuminate\Http\Request {#43
      #json: null
      #convertedFiles: null
      #userResolver: null
      #routeResolver: null
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#51}
      +server: Symfony\Component\HttpFoundation\ServerBag {#47}
      +files: Symfony\Component\HttpFoundation\FileBag {#48}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#46}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#49}
      #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
      pathInfo: "/tag/king-charles-iii"
      requestUri: "/tag/king-charles-iii"
      baseUrl: ""
      basePath: ""
      method: "GET"
      format: "html"
    }
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
REDIRECT_REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_HTTPS
"on"
REDIRECT_STATUS
"200"
HTTPS
"on"
HTTP_HOST
"see.news"
HTTP_X_REAL_IP
"35.175.174.36"
HTTP_X_FORWARDED_FOR
"35.175.174.36, 35.175.174.36"
HTTP_CONNECTION
"close"
HTTP_ACCEPT_ENCODING
"gzip, br"
HTTP_CF_RAY
"86baecc6dda93980-DFW"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_CF_VISITOR
"{"scheme":"https"}"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"claudebot"
HTTP_REFERER
"https://see.news/tag/king-charles-iii/"
HTTP_CF_CONNECTING_IP
"35.175.174.36"
HTTP_CDN_LOOP
"cloudflare"
HTTP_CF_IPCOUNTRY
"US"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2.4.29 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1"
SERVER_NAME
"see.news"
SERVER_ADDR
"104.237.136.171"
SERVER_PORT
"443"
REMOTE_ADDR
"104.237.136.171"
DOCUMENT_ROOT
"/home/see/web/see.news/public_html"
REQUEST_SCHEME
"https"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home/see/web/see.news/public_html"
SERVER_ADMIN
"[email protected]"
SCRIPT_FILENAME
"/home/see/web/see.news/public_html/public/index.php"
REMOTE_PORT
"51146"
REDIRECT_URL
"/public/tag/king-charles-iii"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.0"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/tag/king-charles-iii"
SCRIPT_NAME
"/public/index.php"
PHP_SELF
"/public/index.php"
REQUEST_TIME_FLOAT
1711663560.645
REQUEST_TIME
1711663560
APP_NAME
"see"
APP_ENV
"local"
APP_KEY
"base64:yc8tLT07P0db12S7Yejx89NCRFXz8lt+stLKpnXOAhQ="
APP_DEBUG
"true"
APP_URL
"https://see.news"
APP_IMG
"https://i2.wp.com/see.news/images/"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mongodb"
DB_HOST
"127.0.0.1"
DB_PORT
"27017"
DB_DATABASE
"en"
DB_USERNAME
""
DB_PASSWORD
""
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.mailtrap.io"
MAIL_PORT
"2525"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
AWS_ACCESS_KEY_ID
""
AWS_SECRET_ACCESS_KEY
""
AWS_DEFAULT_REGION
"us-east-1"
AWS_BUCKET
""
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
WAS_ACCESS_KEY_ID
""
WAS_SECRET_ACCESS_KEY
""
WAS_DEFAULT_REGION
"us-east-1"
WAS_BUCKET
""
WAS_URL
""
Key Value
APP_NAME
"see"
APP_ENV
"local"
APP_KEY
"base64:yc8tLT07P0db12S7Yejx89NCRFXz8lt+stLKpnXOAhQ="
APP_DEBUG
"true"
APP_URL
"https://see.news"
APP_IMG
"https://i2.wp.com/see.news/images/"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mongodb"
DB_HOST
"127.0.0.1"
DB_PORT
"27017"
DB_DATABASE
"en"
DB_USERNAME
""
DB_PASSWORD
""
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.mailtrap.io"
MAIL_PORT
"2525"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
AWS_ACCESS_KEY_ID
""
AWS_SECRET_ACCESS_KEY
""
AWS_DEFAULT_REGION
"us-east-1"
AWS_BUCKET
""
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
WAS_ACCESS_KEY_ID
""
WAS_SECRET_ACCESS_KEY
""
WAS_DEFAULT_REGION
"us-east-1"
WAS_BUCKET
""
WAS_URL
""
0. Whoops\Handler\PrettyPageHandler