Deprecated: Return type of Illuminate\Container\Container::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1231

Deprecated: Return type of Illuminate\Container\Container::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1242

Deprecated: Return type of Illuminate\Container\Container::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1254

Deprecated: Return type of Illuminate\Container\Container::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1267

Deprecated: Return type of Illuminate\Routing\RouteCollection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php on line 355

Deprecated: Return type of Illuminate\Routing\RouteCollection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php on line 345

Deprecated: Return type of Illuminate\Http\Request::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Http/Request.php on line 641

Deprecated: Return type of Illuminate\Http\Request::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Http/Request.php on line 655

Deprecated: Return type of Illuminate\Http\Request::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Http/Request.php on line 667

Deprecated: Return type of Illuminate\Http\Request::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Http/Request.php on line 678

Deprecated: Return type of Illuminate\Config\Repository::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 141

Deprecated: Return type of Illuminate\Config\Repository::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 152

Deprecated: Return type of Illuminate\Config\Repository::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 164

Deprecated: Return type of Illuminate\Config\Repository::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 175
Whoops! There was an error.
Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN)
During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Support/Collection.php:1277 Stack trace: #0 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Support/Collection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', '/home/adminmesp...', 1277) #1 /home/adminmespoir/public_html/vendor/composer/ClassLoader.php(571): include('/home/adminmesp...') #2 /home/adminmespoir/public_html/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/adminmesp...') #3 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Support/helpers.php(109): Composer\Autoload\ClassLoader->loadClass('Illuminate\\Supp...') #4 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): collect(Array) #5 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config('aliases') #6 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases() #7 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(219): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application)) #8 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(156): Illuminate\Foundation\Application->bootstrapWith(Array) #9 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\Foundation\Http\Kernel->bootstrap() #10 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request)) #11 /home/adminmespoir/public_html/public/index.php(55): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) #12 /home/adminmespoir/public_html/index.php(24): require_once('/home/adminmesp...') #13 {main} Symfony\Component\Debug\Exception\FatalErrorException thrown with message "During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Support/Collection.php:1277 Stack trace: #0 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Support/Collection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', '/home/adminmesp...', 1277) #1 /home/adminmespoir/public_html/vendor/composer/ClassLoader.php(571): include('/home/adminmesp...') #2 /home/adminmespoir/public_html/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/adminmesp...') #3 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Support/helpers.php(109): Composer\Autoload\ClassLoader->loadClass('Illuminate\\Supp...') #4 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): collect(Array) #5 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config('aliases') #6 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases() #7 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(219): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application)) #8 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(156): Illuminate\Foundation\Application->bootstrapWith(Array) #9 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\Foundation\Http\Kernel->bootstrap() #10 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request)) #11 /home/adminmespoir/public_html/public/index.php(55): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) #12 /home/adminmespoir/public_html/index.php(24): require_once('/home/adminmesp...') #13 {main}" Stacktrace: #0 Symfony\Component\Debug\Exception\FatalErrorException in /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Support/Collection.php:11
0
Symfony\Component\Debug\Exception\FatalErrorException
/vendor/laravel/framework/src/Illuminate/Support/Collection.php11
/home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Support/Collection.php
<?php
 
namespace Illuminate\Support;
 
use ArrayAccess;
use ArrayIterator;
use Illuminate\Support\Traits\EnumeratesValues;
use Illuminate\Support\Traits\Macroable;
use stdClass;
 
class Collection implements ArrayAccess, Enumerable
{
    use EnumeratesValues, Macroable;
 
    /**
     * The items contained in the collection.
     *
     * @var array
     */
    protected $items = [];
 
    /**
     * Create a new collection.
     *
     * @param  mixed  $items
     * @return void
     */
    public function __construct($items = [])
    {
        $this->items = $this->getArrayableItems($items);
    }
 
