Deprecated: Return type of Whoops\Exception\FrameCollection::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 /home/public/kirby/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php on line 101

Deprecated: Return type of Whoops\Exception\FrameCollection::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 /home/public/kirby/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php on line 110

Deprecated: Return type of Whoops\Exception\FrameCollection::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 /home/public/kirby/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php on line 119

Deprecated: Return type of Whoops\Exception\FrameCollection::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 /home/public/kirby/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php on line 128

Deprecated: Return type of Whoops\Exception\FrameCollection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php on line 92

Deprecated: Whoops\Exception\FrameCollection implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/public/kirby/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php on line 20

Deprecated: Return type of Whoops\Exception\FrameCollection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/vendor/filp/whoops/src/Whoops/Exception/FrameCollection.php on line 137

Deprecated: Whoops\Exception\Frame implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/public/kirby/vendor/filp/whoops/src/Whoops/Exception/Frame.php on line 12

Fatal error: During inheritance of Iterator: Uncaught Whoops\Exception\ErrorException: Return type of I::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/vendor/getkirby/toolkit/lib/i.php:62 Stack trace: #0 /home/public/kirby/vendor/getkirby/toolkit/lib/i.php(14): Whoops\Run->handleError(8192, 'Return type of ...', '/home/public/ki...', 62) #1 /home/public/kirby/vendor/getkirby/toolkit/bootstrap.php(18): include('/home/public/ki...') #2 /home/public/kirby/vendor/getkirby/toolkit/lib/collection.php(12): {closure}('i') #3 /home/public/kirby/vendor/getkirby/toolkit/bootstrap.php(18): include('/home/public/ki...') #4 /home/public/kirby/core/pages.php(12): {closure}('collection') #5 /home/public/kirby/vendor/getkirby/toolkit/bootstrap.php(18): include('/home/public/ki...') #6 /home/public/kirby/branches/default.php(6): {closure}('pagesabstract') #7 /home/public/kirby/kirby.php(538): include_once('/home/public/ki...') #8 /home/public/kirby/kirby.php(660): Kirby->site() #9 /home/public/index.php(16): Kirby->launch() #10 {main} in /home/public/kirby/vendor/getkirby/toolkit/lib/i.php on line 14
Kirby CMS Debugger
Whoops \ Exception \ ErrorException (E_ERROR)
During inheritance of Iterator: Uncaught Whoops\Exception\ErrorException: Return type of I::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/vendor/getkirby/toolkit/lib/i.php:62 Stack trace: #0 /home/public/kirby/vendor/getkirby/toolkit/lib/i.php(14): Whoops\Run->handleError(8192, 'Return type of ...', '/home/public/ki...', 62) #1 /home/public/kirby/vendor/getkirby/toolkit/bootstrap.php(18): include('/home/public/ki...') #2 /home/public/kirby/vendor/getkirby/toolkit/lib/collection.php(12): {closure}('i') #3 /home/public/kirby/vendor/getkirby/toolkit/bootstrap.php(18): include('/home/public/ki...') #4 /home/public/kirby/core/pages.php(12): {closure}('collection') #5 /home/public/kirby/vendor/getkirby/toolkit/bootstrap.php(18): include('/home/public/ki...') #6 /home/public/kirby/branches/default.php(6): {closure}('pagesabstract') #7 /home/public/kirby/kirby.php(538): include_once('/home/public/ki...') #8 /home/public/kirby/kirby.php(660): Kirby->site() #9 /home/public/index.php(16): Kirby->launch() #10 {main} Whoops\Exception\ErrorException thrown with message "During inheritance of Iterator: Uncaught Whoops\Exception\ErrorException: Return type of I::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/vendor/getkirby/toolkit/lib/i.php:62 Stack trace: #0 /home/public/kirby/vendor/getkirby/toolkit/lib/i.php(14): Whoops\Run->handleError(8192, 'Return type of ...', '/home/public/ki...', 62) #1 /home/public/kirby/vendor/getkirby/toolkit/bootstrap.php(18): include('/home/public/ki...') #2 /home/public/kirby/vendor/getkirby/toolkit/lib/collection.php(12): {closure}('i') #3 /home/public/kirby/vendor/getkirby/toolkit/bootstrap.php(18): include('/home/public/ki...') #4 /home/public/kirby/core/pages.php(12): {closure}('collection') #5 /home/public/kirby/vendor/getkirby/toolkit/bootstrap.php(18): include('/home/public/ki...') #6 /home/public/kirby/branches/default.php(6): {closure}('pagesabstract') #7 /home/public/kirby/kirby.php(538): include_once('/home/public/ki...') #8 /home/public/kirby/kirby.php(660): Kirby->site() #9 /home/public/index.php(16): Kirby->launch() #10 {main}" Stacktrace: #0 Whoops\Exception\ErrorException in /home/public/kirby/vendor/getkirby/toolkit/lib/i.php:14
Stack frames (1)
0
Whoops
\
Exception
\
ErrorException
/
vendor
/
getkirby
/
toolkit
/
lib
/
i.php
14
/
home
/
public
/
kirby
/
vendor
/
getkirby
/
toolkit
/
lib
/
i.php
<?php 
 
