Whoops \ Exception \ ErrorException (E_ERROR)
During inheritance of Countable: Uncaught Whoops\Exception\ErrorException: Return type of Twig\Node\Node::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /mnt/web002/e1/45/56904745/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php:213 Stack trace: #0 /mnt/web002/e1/45/56904745/htdocs/libraries/gantry5/src/classes/Gantry/Component/Whoops/SystemFacade.php(112): Whoops\Run->handleError() #1 /mnt/web002/e1/45/56904745/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php(23): Gantry\Component\Whoops\SystemFacade->handleError() #2 /mnt/web002/e1/45/56904745/htdocs/libraries/vendor/composer/ClassLoader.php(480): include('...') #3 /mnt/web002/e1/45/56904745/htdocs/libraries/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile() #4 [internal function]: Composer\Autoload\ClassLoader->loadClass() #5 /mnt/web002/e1/45/56904745/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/TwigFilter.php(128): class_exists() #6 /mnt/web002/e1/45/56904745/htdocs/libraries/vendor/composer/ClassLoader.php(480): include('...') #7 /mnt/web002/e1/45/56904745/htdocs/libraries/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile() #8 /mnt/web002/e1/45/56904745/htdocs/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(107): Composer\Autoload\ClassLoader->loadClass() #9 /mnt/web002/e1/45/56904745/htdocs/libraries/gantry5/src/classes/Gantry/Framework/Theme.php(70): Gantry\Component\Theme\AbstractTheme->extendTwig() #10 /mnt/web002/e1/45/56904745/htdocs/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(158): Gantry\Framework\Theme->extendTwig() #11 /mnt/web002/e1/45/56904745/htdocs/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(176): Gantry\Component\Theme\AbstractTheme->renderer() #12 /mnt/web002/e1/45/56904745/htdocs/templates/g5_helium/index.php(35): Gantry\Component\Theme\AbstractTheme->render() #13 /mnt/web002/e1/45/56904745/htdocs/libraries/src/Document/HtmlDocument.php(668): require('...') #14 /mnt/web002/e1/45/56904745/htdocs/libraries/src/Document/HtmlDocument.php(730): Joomla\CMS\Document\HtmlDocument->_loadTemplate() #15 /mnt/web002/e1/45/56904745/htdocs/libraries/src/Document/HtmlDocument.php(545): Joomla\CMS\Document\HtmlDocument->_fetchTemplate() #16 /mnt/web002/e1/45/56904745/htdocs/libraries/src/Application/CMSApplication.php(1126): Joomla\CMS\Document\HtmlDocument->parse() #17 /mnt/web002/e1/45/56904745/htdocs/libraries/src/Application/SiteApplication.php(778): Joomla\CMS\Application\CMSApplication->render() #18 /mnt/web002/e1/45/56904745/htdocs/libraries/src/Application/CMSApplication.php(231): Joomla\CMS\Application\SiteApplication->render() #19 /mnt/web002/e1/45/56904745/htdocs/index.php(49): Joomla\CMS\Application\CMSApplication->execute() #20 {main} Whoops\Exception\ErrorException thrown with message "During inheritance of Countable: Uncaught Whoops\Exception\ErrorException: Return type of Twig\Node\Node::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /mnt/web002/e1/45/56904745/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php:213 Stack trace: #0 /mnt/web002/e1/45/56904745/htdocs/libraries/gantry5/src/classes/Gantry/Component/Whoops/SystemFacade.php(112): Whoops\Run->handleError() #1 /mnt/web002/e1/45/56904745/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php(23): Gantry\Component\Whoops\SystemFacade->handleError() #2 /mnt/web002/e1/45/56904745/htdocs/libraries/vendor/composer/ClassLoader.php(480): include('...') #3 /mnt/web002/e1/45/56904745/htdocs/libraries/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile() #4 [internal function]: Composer\Autoload\ClassLoader->loadClass() #5 /mnt/web002/e1/45/56904745/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/TwigFilter.php(128): class_exists() #6 /mnt/web002/e1/45/56904745/htdocs/libraries/vendor/composer/ClassLoader.php(480): include('...') #7 /mnt/web002/e1/45/56904745/htdocs/libraries/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile() #8 /mnt/web002/e1/45/56904745/htdocs/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(107): Composer\Autoload\ClassLoader->loadClass() #9 /mnt/web002/e1/45/56904745/htdocs/libraries/gantry5/src/classes/Gantry/Framework/Theme.php(70): Gantry\Component\Theme\AbstractTheme->extendTwig() #10 /mnt/web002/e1/45/56904745/htdocs/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(158): Gantry\Framework\Theme->extendTwig() #11 /mnt/web002/e1/45/56904745/htdocs/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(176): Gantry\Component\Theme\AbstractTheme->renderer() #12 /mnt/web002/e1/45/56904745/htdocs/templates/g5_helium/index.php(35): Gantry\Component\Theme\AbstractTheme->render() #13 /mnt/web002/e1/45/56904745/htdocs/libraries/src/Document/HtmlDocument.php(668): require('...') #14 /mnt/web002/e1/45/56904745/htdocs/libraries/src/Document/HtmlDocument.php(730): Joomla\CMS\Document\HtmlDocument->_loadTemplate() #15 /mnt/web002/e1/45/56904745/htdocs/libraries/src/Document/HtmlDocument.php(545): Joomla\CMS\Document\HtmlDocument->_fetchTemplate() #16 /mnt/web002/e1/45/56904745/htdocs/libraries/src/Application/CMSApplication.php(1126): Joomla\CMS\Document\HtmlDocument->parse() #17 /mnt/web002/e1/45/56904745/htdocs/libraries/src/Application/SiteApplication.php(778): Joomla\CMS\Application\CMSApplication->render() #18 /mnt/web002/e1/45/56904745/htdocs/libraries/src/Application/CMSApplication.php(231): Joomla\CMS\Application\SiteApplication->render() #19 /mnt/web002/e1/45/56904745/htdocs/index.php(49): Joomla\CMS\Application\CMSApplication->execute() #20 {main}" Stacktrace: #3 Whoops\Exception\ErrorException in /mnt/web002/e1/45/56904745/htdocs/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php:23 #2 Whoops\Run:handleError in /mnt/web002/e1/45/56904745/htdocs/libraries/gantry5/vendor/filp/whoops/src/Whoops/Run.php:486 #1 Whoops\Run:handleShutdown in /mnt/web002/e1/45/56904745/htdocs/libraries/gantry5/src/classes/Gantry/Component/Whoops/SystemFacade.php:160 #0 Gantry\Component\Whoops\SystemFacade:handleShutdown in [internal]:0
Stack frames (4)
3
Whoops\Exception\ErrorException
/compat/vendor/twig/twig/src/Node/Node.php23
2
Whoops\Run handleError
/vendor/filp/whoops/src/Whoops/Run.php486
1
Whoops\Run handleShutdown
/src/classes/Gantry/Component/Whoops/SystemFacade.php160
0
Gantry\Component\Whoops\SystemFacade handleShutdown
[internal]0
 * This file is part of Twig.
 *
 * (c) Fabien Potencier
 * (c) Armin Ronacher
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
 
