0
Symfony\Component\Debug\Exception\FatalErrorException
/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php183
/var/www/html/manqanebi.ge/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php
    }
 
    /**
     * Add the casted attributes to the attributes array.
     *
     * @param  array  $attributes
     * @param  array  $mutatedAttributes
     * @return array
     */
    protected function addCastAttributesToArray(array $attributes, array $mutatedAttributes)
    {
        foreach ($this->getCasts() as $key => $value) {
            if (! array_key_exists($key, $attributes) || in_array($key, $mutatedAttributes)) {
                continue;
            }
 
            // Here we will cast the attribute. Then, if the cast is a date or datetime cast
            // then we will serialize the date for the array. This will convert the dates
            // to strings based on the date format specified for these Eloquent models.
            $attributes[$key] = $this->castAttribute(
                $key, $attributes[$key]
            );
 
            // If the attribute cast was a date or a datetime, we will serialize the date as
            // a string. This allows the developers to customize how dates are serialized
            // into an array without affecting how they are persisted into the storage.
            if ($attributes[$key] &&
                ($value === 'date' || $value === 'datetime')) {
                $attributes[$key] = $this->serializeDate($attributes[$key]);
            }
 
            if ($attributes[$key] && $this->isCustomDateTimeCast($value)) {
                $attributes[$key] = $attributes[$key]->format(explode(':', $value, 2)[1]);
            }
 
            if ($attributes[$key] instanceof Arrayable) {
                $attributes[$key] = $attributes[$key]->toArray();
            }
        }
 
Arguments
  1. "Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes)"
    

Environment & details:

Key Value
user_id
"16025"
empty
empty
empty
empty
Key Value
USER
"www-data"
HOME
"/var/www"
HTTP_CF_IPCOUNTRY
"US"
HTTP_CDN_LOOP
"cloudflare"
HTTP_CF_CONNECTING_IP
"44.201.199.251"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
HTTP_CF_VISITOR
"{"scheme":"https"}"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_CF_RAY
"86bf18d3ebc33b29-IAD"
HTTP_X_FORWARDED_FOR
"44.201.199.251"
HTTP_ACCEPT_ENCODING
"gzip, br"
HTTP_CONNECTION
"Keep-Alive"
HTTP_HOST
"manqanebi.ge"
REDIRECT_STATUS
"200"
SERVER_NAME
"manqanebi.ge"
SERVER_PORT
"80"
SERVER_ADDR
"165.22.16.173"
REMOTE_PORT
"9772"
REMOTE_ADDR
"172.70.42.73"
SERVER_SOFTWARE
"nginx/1.14.0"
GATEWAY_INTERFACE
"CGI/1.1"
REQUEST_SCHEME
"http"
SERVER_PROTOCOL
"HTTP/1.1"
DOCUMENT_ROOT
"/var/www/html/manqanebi.ge/public"
DOCUMENT_URI
"/index.php"
REQUEST_URI
"/en/auto?user_id=16025"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
"user_id=16025"
SCRIPT_FILENAME
"/var/www/html/manqanebi.ge/public/index.php"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1711707308.2781
REQUEST_TIME
1711707308
empty
0. Whoops\Handler\PrettyPageHandler