Whoops \ Exception \ ErrorException (E_ERROR)
During inheritance of ArrayAccess: Uncaught Whoops\Exception\ErrorException: Return type of Gantry\Component\Theme\ThemeDetails::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/similabeht/www/libraries/gantry5/vendor/rockettheme/toolbox/ArrayTraits/src/NestedArrayAccess.php:146 Stack trace: #0 /home/similabeht/www/libraries/gantry5/classes/Gantry/Component/Whoops/SystemFacade.php(107): Whoops\Run->handleError(8192, 'Return type of ...', '/home/similabeh...', 146) #1 /home/similabeht/www/libraries/gantry5/classes/Gantry/Component/Theme/ThemeDetails.php(27): Gantry\Component\Whoops\SystemFacade->handleError(8192, 'Return type of ...', '/home/similabeh...', 146) #2 /home/similabeht/www/libraries/vendor/composer/ClassLoader.php(571): include('/home/similabeh...') #3 /home/similabeht/www/libraries/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/similabeh...') #4 /home/similabeht/www/libraries/gantry5/classes/Gantry/Component/Theme/ThemeTrait.php(446): Composer\Autoload\ClassLoader->loadClass('Gantry\\Componen...') #5 /home/similabeht/www/libraries/gantry5/classes/Gantry/Component/Theme/ThemeTrait.php(502): Gantry\Framework\Theme->details() #6 /home/similabeht/www/libraries/gantry5/classes/Gantry/Framework/Theme.php(167): Gantry\Framework\Theme->__set('language', 'fr-fr') #7 /home/similabeht/www/libraries/gantry5/classes/Gantry/Component/Theme/AbstractTheme.php(67): Gantry\Framework\Theme->init() #8 /home/similabeht/www/templates/rt_supra/includes/theme.php(28): Gantry\Component\Theme\AbstractTheme->__construct('/home/similabeh...', 'rt_supra') #9 /home/similabeht/www/libraries/gantry5/vendor/pimple/pimple/src/Pimple/Container.php(118): Joomla\CMS\Document\ErrorDocument->{closure}(Object(Gantry\Framework\Gantry)) #10 /home/similabeht/www/templates/rt_supra/error.php(17): Pimple\Container->offsetGet('theme') #11 /home/similabeht/www/libraries/src/Document/ErrorDocument.php(204): require_once('/home/similabeh...') #12 /home/similabeht/www/libraries/src/Document/ErrorDocument.php(175): Joomla\CMS\Document\ErrorDocument->_loadTemplate('/home/similabeh...', 'error.php') #13 /home/similabeht/www/libraries/src/Exception/ExceptionHandler.php(113): Joomla\CMS\Document\ErrorDocument->render(false, Array) #14 /home/similabeht/www/libraries/src/Exception/ExceptionHandler.php(41): Joomla\CMS\Exception\ExceptionHandler::render(Object(ValueError)) #15 [internal function]: Joomla\CMS\Exception\ExceptionHandler::handleException(Object(ValueError)) #16 {main} Whoops\Exception\ErrorException thrown with message "During inheritance of ArrayAccess: Uncaught Whoops\Exception\ErrorException: Return type of Gantry\Component\Theme\ThemeDetails::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/similabeht/www/libraries/gantry5/vendor/rockettheme/toolbox/ArrayTraits/src/NestedArrayAccess.php:146 Stack trace: #0 /home/similabeht/www/libraries/gantry5/classes/Gantry/Component/Whoops/SystemFacade.php(107): Whoops\Run->handleError(8192, 'Return type of ...', '/home/similabeh...', 146) #1 /home/similabeht/www/libraries/gantry5/classes/Gantry/Component/Theme/ThemeDetails.php(27): Gantry\Component\Whoops\SystemFacade->handleError(8192, 'Return type of ...', '/home/similabeh...', 146) #2 /home/similabeht/www/libraries/vendor/composer/ClassLoader.php(571): include('/home/similabeh...') #3 /home/similabeht/www/libraries/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/similabeh...') #4 /home/similabeht/www/libraries/gantry5/classes/Gantry/Component/Theme/ThemeTrait.php(446): Composer\Autoload\ClassLoader->loadClass('Gantry\\Componen...') #5 /home/similabeht/www/libraries/gantry5/classes/Gantry/Component/Theme/ThemeTrait.php(502): Gantry\Framework\Theme->details() #6 /home/similabeht/www/libraries/gantry5/classes/Gantry/Framework/Theme.php(167): Gantry\Framework\Theme->__set('language', 'fr-fr') #7 /home/similabeht/www/libraries/gantry5/classes/Gantry/Component/Theme/AbstractTheme.php(67): Gantry\Framework\Theme->init() #8 /home/similabeht/www/templates/rt_supra/includes/theme.php(28): Gantry\Component\Theme\AbstractTheme->__construct('/home/similabeh...', 'rt_supra') #9 /home/similabeht/www/libraries/gantry5/vendor/pimple/pimple/src/Pimple/Container.php(118): Joomla\CMS\Document\ErrorDocument->{closure}(Object(Gantry\Framework\Gantry)) #10 /home/similabeht/www/templates/rt_supra/error.php(17): Pimple\Container->offsetGet('theme') #11 /home/similabeht/www/libraries/src/Document/ErrorDocument.php(204): require_once('/home/similabeh...') #12 /home/similabeht/www/libraries/src/Document/ErrorDocument.php(175): Joomla\CMS\Document\ErrorDocument->_loadTemplate('/home/similabeh...', 'error.php') #13 /home/similabeht/www/libraries/src/Exception/ExceptionHandler.php(113): Joomla\CMS\Document\ErrorDocument->render(false, Array) #14 /home/similabeht/www/libraries/src/Exception/ExceptionHandler.php(41): Joomla\CMS\Exception\ExceptionHandler::render(Object(ValueError)) #15 [internal function]: Joomla\CMS\Exception\ExceptionHandler::handleException(Object(ValueError)) #16 {main}" Stacktrace: #0 Whoops\Exception\ErrorException in /home/similabeht/www/libraries/gantry5/classes/Gantry/Component/Theme/ThemeDetails.php:27
Stack frames (1)
0
Whoops
\
Exception
\
ErrorException
/
classes
/
Gantry
/
Component
/
Theme
/
ThemeDetails.php
27
 * http://opensource.org/licenses/MIT
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Gantry Framework code that extends GPL code is considered GNU/GPLv2 and later
 */
 
