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/axelbenaju/faim-magazine/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/axelbenaju/faim-magazine/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/axelbenaju/faim-magazine/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/axelbenaju/faim-magazine/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/axelbenaju/faim-magazine/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/axelbenaju/faim-magazine/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/axelbenaju/faim-magazine/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/axelbenaju/faim-magazine/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/axelbenaju/faim-magazine/kirby/vendor/getkirby/toolkit/lib/i.php:62 Stack trace: #0 /home/axelbenaju/faim-magazine/kirby/vendor/getkirby/toolkit/lib/i.php(14): Whoops\Run->handleError(8192, 'Return type of ...', '/home/axelbenaj...', 62) #1 /home/axelbenaju/faim-magazine/kirby/vendor/getkirby/toolkit/bootstrap.php(18): include('/home/axelbenaj...') #2 /home/axelbenaju/faim-magazine/kirby/vendor/getkirby/toolkit/lib/collection.php(12): {closure}('i') #3 /home/axelbenaju/faim-magazine/kirby/vendor/getkirby/toolkit/bootstrap.php(18): include('/home/axelbenaj...') #4 /home/axelbenaju/faim-magazine/kirby/core/pages.php(12): {closure}('collection') #5 /home/axelbenaju/faim-magazine/kirby/vendor/getkirby/toolkit/bootstrap.php(18): include('/home/axelbenaj...') #6 /home/axelbenaju/faim-magazine/kirby/branches/multilang.php(8): {closure}('pagesabstract') #7 /home/axelbenaju/faim-magazine/kirby/kirby.php(538): include_once('/home/axelbenaj...') #8 /home/axelbenaju/faim-magazine/kirby/kirby.php(660): Kirby->site() #9 /home/axelbenaju/faim-magazine/index.php(16): Kirby->launch() #10 {main} in /home/axelbenaju/faim-magazine/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/axelbenaju/faim-magazine/kirby/vendor/getkirby/toolkit/lib/i.php:62 Stack trace: #0 /home/axelbenaju/faim-magazine/kirby/vendor/getkirby/toolkit/lib/i.php(14): Whoops\Run->handleError(8192, 'Return type of ...', '/home/axelbenaj...', 62) #1 /home/axelbenaju/faim-magazine/kirby/vendor/getkirby/toolkit/bootstrap.php(18): include('/home/axelbenaj...') #2 /home/axelbenaju/faim-magazine/kirby/vendor/getkirby/toolkit/lib/collection.php(12): {closure}('i') #3 /home/axelbenaju/faim-magazine/kirby/vendor/getkirby/toolkit/bootstrap.php(18): include('/home/axelbenaj...') #4 /home/axelbenaju/faim-magazine/kirby/core/pages.php(12): {closure}('collection') #5 /home/axelbenaju/faim-magazine/kirby/vendor/getkirby/toolkit/bootstrap.php(18): include('/home/axelbenaj...') #6 /home/axelbenaju/faim-magazine/kirby/branches/multilang.php(8): {closure}('pagesabstract') #7 /home/axelbenaju/faim-magazine/kirby/kirby.php(538): include_once('/home/axelbenaj...') #8 /home/axelbenaju/faim-magazine/kirby/kirby.php(660): Kirby->site() #9 /home/axelbenaju/faim-magazine/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/axelbenaju/faim-magazine/kirby/vendor/getkirby/toolkit/lib/i.php:62 Stack trace: #0 /home/axelbenaju/faim-magazine/kirby/vendor/getkirby/toolkit/lib/i.php(14): Whoops\Run->handleError(8192, 'Return type of ...', '/home/axelbenaj...', 62) #1 /home/axelbenaju/faim-magazine/kirby/vendor/getkirby/toolkit/bootstrap.php(18): include('/home/axelbenaj...') #2 /home/axelbenaju/faim-magazine/kirby/vendor/getkirby/toolkit/lib/collection.php(12): {closure}('i') #3 /home/axelbenaju/faim-magazine/kirby/vendor/getkirby/toolkit/bootstrap.php(18): include('/home/axelbenaj...') #4 /home/axelbenaju/faim-magazine/kirby/core/pages.php(12): {closure}('collection') #5 /home/axelbenaju/faim-magazine/kirby/vendor/getkirby/toolkit/bootstrap.php(18): include('/home/axelbenaj...') #6 /home/axelbenaju/faim-magazine/kirby/branches/multilang.php(8): {closure}('pagesabstract') #7 /home/axelbenaju/faim-magazine/kirby/kirby.php(538): include_once('/home/axelbenaj...') #8 /home/axelbenaju/faim-magazine/kirby/kirby.php(660): Kirby->site() #9 /home/axelbenaju/faim-magazine/index.php(16): Kirby->launch() #10 {main}" Stacktrace: #0 Whoops\Exception\ErrorException in /home/axelbenaju/faim-magazine/kirby/vendor/getkirby/toolkit/lib/i.php:14
Stack frames (1)
0
Whoops
\
Exception
\
ErrorException
/
vendor
/
getkirby
/
toolkit
/
lib
/
i.php
14
/
home
/
axelbenaju
/
faim-magazine
/
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
USER axelbenaju
SCRIPT_NAME /index.php
REQUEST_URI /sitemap.xml
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /sitemap.xml
REMOTE_PORT 22600
SCRIPT_FILENAME /home/axelbenaju/faim-magazine/index.php
SERVER_ADMIN postmaster@faim-magazine.axelbenassis.fr
DOCUMENT_ROOT /home/axelbenaju/faim-magazine
REMOTE_ADDR 216.73.216.185
SERVER_PORT 443
SERVER_ADDR 10.121.20.11
SERVER_NAME faim-magazine.axelbenassis.fr
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
HTTP_REMOTE_IP 216.73.216.185
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_X_OVHREQUEST_ID fb2e3ee76e56a4bcd310b23bf0541665
HTTP_X_FORWARDED_PROTO https
HTTP_X_FORWARDED_FOR 216.73.216.185
HTTP_X_PREDICTOR 1
HTTP_HOST faim-magazine.axelbenassis.fr
ENVIRONMENT production
CFG_CLUSTER cluster121
HTTPS on
SCRIPT_URI https://faim-magazine.axelbenassis.fr:443/sitemap.xml
SCRIPT_URL /sitemap.xml
GEOIP_LONGITUDE -119.070099
GEOIP_LATITUDE 34.355598
GEOIP_AREA_CODE 805
GEOIP_DMA_CODE 803
GEOIP_CITY Santa Paula
GEOIP_REGION CA
GEOIP_COUNTRY_NAME United States
GEOIP_COUNTRY_CODE US
UNIQUE_ID alTMvjXrIZsuMfAQQNh6wwAABnY
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1783942334.4408
REQUEST_TIME 1783942334
argv Array ( )
argc 0
Key Value
USER axelbenaju
SCRIPT_NAME /index.php
REQUEST_URI /sitemap.xml
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /sitemap.xml
REMOTE_PORT 22600
SCRIPT_FILENAME /home/axelbenaju/faim-magazine/index.php
SERVER_ADMIN postmaster@faim-magazine.axelbenassis.fr
DOCUMENT_ROOT /home/axelbenaju/faim-magazine
REMOTE_ADDR 216.73.216.185
SERVER_PORT 443
SERVER_ADDR 10.121.20.11
SERVER_NAME faim-magazine.axelbenassis.fr
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
HTTP_REMOTE_IP 216.73.216.185
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_X_OVHREQUEST_ID fb2e3ee76e56a4bcd310b23bf0541665
HTTP_X_FORWARDED_PROTO https
HTTP_X_FORWARDED_FOR 216.73.216.185
HTTP_X_PREDICTOR 1
HTTP_HOST faim-magazine.axelbenassis.fr
ENVIRONMENT production
CFG_CLUSTER cluster121
HTTPS on
SCRIPT_URI https://faim-magazine.axelbenassis.fr:443/sitemap.xml
SCRIPT_URL /sitemap.xml
GEOIP_LONGITUDE -119.070099
GEOIP_LATITUDE 34.355598
GEOIP_AREA_CODE 805
GEOIP_DMA_CODE 803
GEOIP_CITY Santa Paula
GEOIP_REGION CA
GEOIP_COUNTRY_NAME United States
GEOIP_COUNTRY_CODE US
UNIQUE_ID alTMvjXrIZsuMfAQQNh6wwAABnY
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1783942334.4408
REQUEST_TIME 1783942334
argv Array ( )
argc 0
0. Whoops\Handler\PrettyPageHandler