Symfony \ Component \ ErrorHandler \ Error \ FatalError
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/madmin247365/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php:213 Stack trace: #0 /home/madmin247365/public_html/libraries/gantry5/src/classes/Gantry/Component/Whoops/SystemFacade.php(112): Whoops\Run->handleError(8192, 'Return type of ...', '/home/madmin247...', 213) #1 /home/madmin247365/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php(23): Gantry\Component\Whoops\SystemFacade->handleError(8192, 'Return type of ...', '/home/madmin247...', 213) #2 /home/madmin247365/public_html/libraries/vendor/composer/ClassLoader.php(571): include('/home/madmin247...') #3 /home/madmin247365/public_html/libraries/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/madmin247...') #4 [internal function]: Composer\Autoload\ClassLoader->loadClass('Twig\\Node\\Node') #5 /home/madmin247365/public_html/libraries/gantry5/compat/vendor/twig/twig/src/TwigFilter.php(128): class_exists('Twig\\Node\\Node') #6 /home/madmin247365/public_html/libraries/vendor/composer/ClassLoader.php(571): include('/home/madmin247...') #7 /home/madmin247365/public_html/libraries/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/madmin247...') #8 /home/madmin247365/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(107): Composer\Autoload\ClassLoader->loadClass('Twig\\TwigFilter') #9 /home/madmin247365/public_html/libraries/gantry5/src/classes/Gantry/Framework/Theme.php(70): Gantry\Component\Theme\AbstractTheme->extendTwig(Object(Twig\Environment), Object(Twig\Loader\FilesystemLoader)) #10 /home/madmin247365/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(158): Gantry\Framework\Theme->extendTwig(Object(Twig\Environment), Object(Twig\Loader\FilesystemLoader)) #11 /home/madmin247365/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(176): Gantry\Component\Theme\AbstractTheme->renderer() #12 /home/madmin247365/public_html/templates/rt_gemini/index.php(30): Gantry\Component\Theme\AbstractTheme->render('index.html.twig', Array) #13 /home/madmin247365/public_html/libraries/src/Document/HtmlDocument.php(736): require('/home/madmin247...') #14 /home/madmin247365/public_html/libraries/src/Document/HtmlDocument.php(791): Joomla\CMS\Document\HtmlDocument->_loadTemplate('/home/madmin247...', 'index.php') #15 /home/madmin247365/public_html/libraries/src/Document/HtmlDocument.php(608): Joomla\CMS\Document\HtmlDocument->_fetchTemplate(Array) #16 /home/madmin247365/public_html/libraries/src/Application/CMSApplication.php(1004): Joomla\CMS\Document\HtmlDocument->parse(Array) #17 /home/madmin247365/public_html/libraries/src/Application/SiteApplication.php(714): Joomla\CMS\Application\CMSApplication->render() #18 /home/madmin247365/public_html/libraries/src/Application/CMSApplication.php(299): Joomla\CMS\Application\SiteApplication->render() #19 /home/madmin247365/public_html/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute() #20 /home/madmin247365/public_html/index.php(32): require_once('/home/madmin247...') #21 {main} Symfony\Component\ErrorHandler\Error\FatalError thrown with message "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/madmin247365/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php:213 Stack trace: #0 /home/madmin247365/public_html/libraries/gantry5/src/classes/Gantry/Component/Whoops/SystemFacade.php(112): Whoops\Run->handleError(8192, 'Return type of ...', '/home/madmin247...', 213) #1 /home/madmin247365/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php(23): Gantry\Component\Whoops\SystemFacade->handleError(8192, 'Return type of ...', '/home/madmin247...', 213) #2 /home/madmin247365/public_html/libraries/vendor/composer/ClassLoader.php(571): include('/home/madmin247...') #3 /home/madmin247365/public_html/libraries/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/madmin247...') #4 [internal function]: Composer\Autoload\ClassLoader->loadClass('Twig\\Node\\Node') #5 /home/madmin247365/public_html/libraries/gantry5/compat/vendor/twig/twig/src/TwigFilter.php(128): class_exists('Twig\\Node\\Node') #6 /home/madmin247365/public_html/libraries/vendor/composer/ClassLoader.php(571): include('/home/madmin247...') #7 /home/madmin247365/public_html/libraries/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/madmin247...') #8 /home/madmin247365/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(107): Composer\Autoload\ClassLoader->loadClass('Twig\\TwigFilter') #9 /home/madmin247365/public_html/libraries/gantry5/src/classes/Gantry/Framework/Theme.php(70): Gantry\Component\Theme\AbstractTheme->extendTwig(Object(Twig\Environment), Object(Twig\Loader\FilesystemLoader)) #10 /home/madmin247365/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(158): Gantry\Framework\Theme->extendTwig(Object(Twig\Environment), Object(Twig\Loader\FilesystemLoader)) #11 /home/madmin247365/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(176): Gantry\Component\Theme\AbstractTheme->renderer() #12 /home/madmin247365/public_html/templates/rt_gemini/index.php(30): Gantry\Component\Theme\AbstractTheme->render('index.html.twig', Array) #13 /home/madmin247365/public_html/libraries/src/Document/HtmlDocument.php(736): require('/home/madmin247...') #14 /home/madmin247365/public_html/libraries/src/Document/HtmlDocument.php(791): Joomla\CMS\Document\HtmlDocument->_loadTemplate('/home/madmin247...', 'index.php') #15 /home/madmin247365/public_html/libraries/src/Document/HtmlDocument.php(608): Joomla\CMS\Document\HtmlDocument->_fetchTemplate(Array) #16 /home/madmin247365/public_html/libraries/src/Application/CMSApplication.php(1004): Joomla\CMS\Document\HtmlDocument->parse(Array) #17 /home/madmin247365/public_html/libraries/src/Application/SiteApplication.php(714): Joomla\CMS\Application\CMSApplication->render() #18 /home/madmin247365/public_html/libraries/src/Application/CMSApplication.php(299): Joomla\CMS\Application\SiteApplication->render() #19 /home/madmin247365/public_html/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute() #20 /home/madmin247365/public_html/index.php(32): require_once('/home/madmin247...') #21 {main}" Stacktrace: #0 Symfony\Component\ErrorHandler\Error\FatalError in /home/madmin247365/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php:23
Stack frames (1)
0
Symfony\Component\ErrorHandler\Error\FatalError
/compat/vendor/twig/twig/src/Node/Node.php23
 * 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);
