Warning: Class "CodeAlfa\Component\JchOptimize\Administrator\Container\ContainerFactory" not found in /home/sellga6/public_html/administrator/components/com_jchoptimize/autoload.php on line 31
Attempted to load class "XTPaginationHelper" from namespace "Extly\Pagination". Did you forget a "use" statement for another namespace? (500 Whoops, looks like something went wrong.)

Error ClassNotFoundError

HTTP 500 Whoops, looks like something went wrong.

Attempted to load class "XTPaginationHelper" from namespace "Extly\Pagination".
Did you forget a "use" statement for another namespace?

Exceptions 2

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

  1.         if ($this->passed || $this->app instanceof AdministratorApplication || !$this->isPagination()) {
  2.             return;
  3.         }
  4.         $this->passed true;
  5.         $xtPaginationHelper = new XTPaginationHelper();
  6.         if ($this->params->get('enhance_description_with_page'1)) {
  7.             $xtPaginationHelper->enhanceDescriptionWithPage();
  8.         }
PlgSystemXTPerfectSEOPagination->onBeforeCompileHead(object(SiteApplication), object(ErrorDocument)) in /home/sellga6/public_html/libraries/src/Plugin/CMSPlugin.php (line 311)
  1.                 }
  2.                 // Convert to indexed array for unpacking.
  3.                 $arguments array_values($arguments);
  4.                 $result $this->{$methodName}(...$arguments);
  5.                 // Ignore null results
  6.                 if ($result === null) {
  7.                     return;
  8.                 }
  1.             foreach ($this->listeners[$event->getName()] as $listener) {
  2.                 if ($event->isStopped()) {
  3.                     return $event;
  4.                 }
  5.                 $listener($event);
  6.             }
  7.         }
  8.         return $event;
  9.     }
Dispatcher->dispatch('onBeforeCompileHead', object(BeforeCompileHeadEvent)) in /home/sellga6/public_html/libraries/src/Document/Renderer/Html/MetasRenderer.php (line 62)
  1.         // Check for AttachBehavior
  2.         $onAttachCallCache WebAssetManager::callOnAttachCallback($wa->getAssets('script'true), $this->_doc);
  3.         // Trigger the onBeforeCompileHead event
  4.         $app->getDispatcher()->dispatch(
  5.             'onBeforeCompileHead',
  6.             new BeforeCompileHeadEvent('onBeforeCompileHead', ['subject' => $app'document' => $this->_doc])
  7.         );
  8.         // Re-Check for AttachBehavior for newly added assets
MetasRenderer->render(null, array(), null) in /home/sellga6/public_html/libraries/src/Document/Renderer/Html/HeadRenderer.php (line 38)
  1.      *
  2.      * @since   3.5
  3.      */
  4.     public function render($head$params = [], $content null)
  5.     {
  6.         return $this->_doc->loadRenderer('metas')->render($head$params$content)
  7.         . $this->_doc->loadRenderer('styles')->render($head$params$content)
  8.         . $this->_doc->loadRenderer('scripts')->render($head$params$content);
  9.     }
  10. }
HeadRenderer->render(null, array(), null) in /home/sellga6/public_html/libraries/src/Document/HtmlDocument.php (line 575)
  1.             $cbuffer[$hash] = $tmpdata;
  2.             $cache->store($cbuffer'cbuffer_' $type);
  3.         } else {
  4.             $this->setBuffer($renderer->render($name$attribsnull), $type$name$title);
  5.         }
  6.         return parent::$_buffer[$type][$name][$title];
  7.     }
HtmlDocument->getBuffer('head', null, array()) in /home/sellga6/public_html/libraries/src/Document/HtmlDocument.php (line 894)
  1.         $replace = [];
  2.         $with    = [];
  3.         foreach ($this->_template_tags as $jdoc => $args) {
  4.             $replace[] = $jdoc;
  5.             $with[]    = $this->getBuffer($args['type'], $args['name'], $args['attribs']);
  6.         }
  7.         return str_replace($replace$with$this->_template);
  8.     }
  9. }
HtmlDocument->_renderTemplate() in /home/sellga6/public_html/libraries/src/Document/HtmlDocument.php (line 647)
  1.         if (\array_key_exists('csp_nonce'$params) && $params['csp_nonce'] !== null) {
  2.             $this->cspNonce $params['csp_nonce'];
  3.         }
  4.         $data $this->_renderTemplate();
  5.         parent::render($caching$params);
  6.         return $data;
  7.     }
