Whoops \ Exception \ ErrorException (E_ERROR)
During inheritance of Iterator: Uncaught Whoops\Exception\ErrorException: Return type of Nette\Database\ResultSet::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/gotelnew/public_html/applyjob.gonga.ng/vendor/nette/database/src/Database/ResultSet.php:172 Stack trace: #0 /home/gotelnew/public_html/applyjob.gonga.ng/vendor/nette/database/src/Database/ResultSet.php(19): Whoops\Run->handleError(8192, 'Return type of ...', '/home/gotelnew/...', 172) #1 /home/gotelnew/public_html/applyjob.gonga.ng/vendor/composer/ClassLoader.php(480): include('/home/gotelnew/...') #2 /home/gotelnew/public_html/applyjob.gonga.ng/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile('/home/gotelnew/...') #3 /home/gotelnew/public_html/applyjob.gonga.ng/vendor/nette/database/src/Database/Connection.php(225): Composer\Autoload\ClassLoader->loadClass('Nette\\Database\\...') #4 /home/gotelnew/public_html/applyjob.gonga.ng/vendor/nette/database/src/Database/Drivers/MySqlDriver.php(42): Nette\Database\Connection->query('SET NAMES ?', 'utf8mb4') #5 /home/gotelnew/public_html/applyjob.gonga.ng/vendor/nette/database/src/Database/Connection.php(85): Nette\Database\Drivers\MySqlDriver->initialize(Object(Nette\Database\Connection), Array) #6 /home/gotelnew/public_html/applyjob.gonga.ng/vendor/nette/database/src/Database/Connection.php(62): Nette\Database\Connection->connect() #7 /home/gotelnew/public_html/applyjob.gonga.ng/config/database.php(41): Nette\Database\Connection->__construct('mysql:host=127....', 'gotelnew_jaafar', 'Jimeta3310@') #8 /home/gotelnew/public_html/applyjob.gonga.ng/server.php(38): require_once('/home/gotelnew/...') #9 /home/gotelnew/public_html/applyjob.gonga.ng/index.php(7): require_once('/home/gotelnew/...') #10 {main} Whoops\Exception\ErrorException thrown with message "During inheritance of Iterator: Uncaught Whoops\Exception\ErrorException: Return type of Nette\Database\ResultSet::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/gotelnew/public_html/applyjob.gonga.ng/vendor/nette/database/src/Database/ResultSet.php:172 Stack trace: #0 /home/gotelnew/public_html/applyjob.gonga.ng/vendor/nette/database/src/Database/ResultSet.php(19): Whoops\Run->handleError(8192, 'Return type of ...', '/home/gotelnew/...', 172) #1 /home/gotelnew/public_html/applyjob.gonga.ng/vendor/composer/ClassLoader.php(480): include('/home/gotelnew/...') #2 /home/gotelnew/public_html/applyjob.gonga.ng/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile('/home/gotelnew/...') #3 /home/gotelnew/public_html/applyjob.gonga.ng/vendor/nette/database/src/Database/Connection.php(225): Composer\Autoload\ClassLoader->loadClass('Nette\\Database\\...') #4 /home/gotelnew/public_html/applyjob.gonga.ng/vendor/nette/database/src/Database/Drivers/MySqlDriver.php(42): Nette\Database\Connection->query('SET NAMES ?', 'utf8mb4') #5 /home/gotelnew/public_html/applyjob.gonga.ng/vendor/nette/database/src/Database/Connection.php(85): Nette\Database\Drivers\MySqlDriver->initialize(Object(Nette\Database\Connection), Array) #6 /home/gotelnew/public_html/applyjob.gonga.ng/vendor/nette/database/src/Database/Connection.php(62): Nette\Database\Connection->connect() #7 /home/gotelnew/public_html/applyjob.gonga.ng/config/database.php(41): Nette\Database\Connection->__construct('mysql:host=127....', 'gotelnew_jaafar', 'Jimeta3310@') #8 /home/gotelnew/public_html/applyjob.gonga.ng/server.php(38): require_once('/home/gotelnew/...') #9 /home/gotelnew/public_html/applyjob.gonga.ng/index.php(7): require_once('/home/gotelnew/...') #10 {main}" Stacktrace: #2 Whoops\Exception\ErrorException in /home/gotelnew/public_html/applyjob.gonga.ng/vendor/nette/database/src/Database/ResultSet.php:19 #1 Whoops\Run:handleError in /home/gotelnew/public_html/applyjob.gonga.ng/vendor/filp/whoops/src/Whoops/Run.php:482 #0 Whoops\Run:handleShutdown in [internal]:0
Stack frames (3)
2
Whoops\Exception\ErrorException
/vendor/nette/database/src/Database/ResultSet.php19
1
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php482
0
Whoops\Run handleShutdown
[internal]0
/home/gotelnew/public_html/applyjob.gonga.ng/vendor/nette/database/src/Database/ResultSet.php
<?php
 
/**
 * This file is part of the Nette Framework (https://nette.org)
 * Copyright (c) 2004 David Grudl (https://davidgrudl.com)
 */
 
declare(strict_types=1);
 
namespace Nette\Database;
 
use Nette;
use PDO;
 
 
/**
 * Represents a result set.
 */
class ResultSet implements \Iterator, IRowContainer
{
    use Nette\SmartObject;
 
    /** @var Connection */
    private $connection;
 
    /** @var \PDOStatement|null */
    private $pdoStatement;
 
    /** @var callable(array, ResultSet): array */
    private $normalizer;
 
    /** @var Row|false */
    private $result;
 
    /** @var int */
    private $resultKey = -1;
 
    /** @var Row[] */
    private $results;
 
/home/gotelnew/public_html/applyjob.gonga.ng/vendor/filp/whoops/src/Whoops/Run.php
    }
 
    /**
     * Special case to deal with Fatal errors and the like.
     *
     * @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.
[internal]

Environment & details:

empty
empty
empty
empty
empty
Key Value
PATH /usr/local/bin:/bin:/usr/bin
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_HOST www.applyjob.gonga.ng
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
DOCUMENT_ROOT /home/gotelnew/public_html/applyjob.gonga.ng
REMOTE_ADDR 216.73.216.115
REMOTE_PORT 39862
SERVER_ADDR 147.124.220.27
SERVER_NAME www.applyjob.gonga.ng
SERVER_ADMIN webmaster@applyjob.gonga.ng
SERVER_PORT 443
REQUEST_SCHEME https
REQUEST_URI /
HTTPS on
X_SPDY HTTP2
SSL_PROTOCOL TLSv1.3
SSL_CIPHER TLS_AES_256_GCM_SHA384
SSL_CIPHER_USEKEYSIZE 256
SSL_CIPHER_ALGKEYSIZE 256
SCRIPT_FILENAME /home/gotelnew/public_html/applyjob.gonga.ng/index.php
QUERY_STRING
SCRIPT_URI https://www.applyjob.gonga.ng/
SCRIPT_URL /
SCRIPT_NAME /index.php
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE LiteSpeed
REQUEST_METHOD GET
X-LSCACHE on
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1773995322.7154
REQUEST_TIME 1773995322
argv Array ( )
argc 0
empty
0. Whoops\Handler\PrettyPageHandler