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 /home/softecco/public_html/update/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php:213 Stack trace: #0 /home/softecco/public_html/update/libraries/gantry5/src/classes/Gantry/Component/Whoops/SystemFacade.php(112): Whoops\Run->handleError(8192, 'Return type of ...', '/home/softecco/...', 213) #1 /home/softecco/public_html/update/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php(23): Gantry\Component\Whoops\SystemFacade->handleError(8192, 'Return type of ...', '/home/softecco/...', 213) #2 /home/softecco/public_html/update/libraries/vendor/composer/ClassLoader.php(571): include('/home/softecco/...') #3 /home/softecco/public_html/update/libraries/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/softecco/...') #4 [internal function]: Composer\Autoload\ClassLoader->loadClass('Twig\\Node\\Node') #5 /home/softecco/public_html/update/libraries/gantry5/compat/vendor/twig/twig/src/TwigFilter.php(128): class_exists('Twig\\Node\\Node') #6 /home/softecco/public_html/update/libraries/vendor/composer/ClassLoader.php(571): include('/home/softecco/...') #7 /home/softecco/public_html/update/libraries/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/softecco/...') #8 /home/softecco/public_html/update/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(107): Composer\Autoload\ClassLoader->loadClass('Twig\\TwigFilter') #9 /home/softecco/public_html/update/libraries/gantry5/src/classes/Gantry/Framework/Theme.php(70): Gantry\Component\Theme\AbstractTheme->extendTwig(Object(Twig\Environment), Object(Twig\Loader\FilesystemLoader)) #10 /home/softecco/public_html/update/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(158): Gantry\Framework\Theme->extendTwig(Object(Twig\Environment), Object(Twig\Loader\FilesystemLoader)) #11 /home/softecco/public_html/update/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(176): Gantry\Component\Theme\AbstractTheme->renderer() #12 /home/softecco/public_html/update/templates/rt_elixir/error.php(32): Gantry\Component\Theme\AbstractTheme->render('error.html.twig', Array) #13 /home/softecco/public_html/update/libraries/src/Document/ErrorDocument.php(204): require_once('/home/softecco/...') #14 /home/softecco/public_html/update/libraries/src/Document/ErrorDocument.php(175): Joomla\CMS\Document\ErrorDocument->_loadTemplate('/home/softecco/...', 'error.php') #15 /home/softecco/public_html/update/libraries/src/Exception/ExceptionHandler.php(113): Joomla\CMS\Document\ErrorDocument->render(false, Array) #16 /home/softecco/public_html/update/libraries/src/Exception/ExceptionHandler.php(41): Joomla\CMS\Exception\ExceptionHandler::render(Object(Joomla\CMS\Component\Exception\MissingComponentException)) #17 [internal function]: Joomla\CMS\Exception\ExceptionHandler::handleException(Object(Joomla\CMS\Component\Exception\MissingComponentException)) #18 /home/softecco/public_html/update/libraries/gantry5/src/classes/Gantry/Component/Whoops/SystemFacade.php(145): call_user_func_array(Array, Array) #19 [internal function]: Gantry\Component\Whoops\SystemFacade->handleException(Object(Joomla\CMS\Component\Exception\MissingComponentException)) #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 /home/softecco/public_html/update/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php:213 Stack trace: #0 /home/softecco/public_html/update/libraries/gantry5/src/classes/Gantry/Component/Whoops/SystemFacade.php(112): Whoops\Run->handleError(8192, 'Return type of ...', '/home/softecco/...', 213) #1 /home/softecco/public_html/update/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php(23): Gantry\Component\Whoops\SystemFacade->handleError(8192, 'Return type of ...', '/home/softecco/...', 213) #2 /home/softecco/public_html/update/libraries/vendor/composer/ClassLoader.php(571): include('/home/softecco/...') #3 /home/softecco/public_html/update/libraries/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/softecco/...') #4 [internal function]: Composer\Autoload\ClassLoader->loadClass('Twig\\Node\\Node') #5 /home/softecco/public_html/update/libraries/gantry5/compat/vendor/twig/twig/src/TwigFilter.php(128): class_exists('Twig\\Node\\Node') #6 /home/softecco/public_html/update/libraries/vendor/composer/ClassLoader.php(571): include('/home/softecco/...') #7 /home/softecco/public_html/update/libraries/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/softecco/...') #8 /home/softecco/public_html/update/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(107): Composer\Autoload\ClassLoader->loadClass('Twig\\TwigFilter') #9 /home/softecco/public_html/update/libraries/gantry5/src/classes/Gantry/Framework/Theme.php(70): Gantry\Component\Theme\AbstractTheme->extendTwig(Object(Twig\Environment), Object(Twig\Loader\FilesystemLoader)) #10 /home/softecco/public_html/update/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(158): Gantry\Framework\Theme->extendTwig(Object(Twig\Environment), Object(Twig\Loader\FilesystemLoader)) #11 /home/softecco/public_html/update/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(176): Gantry\Component\Theme\AbstractTheme->renderer() #12 /home/softecco/public_html/update/templates/rt_elixir/error.php(32): Gantry\Component\Theme\AbstractTheme->render('error.html.twig', Array) #13 /home/softecco/public_html/update/libraries/src/Document/ErrorDocument.php(204): require_once('/home/softecco/...') #14 /home/softecco/public_html/update/libraries/src/Document/ErrorDocument.php(175): Joomla\CMS\Document\ErrorDocument->_loadTemplate('/home/softecco/...', 'error.php') #15 /home/softecco/public_html/update/libraries/src/Exception/ExceptionHandler.php(113): Joomla\CMS\Document\ErrorDocument->render(false, Array) #16 /home/softecco/public_html/update/libraries/src/Exception/ExceptionHandler.php(41): Joomla\CMS\Exception\ExceptionHandler::render(Object(Joomla\CMS\Component\Exception\MissingComponentException)) #17 [internal function]: Joomla\CMS\Exception\ExceptionHandler::handleException(Object(Joomla\CMS\Component\Exception\MissingComponentException)) #18 /home/softecco/public_html/update/libraries/gantry5/src/classes/Gantry/Component/Whoops/SystemFacade.php(145): call_user_func_array(Array, Array) #19 [internal function]: Gantry\Component\Whoops\SystemFacade->handleException(Object(Joomla\CMS\Component\Exception\MissingComponentException)) #20 {main}" Stacktrace: #3 Whoops\Exception\ErrorException in /home/softecco/public_html/update/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php:23 #2 Whoops\Run:handleError in /home/softecco/public_html/update/libraries/gantry5/vendor/filp/whoops/src/Whoops/Run.php:486 #1 Whoops\Run:handleShutdown in /home/softecco/public_html/update/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 TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjozOntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjI6e3M6NzoiY291bnRlciI7aToxO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTcxMDgyMTEwMTtzOjQ6Imxhc3QiO2k6MTcxMDgyMTEwMTtzOjM6Im5vdyI7aToxNzEwODIxMTAxO319czo4OiJyZWdpc3RyeSI7TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjA6e31zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO31zOjQ6InVzZXIiO086MjA6Ikpvb21sYVxDTVNcVXNlclxVc2VyIjoxOntzOjI6ImlkIjtpOjA7fX19czoxNDoiACoAaW5pdGlhbGl6ZWQiO2I6MDtzOjk6InNlcGFyYXRvciI7czoxOiIuIjt9
Key Value
USER softecco
HOME /home/softecco
PATH_TRANSLATED /home/softecco/public_html/update/nacionales/septiembre/2896-riesgo-pais-de-mexico-de-los-mas-estables
PATH_INFO /nacionales/septiembre/2896-riesgo-pais-de-mexico-de-los-mas-estables
SCRIPT_NAME /index.php
REQUEST_URI /index.php/nacionales/septiembre/2896-riesgo-pais-de-mexico-de-los-mas-estables
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 59242
SCRIPT_FILENAME /home/softecco/public_html/update/index.php
SERVER_ADMIN webmaster@update.softec.com.mx
CONTEXT_DOCUMENT_ROOT /home/softecco/public_html/update
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /home/softecco/public_html/update
REMOTE_ADDR 34.204.181.19
SERVER_PORT 443
SERVER_ADDR 162.214.96.64
SERVER_NAME update.softec.com.mx
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
PATH /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
HTTP_HOST update.softec.com.mx
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
proxy-nokeepalive 1
SSL_TLS_SNI update.softec.com.mx
HTTPS on
UNIQUE_ID ZfkO7afc-OhZcGrQPM2uKgAAAEk
FCGI_ROLE RESPONDER
PHP_SELF /index.php/nacionales/septiembre/2896-riesgo-pais-de-mexico-de-los-mas-estables
REQUEST_TIME_FLOAT 1710821101.3665
REQUEST_TIME 1710821101
argv Array ( )
argc 0
empty
0. Whoops\Handler\PrettyPageHandler