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/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1270

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/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1281

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/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1293

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/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1306

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/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Routing/AbstractRouteCollection.php on line 245

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/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Routing/AbstractRouteCollection.php on line 235

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/html/staging/emd-api/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/html/staging/emd-api/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/html/staging/emd-api/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/html/staging/emd-api/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/html/staging/emd-api/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/html/staging/emd-api/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/html/staging/emd-api/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/html/staging/emd-api/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/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Support/Collection.php:1349 Stack trace: #0 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Support/Collection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', '/var/www/html/s...', 1349) #1 /var/www/html/staging/emd-api/vendor/composer/ClassLoader.php(576): include('/var/www/html/s...') #2 /var/www/html/staging/emd-api/vendor/composer/ClassLoader.php(427): {closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}('/var/www/html/s...') #3 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Support/helpers.php(110): Composer\Autoload\ClassLoader->loadClass('Illuminate\\Supp...') #4 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): collect(Array) #5 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config('aliases') #6 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases() #7 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(230): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application)) #8 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\Foundation\Application->bootstrapWith(Array) #9 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(135): Illuminate\Foundation\Http\Kernel->bootstrap() #10 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request)) #11 /var/www/html/staging/emd-api/public/index.php(54): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) #12 {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/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Support/Collection.php:1349 Stack trace: #0 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Support/Collection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', '/var/www/html/s...', 1349) #1 /var/www/html/staging/emd-api/vendor/composer/ClassLoader.php(576): include('/var/www/html/s...') #2 /var/www/html/staging/emd-api/vendor/composer/ClassLoader.php(427): {closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}('/var/www/html/s...') #3 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Support/helpers.php(110): Composer\Autoload\ClassLoader->loadClass('Illuminate\\Supp...') #4 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): collect(Array) #5 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config('aliases') #6 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases() #7 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(230): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application)) #8 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\Foundation\Application->bootstrapWith(Array) #9 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(135): Illuminate\Foundation\Http\Kernel->bootstrap() #10 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request)) #11 /var/www/html/staging/emd-api/public/index.php(54): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) #12 {main}" Stacktrace: #0 Symfony\Component\ErrorHandler\Error\FatalError in /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Support/Collection.php:11
0
Symfony\Component\ErrorHandler\Error\FatalError
…/vendor/laravel/framework/src/Illuminate/Support/Collection.php:11
/var/www/html/staging/emd-api/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|null  $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 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Support/Collection.php:1349\n
    Stack trace:\n
    #0 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Support/Collection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', '/var/www/html/s...', 1349)\n
    #1 /var/www/html/staging/emd-api/vendor/composer/ClassLoader.php(576): include('/var/www/html/s...')\n
    #2 /var/www/html/staging/emd-api/vendor/composer/ClassLoader.php(427): {closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}('/var/www/html/s...')\n
    #3 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Support/helpers.php(110): Composer\Autoload\ClassLoader->loadClass('Illuminate\\Supp...')\n
    #4 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): collect(Array)\n
    #5 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config('aliases')\n
    #6 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases()\n
    #7 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(230): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application))\n
    #8 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\Foundation\Application->bootstrapWith(Array)\n
    #9 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(135): Illuminate\Foundation\Http\Kernel->bootstrap()\n
    #10 /var/www/html/staging/emd-api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))\n
    #11 /var/www/html/staging/emd-api/public/index.php(54): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))\n
    #12 {main}
    """
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
REDIRECT_STATUS
"200"
HTTP_CONNECTION
"upgrade"
HTTP_X_FORWARDED_FOR
"192.168.248.1"
HTTP_HOST
"emd-api.jomakhata.com"
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"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
SERVER_SIGNATURE
"<address>Apache/2.4.69 (Debian) Server at emd-api.jomakhata.com Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.69 (Debian)"
SERVER_NAME
"emd-api.jomakhata.com"
SERVER_ADDR
"172.17.0.2"
SERVER_PORT
"443"
REMOTE_ADDR
"172.17.0.1"
DOCUMENT_ROOT
"/var/www/html/staging/emd-api/public"
REQUEST_SCHEME
"https"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/var/www/html/staging/emd-api/public"
SERVER_ADMIN
"[no address given]"
SCRIPT_FILENAME
"/var/www/html/staging/emd-api/public/index.php"
REMOTE_PORT
"64920"
REDIRECT_URL
"/sitemap.xml"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/sitemap.xml"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1793684388.1648
REQUEST_TIME
1793684388
argv
[]
argc
0
APP_KEY
"base64:Z+I4op8o4KPElNWMt46hQeED7mAMIgXDH2FNQS/TOdU="
APP_ENV
"local"
APP_DEBUG
"true"
DB_CONNECTION
"mysql"
DB_HOST
"43.224.119.70"
DB_PORT
"3399"
DB_DATABASE
"erp_cpy"
DB_USERNAME
"ramim1"
DB_PASSWORD
"2026pass#"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
JWT_SECRET
"124as5qW4578fdsfDASD2SDWFAwq852"
AWS_DEFAULT_REGION
"us-east-1"
AWS_ACCESS_KEY_ID
"AKIA2TKLC3I2SPGSIMMV"
AWS_SECRET_ACCESS_KEY
"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"
AWS_BUCKET
"erp-jomakhata-file-uploads"
AWS_URL
"https://erp-jomakhata-file-uploads.s3.amazonaws.com/ipc/"
GEMINI_API_KEY
"AQ.Ab8RN6Kfkve7R-LaRATa0boXRgQT-eOZd4Fkpzp_I890UDd8rw"
OFSTAR_CLIENT_ID
"5hgyhjqscsnmy3ghxvmf"
OFSTAR_CLIENT_SECRET
"5a53a64c2efc44a0bebd13e688937e80"
TRACKER_CRON_KEY
""
Key Value
HOSTNAME
"9d4fa6439509"
PHP_VERSION
"8.4.27"
APACHE_CONFDIR
"/etc/apache2"
PHP_INI_DIR
"/usr/local/etc/php"
GPG_KEYS
"AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD"
PHP_LDFLAGS
"-Wl,-O1 -pie"
PWD
"/etc/apache2/sites-available"
APACHE_LOG_DIR
"/var/log/apache2"
LANG
"C"
PHP_SHA256
"dcf93923b0e38e0d5252b25b796520b5a47761a08b3488b6d0b5d1115764d3f0"
APACHE_PID_FILE
"/var/run/apache2/apache2.pid"
PHPIZE_DEPS
"autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c"
PHP_URL
"https://www.php.net/distributions/php-8.4.27.tar.xz"
APACHE_RUN_GROUP
"www-data"
APACHE_LOCK_DIR
"/var/lock/apache2"
SHLVL
"0"
PHP_CFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
APACHE_RUN_DIR
"/var/run/apache2"
APACHE_ENVVARS
"/etc/apache2/envvars"
APACHE_RUN_USER
"www-data"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PHP_ASC_URL
"https://www.php.net/distributions/php-8.4.27.tar.xz.asc"
PHP_CPPFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
APP_KEY
"base64:Z+I4op8o4KPElNWMt46hQeED7mAMIgXDH2FNQS/TOdU="
APP_ENV
"local"
APP_DEBUG
"true"
DB_CONNECTION
"mysql"
DB_HOST
"43.224.119.70"
DB_PORT
"3399"
DB_DATABASE
"erp_cpy"
DB_USERNAME
"ramim1"
DB_PASSWORD
"2026pass#"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
JWT_SECRET
"124as5qW4578fdsfDASD2SDWFAwq852"
AWS_DEFAULT_REGION
"us-east-1"
AWS_ACCESS_KEY_ID
"AKIA2TKLC3I2SPGSIMMV"
AWS_SECRET_ACCESS_KEY
"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"
AWS_BUCKET
"erp-jomakhata-file-uploads"
AWS_URL
"https://erp-jomakhata-file-uploads.s3.amazonaws.com/ipc/"
GEMINI_API_KEY
"AQ.Ab8RN6Kfkve7R-LaRATa0boXRgQT-eOZd4Fkpzp_I890UDd8rw"
OFSTAR_CLIENT_ID
"5hgyhjqscsnmy3ghxvmf"
OFSTAR_CLIENT_SECRET
"5a53a64c2efc44a0bebd13e688937e80"
TRACKER_CRON_KEY
""
0. Whoops\Handler\PrettyPageHandler