/**
 * I
 * 
 * Iterator Base Class
 * 
 * @package   Kirby Toolkit 
 * @author    Bastian Allgeier <bastian@getkirby.com>
 * @link      http://getkirby.com
 * @copyright Bastian Allgeier
 * @license   http://www.opensource.org/licenses/mit-license.php MIT License
 */
class I implements Iterator {
 
  public $data = array();
 
  /**
   * Constructor
   * 
   * @param array $data
   */
  public function __construct($data = array()) {
    if(is_array($data)) $this->data = $data;
  }
 
  /** 
   * Checks if the current key is set
   * 
   * `isset($mycollection->mykey)`
   * 
   * @param string $key the key to check
   * @return boolean
   */
  public function __isset($key) {
    return isset($this->data[$key]);
  }
 
  /** 
   * Removes an element from the array by key

Environment & details:

Key Value
Kirby Toolkit v2.4.0
Kirby CMS v2.4.0
empty
empty
empty
empty
empty
Key Value
CONTEXT_PREFIX
DOCUMENT_ROOT /home/public/
GATEWAY_INTERFACE NFGI/1.0
HTTPS on
HTTP_ACCEPT */*
HTTP_CONNECTION close
HTTP_HOST eigakai.ro
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_FORWARDED_HOST eigakai.ro
HTTP_X_FORWARDED_PROTO https
HTTP_X_FORWARDED_SERVER e13.edge.bos1.nearlyfreespeech.net
LD_LIBRARY_PATH /usr/lib:/usr/local/lib
NFSN_CANONICAL_NAME eigakairo.nfshost.com
NFSN_REMOTE_ADDR 3.140.186.241
NFSN_SITE_NAME eigakairo
NFSN_SITE_ROOT /home/
PATH /bin:/usr/bin
QUERY_STRING
REMOTE_ADDR 3.140.186.241
REMOTE_PORT 25352
REQUEST_METHOD GET
REQUEST_SCHEME http
REQUEST_URI /
SCRIPT_FILENAME /home/public/index.php
SCRIPT_NAME /index.php
SERVER_ADDR 172.17.1.241
SERVER_ADMIN nobody
SERVER_NAME eigakai.ro
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE Apache
TMPDIR /home/tmp/
UNIQUE_ID ZjK4l5JDSFShfpHNWx7hWAAAAEg
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1714600087.7287
REQUEST_TIME 1714600087
argv Array ( )
argc 0
Key Value
USER eigakairo
LOGNAME eigakairo
NFSN_CANONICAL_NAME eigakairo.nfshost.com
NFSN_SITE_NAME eigakairo
LC_ALL en_US.UTF-8
LANG en_US.UTF-8
TMPDIR /home/tmp/
SHELL /bin/sh
NFSN_SITE_ROOT /home/
HOME /home/protected/
PS1 [\h \w]\$
PATH /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
NFSN_SITE_KEY uDV9dz5nAPEQu5nv
0. Whoops\Handler\PrettyPageHandler