Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2621440 bytes) in /home/teologia/public_html/administrator/components/com_scheduler/src/Model/TasksModel.php on line 302
An Error Occurred: Whoops, looks like something went wrong.

Sorry, there was a problem we could not recover from.

The server returned a "500 - Whoops, looks like something went wrong."

Help me resolve this

Crikey! There was an error...
Whoops \ Exception \ ErrorException (E_ERROR)
Allowed memory size of 33554432 bytes exhausted (tried to allocate 2621440 bytes) Whoops\Exception\ErrorException thrown with message "Allowed memory size of 33554432 bytes exhausted (tried to allocate 2621440 bytes)" Stacktrace: #3 Whoops\Exception\ErrorException in /home/teologia/public_html/administrator/components/com_scheduler/src/Model/TasksModel.php:302 #2 Whoops\Run:handleError in /home/teologia/public_html/libraries/gantry5/vendor/filp/whoops/src/Whoops/Run.php:486 #1 Whoops\Run:handleShutdown in /home/teologia/public_html/libraries/gantry5/src/classes/Gantry/Component/Whoops/SystemFacade.php:167 #0 Gantry\Component\Whoops\SystemFacade:handleShutdown in [internal]:0
Stack frames (4)
3
Whoops\Exception\ErrorException
/home/teologia/public_html/administrator/components/com_scheduler/src/Model/TasksModel.php302
2
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php486
1
Whoops\Run handleShutdown
/src/classes/Gantry/Component/Whoops/SystemFacade.php167
0
Gantry\Component\Whoops\SystemFacade handleShutdown
[internal]0
                        'AND',
                        [
                            $db->qn('a.locked') . ' IS NULL',
                            $db->qn('a.locked') . ' < :threshold',
                        ],
                        'OR'
                    );
                    $query->bind(':threshold', $timeoutThreshold);
                    break;
                case 1:
                    $query->where($db->qn('a.locked') . ' IS NOT NULL');
                    break;
                case 2:
                    $query->where($db->qn('a.locked') . ' < :threshold')
                        ->bind(':threshold', $timeoutThreshold);
            }
        }
 
        // Filter over search string if set (title, type title, note, id) ----
        $searchStr = $this->getState('filter.search');
 
        if (!empty($searchStr)) {
            // Allow search by ID
            if (stripos($searchStr, 'id:') === 0) {
                // Add array support [?]
                $id = (int) substr($searchStr, 3);
                $query->where($db->quoteName('a.id') . '= :id')
                    ->bind(':id', $id, ParameterType::INTEGER);
            } elseif (stripos($searchStr, 'type:') !== 0) {
                // Search by type is handled exceptionally in _getList() [@todo: remove refs]
                $searchStr = "%$searchStr%";
 
                // Bind keys to query
                $query->bind(':title', $searchStr)
                    ->bind(':note', $searchStr);
                $conditions = [
                    $db->quoteName('a.title') . ' LIKE :title',
                    $db->quoteName('a.note') . ' LIKE :note',
                ];
                $extendWhereIfFiltered('AND', $conditions, 'OR');
Arguments
  1. "Allowed memory size of 33554432 bytes exhausted (tried to allocate 2621440 bytes)"
    
     *
     * @return void
     */
    public function handleShutdown()
    {
        // If we reached this step, we are in shutdown handler.
        // An exception thrown in a shutdown handler will not be propagated
        // to the exception handler. Pass that information along.
        $this->canThrowExceptions = false;
 
        $error = $this->system->getLastError();
        if ($error && Misc::isLevelFatal($error['type'])) {
            // If there was a fatal error,
            // it was not handled in handleError yet.
            $this->allowQuit = false;
            $this->handleError(
                $error['type'],
                $error['message'],
                $error['file'],
                $error['line']
            );
        }
    }
 
    /**
     * @param Throwable $exception
     *
     * @return Inspector
     */
    private function getInspector($exception)
    {
        return new Inspector($exception);
    }
 
    /**
     * Resolves the giving handler.
     *
     * @param callable|HandlerInterface $handler
     *
     * @return HandlerInterface
Arguments
  1. 1
    
  2. "Allowed memory size of 33554432 bytes exhausted (tried to allocate 2621440 bytes)"
    
  3. "/home/teologia/public_html/administrator/components/com_scheduler/src/Model/TasksModel.php"
    
  4. 302
    
        }
 
        // Propagate error to the next handler.
        if ($this->platformExceptionHandler) {
            call_user_func_array($this->platformExceptionHandler, [&$exception]);
        }
    }
 
    /**
     * Special case to deal with Fatal errors and the like.
     */
    public function handleShutdown()
    {
        $handler = $this->whoopsShutdownHandler;
 
        $error = $this->getLastError();
 
        // Ignore core warnings and errors.
        if ($error && !($error['type'] & (E_CORE_WARNING | E_CORE_ERROR))) {
            $handler();
        }
    }
}
 

Environment & details:

empty
empty
empty
empty
Key Value
joomla
"TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjM6e3M6Nzoic2Vzc2lvbiI7Tzo4OiJzdGRDbGFzcyI6Mzp7czo3OiJjb3VudGVyIjtpOjE7czo1OiJ0aW1lciI7Tzo4OiJzdGRDbGFzcyI6Mzp7czo1OiJzdGFydCI7aToxNjc1NTgyNjEyO3M6NDoibGFzdCI7aToxNjc1NTgyNjEyO3M6Mzoibm93IjtpOjE2NzU1ODI2MTI7fXM6NToidG9rZW4iO3M6MzI6IjhlN2Q2M2E5ODI1YzQ2YmM0N2JjMjViZGI4ODA0NzIyIjt9czo4OiJyZWdpc3RyeSI7TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjA6e31zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO31zOjQ6InVzZXIiO086MjA6Ikpvb21sYVxDTVNcVXNlclxVc2VyIjoxOntzOjI6ImlkIjtpOjA7fX1zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO30="
Key Value
USER
"teologia"
HOME
"/home/teologia"
SCRIPT_NAME
"/index.php"
REQUEST_URI
"/"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.1"
GATEWAY_INTERFACE
"CGI/1.1"
REMOTE_PORT
"57692"
SCRIPT_FILENAME
"/home/teologia/public_html/index.php"
SERVER_ADMIN
"webmaster@teologianordeste.net"
CONTEXT_DOCUMENT_ROOT
"/home/teologia/public_html"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/home/teologia/public_html"
REMOTE_ADDR
"44.192.247.184"
SERVER_PORT
"443"
SERVER_ADDR
"75.119.134.16"
SERVER_NAME
"www.teologianordeste.net"
SERVER_SOFTWARE
"Apache"
SERVER_SIGNATURE
""
PATH
"/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin"
HTTP_X_HTTPS
"1"
HTTP_CONNECTION
"Keep-Alive"
HTTP_HOST
"www.teologianordeste.net"
HTTP_ACCEPT_ENCODING
"br,gzip"
HTTP_IF_MODIFIED_SINCE
"Mon, 03 Oct 2022 17:52:53 GMT"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
proxy-nokeepalive
"1"
SSL_TLS_SNI
"www.teologianordeste.net"
HTTPS
"on"
HTTP_AUTHORIZATION
""
SCRIPT_URI
"https://www.teologianordeste.net/"
SCRIPT_URL
"/"
UNIQUE_ID
"Y99clLQKhWfJwOSd8MDB3gAAAAA"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1675582612.4871
REQUEST_TIME
1675582612
argv
[]
argc
0
empty
0. Whoops\Handler\PrettyPageHandler