Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN)
Allowed memory size of 268435456 bytes exhausted (tried to allocate 782336 bytes) Symfony\Component\Debug\Exception\FatalErrorException thrown with message "Allowed memory size of 268435456 bytes exhausted (tried to allocate 782336 bytes)" Stacktrace: #0 Symfony\Component\Debug\Exception\FatalErrorException in /home/admin/domains/sa-ngob.com/sa-ngob/vendor/laravel/framework/src/Illuminate/Database/Connection.php:330
0
Symfony
\
Component
\
Debug
\
Exception
\
FatalErrorException
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
330
/
home
/
admin
/
domains
/
sa-ngob.com
/
sa-ngob
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Database
/
Connection.php
     * @param  array  $bindings
     * @param  bool  $useReadPdo
     * @return array
     */
    public function select($query, $bindings = [], $useReadPdo = true)
    {
        return $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) {
            if ($this->pretending()) {
                return [];
            }
 
            // For select statements, we'll simply execute the query and return an array
            // of the database result set. Each element in the array will be a single
            // row from the database table, and will either be an array or objects.
            $statement = $this->prepared($this->getPdoForSelect($useReadPdo)
                              ->prepare($query));
 
            $this->bindValues($statement, $this->prepareBindings($bindings));
 
            $statement->execute();
 
            return $statement->fetchAll();
        });
    }
 
    /**
     * Run a select statement against the database and returns a generator.
     *
     * @param  string  $query
     * @param  array  $bindings
     * @param  bool  $useReadPdo
     * @return \Generator
     */
    public function cursor($query, $bindings = [], $useReadPdo = true)
    {
        $statement = $this->run($query, $bindings, function ($query, $bindings) use ($useReadPdo) {
            if ($this->pretending()) {
                return [];
            }
 
Arguments
  1. "Allowed memory size of 268435456 bytes exhausted (tried to allocate 782336 bytes)"
    

Environment & details:

Key Value
id
"5200"
media_type
"MP3"
empty
empty
empty
empty
Key Value
USER
"admin"
HOME
"/home/admin"
HTTP_HOST
"sa-ngob.com"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
SCRIPT_FILENAME
"/home/admin/domains/sa-ngob.com/public_html/index.php"
REDIRECT_STATUS
"200"
SERVER_NAME
"sa-ngob.com"
SERVER_PORT
"80"
SERVER_ADDR
"103.91.191.34"
REMOTE_PORT
"57776"
REMOTE_ADDR
"54.167.52.238"
SERVER_SOFTWARE
"nginx/1.19.8"
GATEWAY_INTERFACE
"CGI/1.1"
REQUEST_SCHEME
"http"
SERVER_PROTOCOL
"HTTP/1.1"
DOCUMENT_ROOT
"/home/admin/domains/sa-ngob.com/public_html"
DOCUMENT_URI
"/index.php"
REQUEST_URI
"/book-detail/play-media?id=5200&media_type=MP3"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
"id=5200&media_type=MP3"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1711636178.7816
REQUEST_TIME
1711636178
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"base64:i/m2zcSbAnSQswIn6xgTQWkKXpjq3VguucrMaM2OSbU="
APP_DEBUG
"true"
APP_URL
"http://localhost"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"admin_sa"
DB_USERNAME
"admin_sa"
DB_PASSWORD
"1jIRKG6Y"
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
"smtp.mailtrap.io"
MAIL_PORT
"2525"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
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"
Key Value
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"base64:i/m2zcSbAnSQswIn6xgTQWkKXpjq3VguucrMaM2OSbU="
APP_DEBUG
"true"
APP_URL
"http://localhost"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"admin_sa"
DB_USERNAME
"admin_sa"
DB_PASSWORD
"1jIRKG6Y"
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
"smtp.mailtrap.io"
MAIL_PORT
"2525"
MAIL_USERNAME
"null"
MAIL_PASSWORD
"null"
MAIL_ENCRYPTION
"null"
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"
0. Whoops\Handler\PrettyPageHandler