Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)
Class 'PDO' not found Symfony\Component\Debug\Exception\FatalThrowableError thrown with message "Class 'PDO' not found" Stacktrace: #24 Symfony\Component\Debug\Exception\FatalThrowableError in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1246 #23 Illuminate\Database\Connection:getResolver in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:268 #22 Illuminate\Database\Connectors\ConnectionFactory:createConnection in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:76 #21 Illuminate\Database\Connectors\ConnectionFactory:createSingleConnection in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php:50 #20 Illuminate\Database\Connectors\ConnectionFactory:make in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:119 #19 Illuminate\Database\DatabaseManager:makeConnection in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:74 #18 Illuminate\Database\DatabaseManager:connection in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Support/Facades/Schema.php:34 #17 Illuminate\Support\Facades\Schema:getFacadeAccessor in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:130 #16 Illuminate\Support\Facades\Facade:getFacadeRoot in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:217 #15 Illuminate\Support\Facades\Facade:__callStatic in /home/salesbook/public_html/salesbook/app/Providers/AppServiceProvider.php:20 #14 App\Providers\AppServiceProvider:boot in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29 #13 call_user_func_array in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29 #12 Illuminate\Container\BoundMethod:Illuminate\Container\{closure} in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87 #11 Illuminate\Container\BoundMethod:callBoundMethod in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31 #10 Illuminate\Container\BoundMethod:call in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Container/Container.php:564 #9 Illuminate\Container\Container:call in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:794 #8 Illuminate\Foundation\Application:bootProvider in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:777 #7 Illuminate\Foundation\Application:Illuminate\Foundation\{closure} in [internal]:0 #6 array_walk in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:778 #5 Illuminate\Foundation\Application:boot in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17 #4 Illuminate\Foundation\Bootstrap\BootProviders:bootstrap in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:206 #3 Illuminate\Foundation\Application:bootstrapWith in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:162 #2 Illuminate\Foundation\Http\Kernel:bootstrap in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:146 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 #0 Illuminate\Foundation\Http\Kernel:handle in /home/salesbook/public_html/salesbook/public/index.php:55
24
Symfony\Component\Debug\Exception\FatalThrowableError
/vendor/laravel/framework/src/Illuminate/Database/Connection.php1246
23
Illuminate\Database\Connection getResolver
/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php268
22
Illuminate\Database\Connectors\ConnectionFactory createConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php76
21
Illuminate\Database\Connectors\ConnectionFactory createSingleConnection
/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php50
20
Illuminate\Database\Connectors\ConnectionFactory make
/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php119
19
Illuminate\Database\DatabaseManager makeConnection
/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php74
18
Illuminate\Database\DatabaseManager connection
/vendor/laravel/framework/src/Illuminate/Support/Facades/Schema.php34
17
Illuminate\Support\Facades\Schema getFacadeAccessor
/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php130
16
Illuminate\Support\Facades\Facade getFacadeRoot
/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php217
15
Illuminate\Support\Facades\Facade __callStatic
/app/Providers/AppServiceProvider.php20
14
App\Providers\AppServiceProvider boot
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php29
13
call_user_func_array
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php29
12
Illuminate\Container\BoundMethod Illuminate\Container\{closure}
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php87
11
Illuminate\Container\BoundMethod callBoundMethod
/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php31
10
Illuminate\Container\BoundMethod call
/vendor/laravel/framework/src/Illuminate/Container/Container.php564
9
Illuminate\Container\Container call
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php794
8
Illuminate\Foundation\Application bootProvider
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php777
7
Illuminate\Foundation\Application Illuminate\Foundation\{closure}
[internal]0
6
array_walk
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php778
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.php206
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/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Database/Connection.php
     * Register a connection resolver.
     *
     * @param  string  $driver
     * @param  \Closure  $callback
     * @return void
     */
    public static function resolverFor($driver, Closure $callback)
    {
        static::$resolvers[$driver] = $callback;
    }
 
    /**
     * Get the connection resolver for the given driver.
     *
     * @param  string  $driver
     * @return mixed
     */
    public static function getResolver($driver)
    {
        return static::$resolvers[$driver] ?? null;
    }
}
 
Arguments
  1. "Class 'PDO' not found"
    