HtmlDocument->render(false, array('template' => 'astroid_template_two', 'directory' => '/home/sellga6/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /home/sellga6/public_html/libraries/src/Document/ErrorDocument.php (line 139)
  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' => 'astroid_template_two', 'directory' => '/home/sellga6/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /home/sellga6/public_html/libraries/src/Error/Renderer/HtmlRenderer.php (line 70)
  1.             ob_end_clean();
  2.         }
  3.         $this->getDocument()->setTitle(Text::_('Error') . ': ' $error->getCode());
  4.         return $this->getDocument()->render(
  5.             false,
  6.             [
  7.                 'template'         => $template->template,
  8.                 'directory'        => JPATH_THEMES,
  9.                 'debug'            => JDEBUG,
HtmlRenderer->render(object(Error)) in /home/sellga6/public_html/libraries/src/Exception/ExceptionHandler.php (line 136)
  1.                     'subject'  => $app,
  2.                     'document' => $renderer->getDocument(),
  3.                 ])
  4.             );
  5.             $data $renderer->render($error);
  6.             // If nothing was rendered, just use the message from the Exception
  7.             if (empty($data)) {
  8.                 $data $error->getMessage();
  9.             }
ExceptionHandler::render(object(Error)) in /home/sellga6/public_html/libraries/src/Exception/ExceptionHandler.php (line 73)
  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 /home/sellga6/public_html/libraries/src/Application/CMSApplication.php (line 334)
  1.             );
  2.             // Trigger the onError event.
  3.             $this->dispatchEvent('onError'$event);
  4.             ExceptionHandler::handleException($event->getError());
  5.         }
  6.         // Trigger the onBeforeRespond event.
  7.         $this->dispatchEvent(
  8.             'onBeforeRespond',
CMSApplication->execute() in /home/sellga6/public_html/includes/app.php (line 58)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home/sellga6/public_html/includes/app.php') in /home/sellga6/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 __DIR__ '/includes/app.php';

Error

Class "CodeAlfa\Component\JchOptimize\Administrator\Extension\JchOptimizeComponent" not found

  1.         $container->extend(MVCFactoryInterface::class, [$this'extendMVCFactoryProvider']);
  2.         $container->set(
  3.             ComponentInterface::class,
  4.             function (Container $container) {
  5.                 $component = new JchOptimizeComponent(
  6.                     $container->get(ComponentDispatcherFactoryInterface::class)
  7.                 );
  8.                 $component->setRegistry($container->get(Registry::class));
  9.                 $component->setMVCFactory($container->get(MVCFactoryInterface::class));
  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\\ComponentInterface') in /home/sellga6/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.             $extension->boot($container);
  8.         }
CMSApplication->loadExtension('Joomla\\CMS\\Extension\\ComponentInterface', 'jchoptimize', '/home/sellga6/public_html/administrator/components/com_jchoptimize') in /home/sellga6/public_html/libraries/src/Extension/ExtensionManagerTrait.php (line 51)
  1.         $component str_starts_with($component'com_') ? substr($component4) : $component;
  2.         // Path to look for services
  3.         $path JPATH_ADMINISTRATOR '/components/com_' $component;
  4.         return $this->loadExtension(ComponentInterface::class, $component$path);
  5.     }
  6.     /**
  7.      * Boots the module with the given name.
  8.      *
CMSApplication->bootComponent('jchoptimize') in /home/sellga6/public_html/plugins/system/jchoptimize/services/provider.php (line 39)
  1.                 $config = (array)PluginHelper::getPlugin('system''jchoptimize');
  2.                 $subject $container->get(DispatcherInterface::class);
  3.                 $app Factory::getApplication();
  4.                 //Boot component before initializing plugin to register required autoload classes
  5.                 $component $app->bootComponent('com_jchoptimize');
  6.                 if ($component instanceof JchOptimizeComponent) {
  7.                     $config['params'] = $component->getContainer()->get(Registry::class);
  8.                 }
  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 /home/sellga6/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.             $extension->boot($container);
  8.         }
CMSApplication->loadExtension('Joomla\\CMS\\Extension\\PluginInterface', 'jchoptimize:system', '/home/sellga6/public_html/plugins/system/jchoptimize') in /home/sellga6/public_html/libraries/src/Extension/ExtensionManagerTrait.php (line 99)
  1.         $plugin str_starts_with($plugin'plg_') ? substr($plugin4) : $plugin;
  2.         // Path 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('jchoptimize', 'system') in /home/sellga6/public_html/libraries/src/Plugin/PluginHelper.php (line 232)
  1.             return;
  2.         }
  3.         $plugins[$hash] = true;
  4.         $plugin Factory::getApplication()->bootPlugin($plugin->name$plugin->type);
  5.         if ($dispatcher && $plugin instanceof DispatcherAwareInterface) {
  6.             $plugin->setDispatcher($dispatcher);
  7.         }
PluginHelper::import(object(stdClass), true, object(Dispatcher)) in /home/sellga6/public_html/libraries/src/Plugin/PluginHelper.php (line 192)
  1.             $plugins = static::load();
  2.             // Get the specified plugin(s).
  3.             foreach ($plugins as $value) {
  4.                 if ($value->type === $type && ($plugin === null || $value->name === $plugin)) {
  5.                     static::import($value$autocreate$dispatcher);
  6.                     $results true;
  7.                 }
  8.             }
  9.             // Bail out early if we're not using default args
PluginHelper::importPlugin('system', null, true, object(Dispatcher)) in /home/sellga6/public_html/libraries/src/Application/CMSApplication.php (line 812)
  1.         // Load the behaviour plugins
  2.         PluginHelper::importPlugin('behaviour'nulltrue$this->getDispatcher());
  3.         // Trigger the onAfterInitialise event.
  4.         PluginHelper::importPlugin('system'nulltrue$this->getDispatcher());
  5.         $this->dispatchEvent(
  6.             'onAfterInitialise',
  7.             new AfterInitialiseEvent('onAfterInitialise', ['subject' => $this])
  8.         );
  9.     }
CMSApplication->initialiseApp(array('language' => 'en-GB')) in /home/sellga6/public_html/libraries/src/Application/SiteApplication.php (line 638)
  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.                 // Render the application output.
  9.                 $this->render();
CMSApplication->execute() in /home/sellga6/public_html/includes/app.php (line 58)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home/sellga6/public_html/includes/app.php') in /home/sellga6/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 __DIR__ '/includes/app.php';

Stack Traces 2

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

  at /home/sellga6/public_html/plugins/system/xtperfectseopagination/xtperfectseopagination.php:61
  at PlgSystemXTPerfectSEOPagination->onBeforeCompileHead(object(SiteApplication), object(ErrorDocument))
     (/home/sellga6/public_html/libraries/src/Plugin/CMSPlugin.php:311)
  at Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}(object(BeforeCompileHeadEvent))
     (/home/sellga6/public_html/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch('onBeforeCompileHead', object(BeforeCompileHeadEvent))
     (/home/sellga6/public_html/libraries/src/Document/Renderer/Html/MetasRenderer.php:62)
  at Joomla\CMS\Document\Renderer\Html\MetasRenderer->render(null, array(), null)
     (/home/sellga6/public_html/libraries/src/Document/Renderer/Html/HeadRenderer.php:38)
  at Joomla\CMS\Document\Renderer\Html\HeadRenderer->render(null, array(), null)
     (/home/sellga6/public_html/libraries/src/Document/HtmlDocument.php:575)
  at Joomla\CMS\Document\HtmlDocument->getBuffer('head', null, array())
     (/home/sellga6/public_html/libraries/src/Document/HtmlDocument.php:894)
  at Joomla\CMS\Document\HtmlDocument->_renderTemplate()
     (/home/sellga6/public_html/libraries/src/Document/HtmlDocument.php:647)
  at Joomla\CMS\Document\HtmlDocument->render(false, array('template' => 'astroid_template_two', 'directory' => '/home/sellga6/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/home/sellga6/public_html/libraries/src/Document/ErrorDocument.php:139)
  at Joomla\CMS\Document\ErrorDocument->render(false, array('template' => 'astroid_template_two', 'directory' => '/home/sellga6/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/home/sellga6/public_html/libraries/src/Error/Renderer/HtmlRenderer.php:70)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render(object(Error))
     (/home/sellga6/public_html/libraries/src/Exception/ExceptionHandler.php:136)
  at Joomla\CMS\Exception\ExceptionHandler::render(object(Error))
     (/home/sellga6/public_html/libraries/src/Exception/ExceptionHandler.php:73)
  at Joomla\CMS\Exception\ExceptionHandler::handleException(object(Error))
     (/home/sellga6/public_html/libraries/src/Application/CMSApplication.php:334)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/sellga6/public_html/includes/app.php:58)
  at require_once('/home/sellga6/public_html/includes/app.php')
     (/home/sellga6/public_html/index.php:32)                
[1/2] Error
Error:
Class "CodeAlfa\Component\JchOptimize\Administrator\Extension\JchOptimizeComponent" not found

  at /home/sellga6/public_html/administrator/components/com_jchoptimize/services/provider.php:43
  at Joomla\DI\ServiceProviderInterface@anonymous/home/sellga6/public_html/administrator/components/com_jchoptimize/services/provider.php:31$b9->{closure}(object(Container))
     (/home/sellga6/public_html/libraries/vendor/joomla/di/src/ContainerResource.php:172)
  at Joomla\DI\ContainerResource->getInstance()
     (/home/sellga6/public_html/libraries/vendor/joomla/di/src/Container.php:95)
  at Joomla\DI\Container->get('Joomla\\CMS\\Extension\\ComponentInterface')
     (/home/sellga6/public_html/libraries/src/Extension/ExtensionManagerTrait.php:177)
  at Joomla\CMS\Application\CMSApplication->loadExtension('Joomla\\CMS\\Extension\\ComponentInterface', 'jchoptimize', '/home/sellga6/public_html/administrator/components/com_jchoptimize')
     (/home/sellga6/public_html/libraries/src/Extension/ExtensionManagerTrait.php:51)
  at Joomla\CMS\Application\CMSApplication->bootComponent('jchoptimize')
     (/home/sellga6/public_html/plugins/system/jchoptimize/services/provider.php:39)
  at Joomla\DI\ServiceProviderInterface@anonymous/home/sellga6/public_html/plugins/system/jchoptimize/services/provider.php:28$b8->{closure}(object(Container))
     (/home/sellga6/public_html/libraries/vendor/joomla/di/src/ContainerResource.php:172)
  at Joomla\DI\ContainerResource->getInstance()
     (/home/sellga6/public_html/libraries/vendor/joomla/di/src/Container.php:95)
  at Joomla\DI\Container->get('Joomla\\CMS\\Extension\\PluginInterface')
     (/home/sellga6/public_html/libraries/src/Extension/ExtensionManagerTrait.php:177)
  at Joomla\CMS\Application\CMSApplication->loadExtension('Joomla\\CMS\\Extension\\PluginInterface', 'jchoptimize:system', '/home/sellga6/public_html/plugins/system/jchoptimize')
     (/home/sellga6/public_html/libraries/src/Extension/ExtensionManagerTrait.php:99)
  at Joomla\CMS\Application\CMSApplication->bootPlugin('jchoptimize', 'system')
     (/home/sellga6/public_html/libraries/src/Plugin/PluginHelper.php:232)
  at Joomla\CMS\Plugin\PluginHelper::import(object(stdClass), true, object(Dispatcher))
     (/home/sellga6/public_html/libraries/src/Plugin/PluginHelper.php:192)
  at Joomla\CMS\Plugin\PluginHelper::importPlugin('system', null, true, object(Dispatcher))
     (/home/sellga6/public_html/libraries/src/Application/CMSApplication.php:812)
  at Joomla\CMS\Application\CMSApplication->initialiseApp(array('language' => 'en-GB'))
     (/home/sellga6/public_html/libraries/src/Application/SiteApplication.php:638)
  at Joomla\CMS\Application\SiteApplication->initialiseApp()
     (/home/sellga6/public_html/libraries/src/Application/SiteApplication.php:237)
  at Joomla\CMS\Application\SiteApplication->doExecute()
     (/home/sellga6/public_html/libraries/src/Application/CMSApplication.php:304)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/sellga6/public_html/includes/app.php:58)
  at require_once('/home/sellga6/public_html/includes/app.php')
     (/home/sellga6/public_html/index.php:32)