    /**
     * Create a new collection by invoking the callback a given amount of times.
     *
     * @param  int  $number
     * @param  callable  $callback
     * @return static
     */
    public static function times($number, callable $callback = null)
Arguments
  1. """
    During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Support/Collection.php:1277\n
    Stack trace:\n
    #0 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Support/Collection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', '/home/adminmesp...', 1277)\n
    #1 /home/adminmespoir/public_html/vendor/composer/ClassLoader.php(571): include('/home/adminmesp...')\n
    #2 /home/adminmespoir/public_html/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/adminmesp...')\n
    #3 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Support/helpers.php(109): Composer\Autoload\ClassLoader->loadClass('Illuminate\\Supp...')\n
    #4 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): collect(Array)\n
    #5 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config('aliases')\n
    #6 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases()\n
    #7 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(219): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application))\n
    #8 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(156): Illuminate\Foundation\Application->bootstrapWith(Array)\n
    #9 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(140): Illuminate\Foundation\Http\Kernel->bootstrap()\n
    #10 /home/adminmespoir/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))\n
    #11 /home/adminmespoir/public_html/public/index.php(55): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))\n
    #12 /home/adminmespoir/public_html/index.php(24): require_once('/home/adminmesp...')\n
    #13 {main}
    """
    

Environment & details:

empty
empty
empty
Key Value
PHPSESSID
"21b0dd2d4948f4fc759f9d60ec3affe9"
empty
Key Value
PATH
"/usr/local/bin:/usr/bin:/bin"
TZ
"UTC"
REDIRECT_HANDLER
"application/x-httpd-ea-php81"
REDIRECT_STATUS
"200"
SCRIPT_URL
"/morocco/all/doctors"
SCRIPT_URI
"https://mespoir.com/morocco/all/doctors"
HTTPS
"on"
SSL_TLS_SNI
"mespoir.com"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_COOKIE
"PHPSESSID=21b0dd2d4948f4fc759f9d60ec3affe9"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_HOST
"mespoir.com"
HTTP_X_HTTPS
"1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SERVER_NAME
"mespoir.com"
SERVER_ADDR
"92.205.164.156"
SERVER_PORT
"443"
REMOTE_ADDR
"18.117.152.87"
DOCUMENT_ROOT
"/home/adminmespoir/public_html"
REQUEST_SCHEME
"https"
CONTEXT_PREFIX
"/cgi-sys"
CONTEXT_DOCUMENT_ROOT
"/usr/local/cpanel/cgi-sys/"
SERVER_ADMIN
"webmaster@mespoir.com"
SCRIPT_FILENAME
"/home/adminmespoir/public_html/index.php"
REMOTE_PORT
"41605"
REDIRECT_URL
"/index.php"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/2.0"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/morocco/all/doctors"
SCRIPT_NAME
"/index.php"
ORIG_SCRIPT_FILENAME
"/usr/local/cpanel/cgi-sys/ea-php81"
ORIG_PATH_INFO
"/index.php"
ORIG_PATH_TRANSLATED
"/home/adminmespoir/public_html/index.php"
ORIG_SCRIPT_NAME
"/cgi-sys/ea-php81"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1726514191.9989
REQUEST_TIME
1726514191
argv
[]
argc
0
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"base64:njWHYfSUyPZrIiBK1kTTiiZbDzn7ESGqd1x/19B1TUo="
APP_DEBUG
"true"
APP_URL
"https://mespoir.com/"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"adminmespoir_mespoirlara"
DB_USERNAME
"adminmespoir_m128wl0ecsk9"
DB_PASSWORD
"4VYg*MMFd01N"
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
"sg3plcpnl0101.prod.sin3.secureserver.net"
MAIL_PORT
"587"
MAIL_USERNAME
"caremespoir@gmail.com"
MAIL_PASSWORD
"R_.-Oc48cHlB"
MAIL_ENCRYPTION
"null"
MAIL_FROM_ADDRESS
"null"
MAIL_FROM_NAME
"Laravel"
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"
ASSET_URL
"public/"
Key Value
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"base64:njWHYfSUyPZrIiBK1kTTiiZbDzn7ESGqd1x/19B1TUo="
APP_DEBUG
"true"
APP_URL
"https://mespoir.com/"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"adminmespoir_mespoirlara"
DB_USERNAME
"adminmespoir_m128wl0ecsk9"
DB_PASSWORD
"4VYg*MMFd01N"
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
"sg3plcpnl0101.prod.sin3.secureserver.net"
MAIL_PORT
"587"
MAIL_USERNAME
"caremespoir@gmail.com"
MAIL_PASSWORD
"R_.-Oc48cHlB"
MAIL_ENCRYPTION
"null"
MAIL_FROM_ADDRESS
"null"
MAIL_FROM_NAME
"Laravel"
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"
ASSET_URL
"public/"
0. Whoops\Handler\PrettyPageHandler