/home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php
        }
 
        throw new InvalidArgumentException("Unsupported driver [{$config['driver']}]");
    }
 
    /**
     * Create a new connection instance.
     *
     * @param  string   $driver
     * @param  \PDO|\Closure     $connection
     * @param  string   $database
     * @param  string   $prefix
     * @param  array    $config
     * @return \Illuminate\Database\Connection
     *
     * @throws \InvalidArgumentException
     */
    protected function createConnection($driver, $connection, $database, $prefix = '', array $config = [])
    {
        if ($resolver = Connection::getResolver($driver)) {
            return $resolver($connection, $database, $prefix, $config);
        }
 
        switch ($driver) {
            case 'mysql':
                return new MySqlConnection($connection, $database, $prefix, $config);
            case 'pgsql':
                return new PostgresConnection($connection, $database, $prefix, $config);
            case 'sqlite':
                return new SQLiteConnection($connection, $database, $prefix, $config);
            case 'sqlsrv':
                return new SqlServerConnection($connection, $database, $prefix, $config);
        }
 
        throw new InvalidArgumentException("Unsupported driver [{$driver}]");
    }
}
 
Arguments
  1. "mysql"
    
/home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php
     * @param  string  $name
     * @return array
     */
    protected function parseConfig(array $config, $name)
    {
        return Arr::add(Arr::add($config, 'prefix', ''), 'name', $name);
    }
 
    /**
     * Create a single database connection instance.
     *
     * @param  array  $config
     * @return \Illuminate\Database\Connection
     */
    protected function createSingleConnection(array $config)
    {
        $pdo = $this->createPdoResolver($config);
 
        return $this->createConnection(
            $config['driver'], $pdo, $config['database'], $config['prefix'], $config
        );
    }
 
    /**
     * Create a single database connection instance.
     *
     * @param  array  $config
     * @return \Illuminate\Database\Connection
     */
    protected function createReadWriteConnection(array $config)
    {
        $connection = $this->createSingleConnection($this->getWriteConfig($config));
 
        return $connection->setReadPdo($this->createReadPdo($config));
    }
 
    /**
     * Create a new PDO instance for reading.
     *
     * @param  array  $config
Arguments
  1. "mysql"
    
  2. Closure() {#102 …4}
    
  3. "salesbook_db"
    
  4. ""
    
  5. array:13 [
      "driver" => "mysql"
      "host" => "localhost"
      "port" => "3306"
      "database" => "salesbook_db"
      "username" => "salesbook_db_admin"
      "password" => "titer47@lank"
      "unix_socket" => ""
      "charset" => "utf8mb4"
      "collation" => "utf8mb4_unicode_ci"
      "prefix" => ""
      "strict" => true
      "engine" => null
      "name" => "mysql"
    ]
    
/home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php
    {
        $this->container = $container;
    }
 
    /**
     * Establish a PDO connection based on the configuration.
     *
     * @param  array   $config
     * @param  string  $name
     * @return \Illuminate\Database\Connection
     */
    public function make(array $config, $name = null)
    {
        $config = $this->parseConfig($config, $name);
 
        if (isset($config['read'])) {
            return $this->createReadWriteConnection($config);
        }
 
        return $this->createSingleConnection($config);
    }
 
    /**
     * Parse and prepare the database configuration.
     *
     * @param  array   $config
     * @param  string  $name
     * @return array
     */
    protected function parseConfig(array $config, $name)
    {
        return Arr::add(Arr::add($config, 'prefix', ''), 'name', $name);
    }
 
    /**
     * Create a single database connection instance.
     *
     * @param  array  $config
     * @return \Illuminate\Database\Connection
     */
Arguments
  1. array:13 [
      "driver" => "mysql"
      "host" => "localhost"
      "port" => "3306"
      "database" => "salesbook_db"
      "username" => "salesbook_db_admin"
      "password" => "titer47@lank"
      "unix_socket" => ""
      "charset" => "utf8mb4"
      "collation" => "utf8mb4_unicode_ci"
      "prefix" => ""
      "strict" => true
      "engine" => null
      "name" => "mysql"
    ]
    