namespace Twig\Node;
 
use Twig\Compiler;
use Twig\Source;
 
/**
 * Represents a node in the AST.
 *
 * @author Fabien Potencier <fabien@symfony.com>
 */
class Node implements \Twig_NodeInterface
{
    protected $nodes;
    protected $attributes;
    protected $lineno;
    protected $tag;
 
    private $name;
    private $sourceContext;
 
    /**
     * @param array  $nodes      An array of named nodes
     * @param array  $attributes An array of attributes (should not be nodes)
     * @param int    $lineno     The line number
     * @param string $tag        The tag name associated with the Node
     */
    public function __construct(array $nodes = [], array $attributes = [], $lineno = 0, $tag = null)
    {
        foreach ($nodes as $name => $node) {
            if (!$node instanceof \Twig_NodeInterface) {
                @trigger_error(sprintf('Using "%s" for the value of node "%s" of "%s" is deprecated since version 1.25 and will be removed in 2.0.', \is_object($node) ? \get_class($node) : (null === $node ? 'null' : \gettype($node)), $name, static::class), \E_USER_DEPRECATED);
     *
     * @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
        }
 
        // 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 TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjo0OntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjM6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTcxMDgyMDU5MTtzOjQ6Imxhc3QiO2k6MTcxMDgyMDU5MTtzOjM6Im5vdyI7aToxNzEwODIwNTkxO31zOjU6InRva2VuIjtzOjMyOiIyZU9IamY5dE02SkQ3UnZ1NFlRY0czSXIwQk90VnhEaiI7fXM6ODoicmVnaXN0cnkiO086MjQ6Ikpvb21sYVxSZWdpc3RyeVxSZWdpc3RyeSI6Mzp7czo3OiIAKgBkYXRhIjtPOjg6InN0ZENsYXNzIjozOntzOjE0OiJjb21fY2F0ZWdvcmllcyI7Tzo4OiJzdGRDbGFzcyI6MTp7czoxMDoiY2F0ZWdvcmllcyI7Tzo4OiJzdGRDbGFzcyI6MTp7czo2OiJmaWx0ZXIiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiZXh0ZW5zaW9uIjtzOjEzOiJjb21fZHJvcGZpbGVzIjt9fX1zOjQ6Imxpc3QiO086ODoic3RkQ2xhc3MiOjE6e3M6NToibGltaXQiO2k6MTAwMDAwMDAwO31zOjEzOiJjb21fZHJvcGZpbGVzIjtPOjg6InN0ZENsYXNzIjoxOntzOjEwOiJjYXRlZ29yaWVzIjtPOjg6InN0ZENsYXNzIjoxOntzOjg6Im9yZGVyY29sIjtOO319fXM6MTQ6IgAqAGluaXRpYWxpemVkIjtiOjA7czo5OiJzZXBhcmF0b3IiO3M6MToiLiI7fXM6NDoidXNlciI7TzoyMDoiSm9vbWxhXENNU1xVc2VyXFVzZXIiOjE6e3M6MjoiaWQiO2k6MDt9czoxNDoiZHJvcGZpbGVzVG9rZW4iO3M6MzI6ImMwNjM4NzJlYjI0NDE5OWJjZWQ4ODgyN2IyOGUyNzIyIjt9fXM6MTQ6IgAqAGluaXRpYWxpemVkIjtiOjA7czo5OiJzZXBhcmF0b3IiO3M6MToiLiI7fQ==
Key Value
UNIQUE_ID ZfkM77_-6Knj4umu9NsDaAAACDU
RZ_n 56904745
RZ_a :Rhttp-301:Cpower:quota=51200MB:php=81:fcgi=1:defpage:crt=15479713:tpl=strato-standard-emig:
RZ_path web002/e1/45/56904745
SCRIPT_URL /index.php/download
SCRIPT_URI https://chance-for-science.eu/index.php/download
HTTPS on
DOCUMENT_ROOT /home/strato/http/power/rid/47/45/56904745/htdocs
RZ_php 81
PHPRC /home/strato/http/power/rid/47/45/56904745/htdocs
HTTP_HOST chance-for-science.eu
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_CONNECTION close
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
SERVER_SOFTWARE Apache/2.4.58 (Unix)
SERVER_NAME chance-for-science.eu
SERVER_PORT 443
REMOTE_ADDR 54.81.185.66
SERVER_ADMIN service@webmailer.de
SCRIPT_FILENAME /home/strato/http/power/rid/47/45/56904745/htdocs/index.php
REMOTE_PORT 3688
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /index.php/download
SCRIPT_NAME /index.php
PATH_INFO /download
PATH_TRANSLATED /home/strato/http/power/rid/47/45/56904745/htdocs/download
PHP_SELF /index.php/download
REQUEST_TIME_FLOAT 1710820591.8612
REQUEST_TIME 1710820591
argv Array ( )
argc 0
Key Value
UNIQUE_ID ZfkM77_-6Knj4umu9NsDaAAACDU
RZ_n 56904745
RZ_a :Rhttp-301:Cpower:quota=51200MB:php=81:fcgi=1:defpage:crt=15479713:tpl=strato-standard-emig:
RZ_path web002/e1/45/56904745
SCRIPT_URL /index.php/download
SCRIPT_URI https://chance-for-science.eu/index.php/download
HTTPS on
DOCUMENT_ROOT /home/strato/http/power/rid/47/45/56904745/htdocs
RZ_php 81
PHPRC /home/strato/http/power/rid/47/45/56904745/htdocs
HTTP_HOST chance-for-science.eu
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_CONNECTION close
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
SERVER_SOFTWARE Apache/2.4.58 (Unix)
SERVER_NAME chance-for-science.eu
SERVER_PORT 443
REMOTE_ADDR 54.81.185.66
SERVER_ADMIN service@webmailer.de
SCRIPT_FILENAME /home/strato/http/power/rid/47/45/56904745/htdocs/index.php
REMOTE_PORT 3688
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /index.php/download
SCRIPT_NAME /index.php
PATH_INFO /download
PATH_TRANSLATED /home/strato/http/power/rid/47/45/56904745/htdocs/download
0. Whoops\Handler\PrettyPageHandler