namespace Gantry\Component\Theme;
 
use Gantry\Component\File\CompiledYamlFile;
use Gantry\Component\Filesystem\Streams;
use Gantry\Framework\Gantry;
use RocketTheme\Toolbox\ArrayTraits\Export;
use RocketTheme\Toolbox\ArrayTraits\NestedArrayAccessWithGetters;
use RocketTheme\Toolbox\ResourceLocator\UniformResourceLocator;
 
/**
 * Class ThemeDetails
 * @package Gantry\Component\Theme
 */
class ThemeDetails implements \ArrayAccess
{
    use NestedArrayAccessWithGetters, Export;
 
    protected $items;
    protected $parent;
 
    /**
     * Create new theme details.
     *
     * @param string $theme
     */
    public function __construct($theme)
    {
        $gantry = Gantry::instance();
 
        /** @var UniformResourceLocator $locator */
        $locator = $gantry['locator'];
 
        $filename = $locator->findResource("gantry-themes://{$theme}/gantry/theme.yaml");
        if (!$filename) {

Environment & details:

empty
empty
empty
empty
Key Value
joomla TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjozOntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjM6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTcxMzQ1NzI1NjtzOjQ6Imxhc3QiO2k6MTcxMzQ1NzI1NjtzOjM6Im5vdyI7aToxNzEzNDU3MjU2O31zOjY6ImNsaWVudCI7Tzo4OiJzdGRDbGFzcyI6MTp7czo5OiJmb3J3YXJkZWQiO3M6MTE6IjEzLjU4LjgyLjc5Ijt9fXM6ODoicmVnaXN0cnkiO086MjQ6Ikpvb21sYVxSZWdpc3RyeVxSZWdpc3RyeSI6Mzp7czo3OiIAKgBkYXRhIjtPOjg6InN0ZENsYXNzIjowOnt9czoxNDoiACoAaW5pdGlhbGl6ZWQiO2I6MDtzOjk6InNlcGFyYXRvciI7czoxOiIuIjt9czo0OiJ1c2VyIjtPOjIwOiJKb29tbGFcQ01TXFVzZXJcVXNlciI6MTp7czoyOiJpZCI7aTowO319fXM6MTQ6IgAqAGluaXRpYWxpemVkIjtiOjA7czo5OiJzZXBhcmF0b3IiO3M6MToiLiI7fQ==
Key Value
USER similabeht
PATH_TRANSLATED /homez.151/similabeht/www/chilimila
PATH_INFO /chilimila
SCRIPT_NAME /index.php
REQUEST_URI /index.php/chilimila
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 39006
SCRIPT_FILENAME /home/similabeht/www/index.php
SERVER_ADMIN postmaster@www.simila.be
REMOTE_ADDR 13.58.82.79
SERVER_PORT 80
SERVER_ADDR 10.26.20.220
SERVER_NAME www.simila.be
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
HTTP_REMOTE_IP 13.58.82.79
HTTP_X_IPLB_UNIQUE_ID 0D3A524F:B789_57629A92:0050_66214868_2E1B3:33CE
HTTP_REMOTE_PORT 46985
HTTP_FORWARDED for=13.58.82.79; proto=http; host=www.simila.be
HTTP_X_REMOTE_PROTO http
HTTP_X_REMOTE_IP 13.58.82.79
HTTP_X_REMOTE_PORT 46985
HTTP_X_FORWARDED_PORT 80
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_X_OVHREQUEST_ID 802ad80227c6e0b48a5930efaec92877
HTTP_X_FORWARDED_PROTO http
HTTP_X_FORWARDED_FOR 13.58.82.79
HTTP_X_PREDICTOR 1
HTTP_HOST www.simila.be
CFG_CLUSTER cluster026
SCRIPT_URI http://www.simila.be/index.php/chilimila
SCRIPT_URL /index.php/chilimila
GEOIP_LONGITUDE -83.006104
GEOIP_LATITUDE 39.962502
GEOIP_AREA_CODE 614
GEOIP_DMA_CODE 535
GEOIP_CITY Columbus
GEOIP_REGION OH
GEOIP_COUNTRY_NAME United States
GEOIP_COUNTRY_CODE US
UNIQUE_ID ZiFIaLOvH1Db6vKuf7LU1AAAAEg
DOCUMENT_ROOT /home/similabeht/www
ENVIRONMENT production
APP_ENGINE_VERSION 8.1
APP_ENGINE php
FCGI_ROLE RESPONDER
PHP_SELF /index.php/chilimila
REQUEST_TIME_FLOAT 1713457256.0079
REQUEST_TIME 1713457256
argv Array ( )
argc 0
Key Value
USER similabeht
PATH_TRANSLATED /homez.151/similabeht/www/chilimila
PATH_INFO /chilimila
SCRIPT_NAME /index.php
REQUEST_URI /index.php/chilimila
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 39006
SCRIPT_FILENAME /home/similabeht/www/index.php
SERVER_ADMIN postmaster@www.simila.be
REMOTE_ADDR 13.58.82.79
SERVER_PORT 80
SERVER_ADDR 10.26.20.220
SERVER_NAME www.simila.be
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
HTTP_REMOTE_IP 13.58.82.79
HTTP_X_IPLB_UNIQUE_ID 0D3A524F:B789_57629A92:0050_66214868_2E1B3:33CE
HTTP_REMOTE_PORT 46985
HTTP_FORWARDED for=13.58.82.79; proto=http; host=www.simila.be
HTTP_X_REMOTE_PROTO http
HTTP_X_REMOTE_IP 13.58.82.79
HTTP_X_REMOTE_PORT 46985
HTTP_X_FORWARDED_PORT 80
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_X_OVHREQUEST_ID 802ad80227c6e0b48a5930efaec92877
HTTP_X_FORWARDED_PROTO http
HTTP_X_FORWARDED_FOR 13.58.82.79
HTTP_X_PREDICTOR 1
HTTP_HOST www.simila.be
CFG_CLUSTER cluster026
SCRIPT_URI http://www.simila.be/index.php/chilimila
SCRIPT_URL /index.php/chilimila
GEOIP_LONGITUDE -83.006104
GEOIP_LATITUDE 39.962502
GEOIP_AREA_CODE 614
GEOIP_DMA_CODE 535
GEOIP_CITY Columbus
GEOIP_REGION OH
GEOIP_COUNTRY_NAME United States
GEOIP_COUNTRY_CODE US
UNIQUE_ID ZiFIaLOvH1Db6vKuf7LU1AAAAEg
DOCUMENT_ROOT /home/similabeht/www
ENVIRONMENT production
APP_ENGINE_VERSION 8.1
APP_ENGINE php
FCGI_ROLE RESPONDER
PHP_SELF /index.php/chilimila
REQUEST_TIME_FLOAT 1713457256.0079
REQUEST_TIME 1713457256
argv Array ( )
argc 0
0. Whoops\Handler\PrettyPageHandler