/home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php
     */
    protected function makeConnection($name)
    {
        $config = $this->configuration($name);
 
        // First we will check by the connection name to see if an extension has been
        // registered specifically for that connection. If it has we will call the
        // Closure and pass it the config allowing it to resolve the connection.
        if (isset($this->extensions[$name])) {
            return call_user_func($this->extensions[$name], $config, $name);
        }
 
        // Next we will check to see if an extension has been registered for a driver
        // and will call the Closure if so, which allows us to have a more generic
        // resolver for the drivers themselves which applies to all connections.
        if (isset($this->extensions[$driver = $config['driver']])) {
            return call_user_func($this->extensions[$driver], $config, $name);
        }
 
        return $this->factory->make($config, $name);
    }
 
    /**
     * Get the configuration for a connection.
     *
     * @param  string  $name
     * @return array
     *
     * @throws \InvalidArgumentException
     */
    protected function configuration($name)
    {
        $name = $name ?: $this->getDefaultConnection();
 
        // To get the database connection configuration, we will just pull each of the
        // connection configurations and get the configurations for the given name.
        // If the configuration doesn't exist, we'll throw an exception and bail.
        $connections = $this->app['config']['database.connections'];
 
        if (is_null($config = Arr::get($connections, $name))) {
Arguments
  1. array:13 [
      "driver" => "mysql"
      "host" => "localhost"
      "port" => "3306"
      "database" => "salesbook_db"
      "username" => "salesbook_db_admin"
      "password" => "titer47@lank"
      "unix_socket" => ""
      "charset" => "utf8mb4"
      "collation" => "utf8mb4_unicode_ci"
      "prefix" => ""
      "strict" => true
      "engine" => null
      "name" => "mysql"
    ]
    
  2. "mysql"
    
/home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php
    }
 
    /**
     * Get a database connection instance.
     *
     * @param  string  $name
     * @return \Illuminate\Database\Connection
     */
    public function connection($name = null)
    {
        [$database, $type] = $this->parseConnectionName($name);
 
        $name = $name ?: $database;
 
        // If we haven't created this connection, we'll create it based on the config
        // provided in the application. Once we've created the connections we will
        // set the "fetch mode" for PDO which determines the query return types.
        if (! isset($this->connections[$name])) {
            $this->connections[$name] = $this->configure(
                $this->makeConnection($database), $type
            );
        }
 
        return $this->connections[$name];
    }
 
    /**
     * Parse the connection into an array of the name and read / write type.
     *
     * @param  string  $name
     * @return array
     */
    protected function parseConnectionName($name)
    {
        $name = $name ?: $this->getDefaultConnection();
 
        return Str::endsWith($name, ['::read', '::write'])
                            ? explode('::', $name, 2) : [$name, null];
    }
 
Arguments
  1. "mysql"
    
/home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Support/Facades/Schema.php
{
    /**
     * Get a schema builder instance for a connection.
     *
     * @param  string  $name
     * @return \Illuminate\Database\Schema\Builder
     */
    public static function connection($name)
    {
        return static::$app['db']->connection($name)->getSchemaBuilder();
    }
 
    /**
     * Get a schema builder instance for the default connection.
     *
     * @return \Illuminate\Database\Schema\Builder
     */
    protected static function getFacadeAccessor()
    {
        return static::$app['db']->connection()->getSchemaBuilder();
    }
}
 
/home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php
     * @param  mixed  $instance
     * @return void
     */
    public static function swap($instance)
    {
        static::$resolvedInstance[static::getFacadeAccessor()] = $instance;
 
        if (isset(static::$app)) {
            static::$app->instance(static::getFacadeAccessor(), $instance);
        }
    }
 
    /**
     * Get the root object behind the facade.
     *
     * @return mixed
     */
    public static function getFacadeRoot()
    {
        return static::resolveFacadeInstance(static::getFacadeAccessor());
    }
 
    /**
     * Get the registered name of the component.
     *
     * @return string
     *
     * @throws \RuntimeException
     */
    protected static function getFacadeAccessor()
    {
        throw new RuntimeException('Facade does not implement getFacadeAccessor method.');
    }
 
    /**
     * Resolve the facade root instance from the container.
     *
     * @param  string|object  $name
     * @return mixed
     */
/home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php
     * @param  \Illuminate\Contracts\Foundation\Application  $app
     * @return void
     */
    public static function setFacadeApplication($app)
    {
        static::$app = $app;
    }
 
    /**
     * Handle dynamic, static calls to the object.
     *
     * @param  string  $method
     * @param  array   $args
     * @return mixed
     *
     * @throws \RuntimeException
     */
    public static function __callStatic($method, $args)
    {
        $instance = static::getFacadeRoot();
 
        if (! $instance) {
            throw new RuntimeException('A facade root has not been set.');
        }
 
        return $instance->$method(...$args);
    }
}
 
