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 /var/www/project/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1355

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 /var/www/project/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1366

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 /var/www/project/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1378

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 /var/www/project/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1391

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

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

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 /var/www/project/vendor/laravel/framework/src/Illuminate/Http/Request.php on line 637

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 /var/www/project/vendor/laravel/framework/src/Illuminate/Http/Request.php on line 651

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 /var/www/project/vendor/laravel/framework/src/Illuminate/Http/Request.php on line 663

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 /var/www/project/vendor/laravel/framework/src/Illuminate/Http/Request.php on line 674

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 /var/www/project/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 /var/www/project/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 /var/www/project/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 /var/www/project/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 175
Whoops! There was an error.
Symfony \ Component \ ErrorHandler \ Error \ FatalError
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 /var/www/project/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:1443 Stack trace: #0 /var/www/project/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(13): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', '/var/www/projec...', 1443) #1 /var/www/project/vendor/composer/ClassLoader.php(576): include('/var/www/projec...') #2 /var/www/project/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/var/www/projec...') #3 /var/www/project/vendor/laravel/framework/src/Illuminate/Collections/helpers.php(15): Composer\Autoload\ClassLoader->loadClass('Illuminate\\Supp...') #4 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(130): collect(Array) #5 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(106): Illuminate\Foundation\PackageManifest->build() #6 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): Illuminate\Foundation\PackageManifest->getManifest() #7 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config('aliases') #8 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases() #9 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(237): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application)) #10 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(152): Illuminate\Foundation\Application->bootstrapWith(Array) #11 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(136): Illuminate\Foundation\Http\Kernel->bootstrap() #12 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request)) #13 /var/www/project/public/index.php(56): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) #14 {main} Symfony\Component\ErrorHandler\Error\FatalError 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 /var/www/project/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:1443 Stack trace: #0 /var/www/project/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(13): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', '/var/www/projec...', 1443) #1 /var/www/project/vendor/composer/ClassLoader.php(576): include('/var/www/projec...') #2 /var/www/project/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/var/www/projec...') #3 /var/www/project/vendor/laravel/framework/src/Illuminate/Collections/helpers.php(15): Composer\Autoload\ClassLoader->loadClass('Illuminate\\Supp...') #4 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(130): collect(Array) #5 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(106): Illuminate\Foundation\PackageManifest->build() #6 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): Illuminate\Foundation\PackageManifest->getManifest() #7 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config('aliases') #8 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases() #9 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(237): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application)) #10 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(152): Illuminate\Foundation\Application->bootstrapWith(Array) #11 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(136): Illuminate\Foundation\Http\Kernel->bootstrap() #12 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request)) #13 /var/www/project/public/index.php(56): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) #14 {main}" Stacktrace: #0 Symfony\Component\ErrorHandler\Error\FatalError in /var/www/project/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:13
0
Symfony\Component\ErrorHandler\Error\FatalError
/vendor/laravel/framework/src/Illuminate/Collections/Collection.php13
/var/www/project/vendor/laravel/framework/src/Illuminate/Collections/Collection.php
<?php
 
namespace Illuminate\Support;
 
