Error ClassNotFoundError

HTTP 500 Whoops, looks like something went wrong.

Attempted to load class "Framework" from namespace "Astroid".
Did you forget a "use" statement for another namespace?

Exceptions 2

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

  1.  * @license https://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
  2.  */
  3. defined('_JEXEC') or die;
  4. if (!defined('_ASTROID')) {
  5.     try {
  6.         Astroid\Framework::init();
  7.     } catch (\Exception $e) {
  8.         die('Please install and activate <a href="https://www.astroidframework.com/" target="_blank">Astroid Framework</a> in order to use this template.');
  9.     }
  10. }
  1.             // Store the file path
  2.             $this->_file $directory '/' $filename;
  3.             // Get the file content
  4.             ob_start();
  5.             require $directory '/' $filename;
  6.             $contents ob_get_contents();
  7.             ob_end_clean();
  8.         }
  9.         return $contents;
HtmlDocument->_loadTemplate('/home1/cnelson/public_html/templates/tz_jollyany', 'error.php') in /home1/cnelson/public_html/libraries/src/Document/HtmlDocument.php (line 838)
  1.         $this->baseurl Uri::base(true);
  2.         $this->params $params['params'] ?? new Registry;
  3.         $this->template $template;
  4.         // Load
  5.         $this->_template $this->_loadTemplate($baseDir$file);
  6.         return $this;
  7.     }
  8.     /**
HtmlDocument->_fetchTemplate(array('template' => 'tz_jollyany', 'directory' => '/home1/cnelson/public_html/templates', 'debug' => '1', 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /home1/cnelson/public_html/libraries/src/Document/HtmlDocument.php (line 641)
  1.      *
  2.      * @since   1.7.0
  3.      */
  4.     public function parse($params = array())
  5.     {
  6.         return $this->_fetchTemplate($params)->_parseTemplate();
  7.     }
  8.     /**
  9.      * Outputs the template to the browser.
  10.      *
HtmlDocument->parse(array('template' => 'tz_jollyany', 'directory' => '/home1/cnelson/public_html/templates', 'debug' => '1', 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /home1/cnelson/public_html/libraries/src/Document/HtmlDocument.php (line 660)
  1.     {
  2.         $this->_caching $caching;
  3.         if (empty($this->_template))
  4.         {
  5.             $this->parse($params);
  6.         }
  7.         if (\array_key_exists('csp_nonce'$params) && $params['csp_nonce'] !== null)
  8.         {
  9.             $this->cspNonce $params['csp_nonce'];
HtmlDocument->render(false, array('template' => 'tz_jollyany', 'directory' => '/home1/cnelson/public_html/templates', 'debug' => '1', 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /home1/cnelson/public_html/libraries/src/Document/ErrorDocument.php (line 140)
  1.         $this->debug $params['debug'] ?? false;
  2.         $this->error $this->_error;
  3.         $params['file'] = 'error.php';
  4.         return parent::render($cache$params);
  5.     }
  6.     /**
  7.      * Render the backtrace
  8.      *
ErrorDocument->render(false, array('template' => 'tz_jollyany', 'directory' => '/home1/cnelson/public_html/templates', 'debug' => '1', 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /home1/cnelson/public_html/libraries/src/Error/Renderer/HtmlRenderer.php (line 77)
  1.                 'template'         => $template->template,
  2.                 'directory'        => JPATH_THEMES,
  3.                 'debug'            => JDEBUG,
  4.                 'csp_nonce'        => $app->get('csp_nonce'),
  5.                 'templateInherits' => $template->parent,
  6.                 'params'           => $template->params,
  7.             ]
  8.         );
  9.     }
  10. }
HtmlRenderer->render(object(Error)) in /home1/cnelson/public_html/libraries/src/Exception/ExceptionHandler.php (line 131)
  1.             // Reset the document object in the factory, this gives us a clean slate and lets everything render properly
  2.             Factory::$document $renderer->getDocument();
  3.             Factory::getApplication()->loadDocument(Factory::$document);
  4.             $data $renderer->render($error);
  5.             // If nothing was rendered, just use the message from the Exception
  6.             if (empty($data))
  7.             {
  8.                 $data $error->getMessage();
ExceptionHandler::render(object(Error)) in /home1/cnelson/public_html/libraries/src/Exception/ExceptionHandler.php (line 74)
  1.      * @since   3.10.0
  2.      */
  3.     public static function handleException(\Throwable $error)
  4.     {
  5.         static::logException($error);
  6.         static::render($error);
  7.     }
  8.     /**
  9.      * Render the error page based on an exception.
  10.      *
ExceptionHandler::handleException(object(Error)) in /home1/cnelson/public_html/libraries/src/Application/CMSApplication.php (line 311)
  1.             );
  2.             // Trigger the onError event.
  3.             $this->triggerEvent('onError'$event);
  4.             ExceptionHandler::handleException($event->getError());
  5.         }
  6.         // Trigger the onBeforeRespond event.
  7.         $this->getDispatcher()->dispatch('onBeforeRespond');
CMSApplication->execute() in /home1/cnelson/public_html/includes/app.php (line 63)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home1/cnelson/public_html/includes/app.php') in /home1/cnelson/public_html/index.php (line 32)
  1.  * define() is used rather than "const" to not error for PHP 5.2 and lower
  2.  */
  3. define('_JEXEC'1);
  4. // Run the application - All executable code should be triggered through this file
  5. require_once dirname(__FILE__) . '/includes/app.php';