/home/salesbook/public_html/salesbook/app/Providers/AppServiceProvider.php
<?php
 
namespace App\Providers;
 
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Gate;
use Illuminate\Support\Facades\Schema;
 
class AppServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        //$this->registerPolicies();
        //$this->registerPostPolicies();
        Schema::defaultStringLength(191);
    }
 
    /**
     * Register any application services.
     *
     * @return void
     */
    public function register()
    {
        //
    }
 
    public function registerPostPolicies()
    {
        Gate::define('create-post', function ($user) {
            return $user->hasAccess(['create-post']);
        });
        Gate::define('update-post', function ($user, Post $post) {
            return $user->hasAccess(['update-post']) or $user->id == $post->user_id;
        });
Arguments
  1. "defaultStringLength"
    
  2. array:1 [
      0 => 191
    ]
    
/home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
class BoundMethod
{
    /**
     * 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
     */
    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/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php
class BoundMethod
{
    /**
     * 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
     */
    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 {#88}
      1 => "boot"
    ]
    
  2. []
    
/home/salesbook/public_html/salesbook/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/salesbook/public_html/salesbook/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
     */
    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 {#88}
      1 => "boot"
    ]
    
  3. Closure() {#31 …3}
    
/home/salesbook/public_html/salesbook/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 {#88}
      1 => "boot"
    ]
    
  3. []
    
  4. null
    
/home/salesbook/public_html/salesbook/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  mixed  $callback
     * @return void
     */
    public function booting($callback)
    {
        $this->bootingCallbacks[] = $callback;
    }
 
    /**
     * Register a new "booted" listener.
     *
     * @param  mixed  $callback
     * @return void
     */
Arguments
  1. array:2 [
      0 => App\Providers\AppServiceProvider {#88}
      1 => "boot"
    ]
    
/home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
    }
 
    /**
     * Boot the application's service providers.
     *
     * @return void
     */
    public function boot()
    {
        if ($this->booted) {
            return;
        }
 
        // Once the application has booted we will also fire some "booted" callbacks
        // for any listeners that need to do work after this initial booting gets
        // finished. This is useful when ordering the boot-up processes we run.
        $this->fireAppCallbacks($this->bootingCallbacks);
 
        array_walk($this->serviceProviders, function ($p) {
            $this->bootProvider($p);
        });
 
        $this->booted = true;
 
        $this->fireAppCallbacks($this->bootedCallbacks);
    }
 
    /**
     * Boot the given service provider.
     *
     * @param  \Illuminate\Support\ServiceProvider  $provider
     * @return mixed
     */
    protected function bootProvider(ServiceProvider $provider)
    {
        if (method_exists($provider, 'boot')) {
            return $this->call([$provider, 'boot']);
        }
    }
 
Arguments
  1. App\Providers\AppServiceProvider {#88}
    
[internal]
Arguments
  1. App\Providers\AppServiceProvider {#88}
    
  2. 16
    
/home/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
 
    /**
     * Boot the application's service providers.
     *
     * @return void
     */
    public function boot()
    {
        if ($this->booted) {
            return;
        }
 
        // Once the application has booted we will also fire some "booted" callbacks
        // for any listeners that need to do work after this initial booting gets
        // finished. This is useful when ordering the boot-up processes we run.
        $this->fireAppCallbacks($this->bootingCallbacks);
 
        array_walk($this->serviceProviders, function ($p) {
            $this->bootProvider($p);
        });
 
        $this->booted = true;
 
        $this->fireAppCallbacks($this->bootedCallbacks);
    }
 
    /**
     * Boot the given service provider.
     *
     * @param  \Illuminate\Support\ServiceProvider  $provider
     * @return mixed
     */
    protected function bootProvider(ServiceProvider $provider)
    {
        if (method_exists($provider, 'boot')) {
            return $this->call([$provider, 'boot']);
        }
    }
 
    /**
Arguments
  1. array:22 [
      0 => Illuminate\Events\EventServiceProvider {#6}
      1 => Illuminate\Log\LogServiceProvider {#8}
      2 => Illuminate\Routing\RoutingServiceProvider {#10}
      3 => Illuminate\Auth\AuthServiceProvider {#41}
      4 => Illuminate\Cookie\CookieServiceProvider {#37}
      5 => Illuminate\Database\DatabaseServiceProvider {#51}
      6 => Illuminate\Encryption\EncryptionServiceProvider {#58}
      7 => Illuminate\Filesystem\FilesystemServiceProvider {#60}
      8 => Illuminate\Foundation\Providers\FormRequestServiceProvider {#66}
      9 => Illuminate\Foundation\Providers\FoundationServiceProvider {#65}
      10 => Illuminate\Notifications\NotificationServiceProvider {#69}
      11 => Illuminate\Pagination\PaginationServiceProvider {#71}
      12 => Illuminate\Session\SessionServiceProvider {#75}
      13 => Illuminate\View\ViewServiceProvider {#79}
      14 => Barryvdh\Debugbar\ServiceProvider {#83}
      15 => Fideloper\Proxy\TrustedProxyServiceProvider {#87}
      16 => App\Providers\AppServiceProvider {#88}
      17 => App\Providers\AuthServiceProvider {#89}
      18 => App\Providers\EventServiceProvider {#90}
      19 => App\Providers\RouteServiceProvider {#91}
      20 => App\Providers\PermissionsServiceProvider {#92}
      21 => Illuminate\Hashing\HashServiceProvider {#115}
    ]
    
  2. Closure($p) {#22 …4}
    
/home/salesbook/public_html/salesbook/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/salesbook/public_html/salesbook/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
 
        $this->register(new LogServiceProvider($this));
 
        $this->register(new RoutingServiceProvider($this));
    }
 
    /**
     * Run the given array of bootstrap classes.
     *
     * @param  array  $bootstrappers
     * @return void
     */
    public function bootstrapWith(array $bootstrappers)
    {
        $this->hasBeenBootstrapped = true;
 
        foreach ($bootstrappers as $bootstrapper) {
            $this['events']->fire('bootstrapping: '.$bootstrapper, [$this]);
 
            $this->make($bootstrapper)->bootstrap($this);
 
            $this['events']->fire('bootstrapped: '.$bootstrapper, [$this]);
        }
    }
 
    /**
     * Register a callback to run after loading the environment.
     *
     * @param  \Closure  $callback
     * @return void
     */
    public function afterLoadingEnvironment(Closure $callback)
    {
        return $this->afterBootstrapping(
            LoadEnvironmentVariables::class, $callback
        );
    }
 
    /**
     * Register a callback to run before a bootstrapper.
Arguments
  1. Illuminate\Foundation\Application {#2}
    
/home/salesbook/public_html/salesbook/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/salesbook/public_html/salesbook/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/salesbook/public_html/salesbook/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 {#42
      #json: null
      #convertedFiles: null
      #userResolver: null
      #routeResolver: null
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#44}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +server: Symfony\Component\HttpFoundation\ServerBag {#46}
      +files: Symfony\Component\HttpFoundation\FileBag {#47}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#48}
      #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: "/paul-buckley"
      requestUri: "/salesbook/public/paul-buckley"
      baseUrl: "/salesbook/public"
      basePath: "/salesbook/public"
      method: "GET"
      format: "html"
    }
    
/home/salesbook/public_html/salesbook/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 {#42
      #json: null
      #convertedFiles: null
      #userResolver: null
      #routeResolver: null
      +attributes: Symfony\Component\HttpFoundation\ParameterBag {#44}
      +request: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +query: Symfony\Component\HttpFoundation\ParameterBag {#50}
      +server: Symfony\Component\HttpFoundation\ServerBag {#46}
      +files: Symfony\Component\HttpFoundation\FileBag {#47}
      +cookies: Symfony\Component\HttpFoundation\ParameterBag {#45}
      +headers: Symfony\Component\HttpFoundation\HeaderBag {#48}
      #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: "/paul-buckley"
      requestUri: "/salesbook/public/paul-buckley"
      baseUrl: "/salesbook/public"
      basePath: "/salesbook/public"
      method: "GET"
      format: "html"
    }
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
USER
"salesbook"
HOME
"/home/salesbook"
SCRIPT_NAME
"/salesbook/public/index.php"
REQUEST_URI
"/salesbook/public/paul-buckley"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/2.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/salesbook/public/paul-buckley"
REMOTE_PORT
"43138"
SCRIPT_FILENAME
"/home/salesbook/public_html/salesbook/public/index.php"
SERVER_ADMIN
"webmaster@salesbookbeta.com"
CONTEXT_DOCUMENT_ROOT
"/home/salesbook/public_html"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/home/salesbook/public_html"
REMOTE_ADDR
"3.80.164.96"
SERVER_PORT
"443"
SERVER_ADDR
"68.178.201.223"
SERVER_NAME
"salesbookbeta.com"
SERVER_SOFTWARE
"Apache"
SERVER_SIGNATURE
""
PATH
"/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin"
HTTP_X_HTTPS
"1"
HTTP_HOST
"salesbookbeta.com"
HTTP_REFERER
"https://salesbookbeta.com/paul-buckley/"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
proxy-nokeepalive
"1"
H2_STREAM_TAG
"12466-33-5"
H2_STREAM_ID
"5"
H2_PUSHED_ON
""
H2_PUSHED
""
H2_PUSH
"off"
H2PUSH
"off"
HTTP2
"on"
SSL_TLS_SNI
"salesbookbeta.com"
HTTPS
"on"
SCRIPT_URI
"https://salesbookbeta.com/salesbook/public/paul-buckley"
SCRIPT_URL
"/salesbook/public/paul-buckley"
REDIRECT_STATUS
"200"
REDIRECT_H2_STREAM_TAG
"12466-33-5"
REDIRECT_H2_STREAM_ID
"5"
REDIRECT_H2_PUSHED_ON
""
REDIRECT_H2_PUSHED
""
REDIRECT_H2_PUSH
"off"
REDIRECT_H2PUSH
"off"
REDIRECT_HTTP2
"on"
REDIRECT_SSL_TLS_SNI
"salesbookbeta.com"
REDIRECT_HTTPS
"on"
REDIRECT_SCRIPT_URI
"https://salesbookbeta.com/salesbook/public/paul-buckley"
REDIRECT_SCRIPT_URL
"/salesbook/public/paul-buckley"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/salesbook/public/index.php"
REQUEST_TIME_FLOAT
1711700953.6563
REQUEST_TIME
1711700953
argv
[]
argc
0
APP_NAME
"Champion Canada SalesBook 2"
APP_ENV
"public"
APP_KEY
"base64:YxoE5Rv8v3g3l7c4AZFRyUpnxc/VRFY7gBvCDUGEZmQ="
APP_DEBUG
"true"
APP_URL
"https://championsalesbook.com"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"salesbook_db"
DB_USERNAME
"salesbook_db_admin"
DB_PASSWORD
"titer47@lank"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"480"
QUEUE_DRIVER
"database"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"sendmail"
MAIL_HOST
"mail.championsalesbook.com"
MAIL_PORT
"465"
MAIL_USERNAME
"noreply@championsalesbook.com"
MAIL_PASSWORD
"titer47@lank"
MAIL_ENCRYPTION
"tls"
MAIL_FROM_ADDRESS
"noreply@championsalesbook.com"
MAIL_FROM_NAME
"Champion Canada SalesBook"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
ADOBE_PDF_EMBED_API
"b466b1b28b704b26bdf64c3ad4b75fe1"
Key Value
APP_NAME
"Champion Canada SalesBook 2"
APP_ENV
"public"
APP_KEY
"base64:YxoE5Rv8v3g3l7c4AZFRyUpnxc/VRFY7gBvCDUGEZmQ="
APP_DEBUG
"true"
APP_URL
"https://championsalesbook.com"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"salesbook_db"
DB_USERNAME
"salesbook_db_admin"
DB_PASSWORD
"titer47@lank"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"480"
QUEUE_DRIVER
"database"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"sendmail"
MAIL_HOST
"mail.championsalesbook.com"
MAIL_PORT
"465"
MAIL_USERNAME
"noreply@championsalesbook.com"
MAIL_PASSWORD
"titer47@lank"
MAIL_ENCRYPTION
"tls"
MAIL_FROM_ADDRESS
"noreply@championsalesbook.com"
MAIL_FROM_NAME
"Champion Canada SalesBook"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
ADOBE_PDF_EMBED_API
"b466b1b28b704b26bdf64c3ad4b75fe1"
0. Whoops\Handler\PrettyPageHandler