Arguments
  1. """
    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/madmin247365/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php:213\n
    Stack trace:\n
    #0 /home/madmin247365/public_html/libraries/gantry5/src/classes/Gantry/Component/Whoops/SystemFacade.php(112): Whoops\Run->handleError(8192, 'Return type of ...', '/home/madmin247...', 213)\n
    #1 /home/madmin247365/public_html/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php(23): Gantry\Component\Whoops\SystemFacade->handleError(8192, 'Return type of ...', '/home/madmin247...', 213)\n
    #2 /home/madmin247365/public_html/libraries/vendor/composer/ClassLoader.php(571): include('/home/madmin247...')\n
    #3 /home/madmin247365/public_html/libraries/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/madmin247...')\n
    #4 [internal function]: Composer\Autoload\ClassLoader->loadClass('Twig\\Node\\Node')\n
    #5 /home/madmin247365/public_html/libraries/gantry5/compat/vendor/twig/twig/src/TwigFilter.php(128): class_exists('Twig\\Node\\Node')\n
    #6 /home/madmin247365/public_html/libraries/vendor/composer/ClassLoader.php(571): include('/home/madmin247...')\n
    #7 /home/madmin247365/public_html/libraries/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/home/madmin247...')\n
    #8 /home/madmin247365/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(107): Composer\Autoload\ClassLoader->loadClass('Twig\\TwigFilter')\n
    #9 /home/madmin247365/public_html/libraries/gantry5/src/classes/Gantry/Framework/Theme.php(70): Gantry\Component\Theme\AbstractTheme->extendTwig(Object(Twig\Environment), Object(Twig\Loader\FilesystemLoader))\n
    #10 /home/madmin247365/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(158): Gantry\Framework\Theme->extendTwig(Object(Twig\Environment), Object(Twig\Loader\FilesystemLoader))\n
    #11 /home/madmin247365/public_html/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(176): Gantry\Component\Theme\AbstractTheme->renderer()\n
    #12 /home/madmin247365/public_html/templates/rt_gemini/index.php(30): Gantry\Component\Theme\AbstractTheme->render('index.html.twig', Array)\n
    #13 /home/madmin247365/public_html/libraries/src/Document/HtmlDocument.php(736): require('/home/madmin247...')\n
    #14 /home/madmin247365/public_html/libraries/src/Document/HtmlDocument.php(791): Joomla\CMS\Document\HtmlDocument->_loadTemplate('/home/madmin247...', 'index.php')\n
    #15 /home/madmin247365/public_html/libraries/src/Document/HtmlDocument.php(608): Joomla\CMS\Document\HtmlDocument->_fetchTemplate(Array)\n
    #16 /home/madmin247365/public_html/libraries/src/Application/CMSApplication.php(1004): Joomla\CMS\Document\HtmlDocument->parse(Array)\n
    #17 /home/madmin247365/public_html/libraries/src/Application/SiteApplication.php(714): Joomla\CMS\Application\CMSApplication->render()\n
    #18 /home/madmin247365/public_html/libraries/src/Application/CMSApplication.php(299): Joomla\CMS\Application\SiteApplication->render()\n
    #19 /home/madmin247365/public_html/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute()\n
    #20 /home/madmin247365/public_html/index.php(32): require_once('/home/madmin247...')\n
    #21 {main}
    """
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
CONTEXT_DOCUMENT_ROOT
"/home/madmin247365/public_html"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/madmin247365/public_html"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_HOST
"motionandmagnitude.com"
HTTP_USER_AGENT
"claudebot"
HTTP_X_HTTPS
"1"
PATH
"/bin:/usr/bin"
PHP_INI_SCAN_DIR
"/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:."
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"18.208.203.36"
REMOTE_PORT
"60464"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_URI
"/"
SCRIPT_FILENAME
"/home/madmin247365/public_html/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://motionandmagnitude.com/"
SCRIPT_URL
"/"
SERVER_ADDR
"64.202.190.115"
SERVER_ADMIN
"webmaster@motionandmagnitude.com"
SERVER_NAME
"motionandmagnitude.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"motionandmagnitude.com"
TZ
"America/Phoenix"
UNIQUE_ID
"ZflXc97s5Ipkbf_BTgov9AAAAM4"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1710839667.696
REQUEST_TIME
1710839667
argv
[]
argc
0
empty
0. Whoops\Handler\PrettyPageHandler