Error

Class 'Joomla\Plugin\Behaviour\Taggable\Extension\Taggable' not found

  1.     {
  2.         $container->set(
  3.             PluginInterface::class,
  4.             function (Container $container) {
  5.                 $dispatcher $container->get(DispatcherInterface::class);
  6.                 $plugin     = new Taggable(
  7.                     $dispatcher,
  8.                     (array) PluginHelper::getPlugin('behaviour''taggable')
  9.                 );
  10.                 return $plugin;
  1.             }
  2.             return $this->instance;
  3.         }
  4.         return $callable($this->container);
  5.     }
  6.     /**
  7.      * Get the factory
  8.      *
  1.             }
  2.             throw new KeyNotFoundException(sprintf("Resource '%s' has not been registered with the container."$resourceName));
  3.         }
  4.         return $this->resources[$key]->getInstance();
  5.     }
  6.     /**
  7.      * Check if specified resource exists.
  8.      *
Container->get('Joomla\\CMS\\Extension\\PluginInterface') in /home1/cnelson/public_html/libraries/src/Extension/ExtensionManagerTrait.php (line 177)
  1.                     'container'     => $container
  2.                 ]
  3.             )
  4.         );
  5.         $extension $container->get($type);
  6.         if ($extension instanceof BootableExtensionInterface)
  7.         {
  8.             $extension->boot($container);
  9.         }
CMSApplication->loadExtension('Joomla\\CMS\\Extension\\PluginInterface', 'taggable:behaviour', '/home1/cnelson/public_html/plugins/behaviour/taggable') in /home1/cnelson/public_html/libraries/src/Extension/ExtensionManagerTrait.php (line 94)
  1.         $plugin strtolower(str_replace('plg_'''$plugin));
  2.         // Path to to look for services
  3.         $path JPATH_SITE '/plugins/' $type '/' $plugin;
  4.         return $this->loadExtension(PluginInterface::class, $plugin ':' $type$path);
  5.     }
  6.     /**
  7.      * Loads the extension.
  8.      *
CMSApplication->bootPlugin('taggable', 'behaviour') in /home1/cnelson/public_html/libraries/src/Plugin/PluginHelper.php (line 236)
  1.             return;
  2.         }
  3.         $plugins[$hash] = true;
  4.         $plugin Factory::getApplication()->bootPlugin($plugin->name$plugin->type);
  5.         if ($dispatcher && $plugin instanceof DispatcherAwareInterface)
  6.         {
  7.             $plugin->setDispatcher($dispatcher);
  8.         }
PluginHelper::import(object(stdClass), true, object(Dispatcher)) in /home1/cnelson/public_html/libraries/src/Plugin/PluginHelper.php (line 194)
  1.             // Get the specified plugin(s).
  2.             for ($i 0$t = \count($plugins); $i $t$i++)
  3.             {
  4.                 if ($plugins[$i]->type === $type && ($plugin === null || $plugins[$i]->name === $plugin))
  5.                 {
  6.                     static::import($plugins[$i], $autocreate$dispatcher);
  7.                     $results true;
  8.                 }
  9.             }
  10.             // Bail out early if we're not using default args
PluginHelper::importPlugin('behaviour') in /home1/cnelson/public_html/libraries/src/Application/CMSApplication.php (line 739)
  1.         }
  2.         $this->set('editor'$editor);
  3.         // Load the behaviour plugins
  4.         PluginHelper::importPlugin('behaviour');
  5.         // Trigger the onAfterInitialise event.
  6.         PluginHelper::importPlugin('system');
  7.         $this->triggerEvent('onAfterInitialise');
  8.     }
CMSApplication->initialiseApp(array('language' => 'en-GB')) in /home1/cnelson/public_html/libraries/src/Application/SiteApplication.php (line 707)
  1.                 $options['language'] = 'en-GB';
  2.             }
  3.         }
  4.         // Finish initialisation
  5.         parent::initialiseApp($options);
  6.     }
  7.     /**
  8.      * Load the library language files for the application
  9.      *
  1.      * @since   3.2
  2.      */
  3.     protected function doExecute()
  4.     {
  5.         // Initialise the application
  6.         $this->initialiseApp();
  7.         // Mark afterInitialise in the profiler.
  8.         JDEBUG $this->profiler->mark('afterInitialise') : null;
  9.         // Route the application
  1.             $this->sanityCheckSystemVariables();
  2.             $this->setupLogging();
  3.             $this->createExtensionNamespaceMap();
  4.             // Perform application routines.
  5.             $this->doExecute();
  6.             // If we have an application document object, render it.
  7.             if ($this->document instanceof \Joomla\CMS\Document\Document)
  8.             {
  9.                 // Render the application output.
CMSApplication->execute() in /home1/cnelson/public_html/includes/app.php (line 63)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home1/cnelson/public_html/includes/app.php') in /home1/cnelson/public_html/index.php (line 32)
  1.  * define() is used rather than "const" to not error for PHP 5.2 and lower
  2.  */
  3. define('_JEXEC'1);
  4. // Run the application - All executable code should be triggered through this file
  5. require_once dirname(__FILE__) . '/includes/app.php';

Stack Traces 2

[2/2] ClassNotFoundError
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load class "Framework" from namespace "Astroid".
Did you forget a "use" statement for another namespace?

  at /home1/cnelson/public_html/templates/tz_jollyany/error.php:12
  at require()
     (/home1/cnelson/public_html/libraries/src/Document/HtmlDocument.php:779)
  at Joomla\CMS\Document\HtmlDocument->_loadTemplate('/home1/cnelson/public_html/templates/tz_jollyany', 'error.php')
     (/home1/cnelson/public_html/libraries/src/Document/HtmlDocument.php:838)
  at Joomla\CMS\Document\HtmlDocument->_fetchTemplate(array('template' => 'tz_jollyany', 'directory' => '/home1/cnelson/public_html/templates', 'debug' => '1', 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/home1/cnelson/public_html/libraries/src/Document/HtmlDocument.php:641)
  at Joomla\CMS\Document\HtmlDocument->parse(array('template' => 'tz_jollyany', 'directory' => '/home1/cnelson/public_html/templates', 'debug' => '1', 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/home1/cnelson/public_html/libraries/src/Document/HtmlDocument.php:660)
  at Joomla\CMS\Document\HtmlDocument->render(false, array('template' => 'tz_jollyany', 'directory' => '/home1/cnelson/public_html/templates', 'debug' => '1', 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/home1/cnelson/public_html/libraries/src/Document/ErrorDocument.php:140)
  at Joomla\CMS\Document\ErrorDocument->render(false, array('template' => 'tz_jollyany', 'directory' => '/home1/cnelson/public_html/templates', 'debug' => '1', 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/home1/cnelson/public_html/libraries/src/Error/Renderer/HtmlRenderer.php:77)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render(object(Error))
     (/home1/cnelson/public_html/libraries/src/Exception/ExceptionHandler.php:131)
  at Joomla\CMS\Exception\ExceptionHandler::render(object(Error))
     (/home1/cnelson/public_html/libraries/src/Exception/ExceptionHandler.php:74)
  at Joomla\CMS\Exception\ExceptionHandler::handleException(object(Error))
     (/home1/cnelson/public_html/libraries/src/Application/CMSApplication.php:311)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home1/cnelson/public_html/includes/app.php:63)
  at require_once('/home1/cnelson/public_html/includes/app.php')
     (/home1/cnelson/public_html/index.php:32)                
[1/2] Error
Error:
Class 'Joomla\Plugin\Behaviour\Taggable\Extension\Taggable' not found

  at /home1/cnelson/public_html/plugins/behaviour/taggable/services/provider.php:36
  at class@anonymous/home1/cnelson/public_html/plugins/behaviour/taggable/services/provider.php:20$1d4->{closure}(object(Container))
     (/home1/cnelson/public_html/libraries/vendor/joomla/di/src/ContainerResource.php:182)
  at Joomla\DI\ContainerResource->getInstance()
     (/home1/cnelson/public_html/libraries/vendor/joomla/di/src/Container.php:96)
  at Joomla\DI\Container->get('Joomla\\CMS\\Extension\\PluginInterface')
     (/home1/cnelson/public_html/libraries/src/Extension/ExtensionManagerTrait.php:177)
  at Joomla\CMS\Application\CMSApplication->loadExtension('Joomla\\CMS\\Extension\\PluginInterface', 'taggable:behaviour', '/home1/cnelson/public_html/plugins/behaviour/taggable')
     (/home1/cnelson/public_html/libraries/src/Extension/ExtensionManagerTrait.php:94)
  at Joomla\CMS\Application\CMSApplication->bootPlugin('taggable', 'behaviour')
     (/home1/cnelson/public_html/libraries/src/Plugin/PluginHelper.php:236)
  at Joomla\CMS\Plugin\PluginHelper::import(object(stdClass), true, object(Dispatcher))
     (/home1/cnelson/public_html/libraries/src/Plugin/PluginHelper.php:194)
  at Joomla\CMS\Plugin\PluginHelper::importPlugin('behaviour')
     (/home1/cnelson/public_html/libraries/src/Application/CMSApplication.php:739)
  at Joomla\CMS\Application\CMSApplication->initialiseApp(array('language' => 'en-GB'))
     (/home1/cnelson/public_html/libraries/src/Application/SiteApplication.php:707)
  at Joomla\CMS\Application\SiteApplication->initialiseApp()
     (/home1/cnelson/public_html/libraries/src/Application/SiteApplication.php:222)
  at Joomla\CMS\Application\SiteApplication->doExecute()
     (/home1/cnelson/public_html/libraries/src/Application/CMSApplication.php:278)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home1/cnelson/public_html/includes/app.php:63)
  at require_once('/home1/cnelson/public_html/includes/app.php')
     (/home1/cnelson/public_html/index.php:32)