use ArrayAccess;
use ArrayIterator;
use Illuminate\Collections\ItemNotFoundException;
use Illuminate\Collections\MultipleItemsFoundException;
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 collection with the given range.
     *
     * @param  int  $from
     * @param  int  $to
     * @return static
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 /var/www/project/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:1443\n
    Stack trace:\n
    #0 /var/www/project/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(13): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', '/var/www/projec...', 1443)\n
    #1 /var/www/project/vendor/composer/ClassLoader.php(576): include('/var/www/projec...')\n
    #2 /var/www/project/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/var/www/projec...')\n
    #3 /var/www/project/vendor/laravel/framework/src/Illuminate/Collections/helpers.php(15): Composer\Autoload\ClassLoader->loadClass('Illuminate\\Supp...')\n
    #4 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(130): collect(Array)\n
    #5 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(106): Illuminate\Foundation\PackageManifest->build()\n
    #6 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): Illuminate\Foundation\PackageManifest->getManifest()\n
    #7 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config('aliases')\n
    #8 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases()\n
    #9 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(237): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application))\n
    #10 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(152): Illuminate\Foundation\Application->bootstrapWith(Array)\n
    #11 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(136): Illuminate\Foundation\Http\Kernel->bootstrap()\n
    #12 /var/www/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))\n
    #13 /var/www/project/public/index.php(56): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))\n
    #14 {main}
    """
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
S3_MEDIA_BUCKET
""
S3_PUBLIC_BUCKET
""
S3_DOC_BUCKET
""
S3_USE_PATH_STYLE_ENDPOINT
""
S3_REGION
""
S3_SECRET
""
S3_KEY
""
S3_ENDPOINT
""
LOG_LEVEL
"debug"
LOG_CHANNEL
"stack"
SESSION_LIFETIME
"120"
SESSION_DRIVER
"file"
QUEUE_CONNECTION
"redis"
FILESYSTEM_DRIVER
""
CACHE_DRIVER
"file"
BROADCAST_DRIVER
"pusher"
WEB_APP_URL
"https://levanta.ru"
MIX_API_URL
""
MAIL_FROM_NAME
"levanta"
MAIL_FROM_ADDRESS
"info@levanta.ru"
MAIL_ENCRYPTION
"ssl"
MAIL_PASSWORD
"1942RRq@arr"
MAIL_USERNAME
"info@levanta.ru"
MAIL_PORT
"465"
MAIL_HOST
"smtp.yandex.ru"
MAIL_MAILER
""
REDIS_PORT
"6379"
REDIS_PASSWORD
"gEg9QJBeZaAfx05"
REDIS_HOST
"172.17.0.1"
APP_KEY
"zXNxejx3Cx8aDjaisfHRUmUlAklAeWH2"
APP_URL
"https://api.levanta.ru"
APP_DEBUG
"true"
APP_ENV
"development"
APP_NAME
""
DB_SSLMODE
""
DB_PASSWORD
"uisoPk#2jd3"
DB_USERNAME
"root"
DB_DATABASE
"levanta"
DB_PORT
"3306"
DB_HOST
"172.17.0.1"
DB_CONNECTION
"mysql"
USER
"www-data"
HOME
"/var/www"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_FOR
"3.147.73.189, 130.193.49.195"
HTTP_HOST
"api.levanta.ru"
HTTP_CONNECTION
"keep-alive"
REDIRECT_STATUS
"200"
SERVER_NAME
"_"
SERVER_PORT
"443"
SERVER_ADDR
"172.25.0.5"
REMOTE_PORT
"49884"
REMOTE_ADDR
"172.25.0.1"
SERVER_SOFTWARE
"nginx/1.27.1"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
REQUEST_SCHEME
"https"
SERVER_PROTOCOL
"HTTP/1.0"
DOCUMENT_URI
"/index.php"
REQUEST_URI
"/storage/medialibrary/1187/0.jpg"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
""
DOCUMENT_ROOT
"/var/www/project/public"
SCRIPT_FILENAME
"/var/www/project/public/index.php"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1725837566.3604
REQUEST_TIME
1725837566
argv
[]
argc
0
Key Value
S3_MEDIA_BUCKET
""
S3_PUBLIC_BUCKET
""
S3_DOC_BUCKET
""
S3_USE_PATH_STYLE_ENDPOINT
""
S3_REGION
""
S3_SECRET
""
S3_KEY
""
S3_ENDPOINT
""
LOG_LEVEL
"debug"
LOG_CHANNEL
"stack"
SESSION_LIFETIME
"120"
SESSION_DRIVER
"file"
QUEUE_CONNECTION
"redis"
FILESYSTEM_DRIVER
""
CACHE_DRIVER
"file"
BROADCAST_DRIVER
"pusher"
WEB_APP_URL
"https://levanta.ru"
MIX_API_URL
""
MAIL_FROM_NAME
"levanta"
MAIL_FROM_ADDRESS
"info@levanta.ru"
MAIL_ENCRYPTION
"ssl"
MAIL_PASSWORD
"1942RRq@arr"
MAIL_USERNAME
"info@levanta.ru"
MAIL_PORT
"465"
MAIL_HOST
"smtp.yandex.ru"
MAIL_MAILER
""
REDIS_PORT
"6379"
REDIS_PASSWORD
"gEg9QJBeZaAfx05"
REDIS_HOST
"172.17.0.1"
APP_KEY
"zXNxejx3Cx8aDjaisfHRUmUlAklAeWH2"
APP_URL
"https://api.levanta.ru"
APP_DEBUG
"true"
APP_ENV
"development"
APP_NAME
""
DB_SSLMODE
""
DB_PASSWORD
"uisoPk#2jd3"
DB_USERNAME
"root"
DB_DATABASE
"levanta"
DB_PORT
"3306"
DB_HOST
"172.17.0.1"
DB_CONNECTION
"mysql"
USER
"www-data"
HOME
"/var/www"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_FOR
"3.147.73.189, 130.193.49.195"
HTTP_HOST
"api.levanta.ru"
HTTP_CONNECTION
"keep-alive"
REDIRECT_STATUS
"200"
SERVER_NAME
"_"
SERVER_PORT
"443"
SERVER_ADDR
"172.25.0.5"
REMOTE_PORT
"49884"
REMOTE_ADDR
"172.25.0.1"
SERVER_SOFTWARE
"nginx/1.27.1"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
REQUEST_SCHEME
"https"
SERVER_PROTOCOL
"HTTP/1.0"
DOCUMENT_URI
"/index.php"
REQUEST_URI
"/storage/medialibrary/1187/0.jpg"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
""
DOCUMENT_ROOT
"/var/www/project/public"
SCRIPT_FILENAME
"/var/www/project/public/index.php"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1725837566.3604
REQUEST_TIME
1725837566
argv
[]
argc
0
0. Whoops\Handler\PrettyPageHandler