Error ClassNotFoundError

HTTP 500 Whoops, looks like something went wrong.

Attempted to load class "Contact" from namespace "Joomla\Plugin\Content\Contact\Extension".
Did you forget a "use" statement for another namespace?

Exceptions 2

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

  1.     {
  2.         $container->set(
  3.             PluginInterface::class,
  4.             function (Container $container) {
  5.                 $dispatcher $container->get(DispatcherInterface::class);
  6.                 $plugin     = new Contact(
  7.                     $dispatcher,
  8.                     (array) PluginHelper::getPlugin('content''contact')
  9.                 );
  10.                 $plugin->setApplication(Factory::getApplication());
  11.                 $plugin->setDatabase($container->get(DatabaseInterface::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.      *
  1.                     'container'     => $container,
  2.                 ]
  3.             )
  4.         );
  5.         $extension $container->get($type);
  6.         if ($extension instanceof BootableExtensionInterface) {
  7.             $extension->boot($container);
  8.         }
  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.      *
  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.         }
  1.             $plugins = static::load();
  2.             // Get the specified plugin(s).
  3.             for ($i 0$t \count($plugins); $i $t$i++) {
  4.                 if ($plugins[$i]->type === $type && ($plugin === null || $plugins[$i]->name === $plugin)) {
  5.                     static::import($plugins[$i], $autocreate$dispatcher);
  6.                     $results true;
  7.                 }
  8.             }
  9.             // Bail out early if we're not using default args
  1. use Joomla\CMS\Helper\ModuleHelper;
  2. use Joomla\CMS\HTML\HTMLHelper;
  3. use Joomla\CMS\Plugin\PluginHelper;
  4. if ($params->def('prepare_content'1)) {
  5.     PluginHelper::importPlugin('content');
  6.     $module->content HTMLHelper::_('content.prepare'$module->content'''mod_custom.content');
  7. }
  8. require ModuleHelper::getLayoutPath('mod_custom'$params->get('layout''default'));
include('/home/marpie/public_html/03_eckstein/modules/mod_custom/mod_custom.php') in /home/marpie/public_html/03_eckstein/libraries/src/Dispatcher/ModuleDispatcher.php (line 52)
  1.                 unset($displayData);
  2.             } else {
  3.                 extract($displayData);
  4.             }
  5.             include $path;
  6.         };
  7.         $loader($path$this->getLayoutData());
  8.     }
  9. }
ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}() in /home/marpie/public_html/03_eckstein/libraries/src/Dispatcher/ModuleDispatcher.php (line 55)
  1.             }
  2.             include $path;
  3.         };
  4.         $loader($path$this->getLayoutData());
  5.     }
  6. }
  1.         $dispatcher $app->bootModule($module->module$app->getName())->getDispatcher($module$app);
  2.         // Check if we have a dispatcher
  3.         if ($dispatcher) {
  4.             ob_start();
  5.             $dispatcher->dispatch();
  6.             $module->content ob_get_clean();
  7.         }
  8.         // Add the flag that the module content has been rendered
  9.         $module->contentRendered true;
  1.         // Get module parameters
  2.         $params = new Registry($module->params);
  3.         // Render the module content
  4.         static::renderRawModule($module$params$attribs);
  5.         // Return early if only the content is required
  6.         if (!empty($attribs['contentOnly'])) {
  7.             return $module->content;
  8.         }
  1.             $module->contentRendered true;
  2.             return $module->content;
  3.         }
  4.         return ModuleHelper::renderModule($module$attribs);
  5.     }
  6. }
  1.         $user         Factory::getUser();
  2.         $frontediting = ($app->isClient('site') && $app->get('frontediting'1) && !$user->guest);
  3.         $menusEditing = ($app->get('frontediting'1) == 2) && $user->authorise('core.edit''com_menus');
  4.         foreach (ModuleHelper::getModules($position) as $mod) {
  5.             $moduleHtml $renderer->render($mod$params$content);
  6.             if ($frontediting && trim($moduleHtml) != '' && $user->authorise('module.edit.frontend''com_modules.module.' $mod->id)) {
  7.                 $displayData = ['moduleHtml' => &$moduleHtml'module' => $mod'position' => $position'menusediting' => $menusEditing];
  8.                 LayoutHelper::render('joomla.edit.frontediting_modules'$displayData);
  9.             }
  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.     }
  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. }
  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.     }
  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.      *
  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,
  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.                 $data $error->getMessage();
  8.             }
  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.      *
  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 /home/marpie/public_html/03_eckstein/includes/app.php (line 61)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home/marpie/public_html/03_eckstein/includes/app.php') in /home/marpie/public_html/03_eckstein/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\Content\Fields\Extension\Fields" not found

  1.     {
  2.         $container->set(
  3.             PluginInterface::class,
  4.             function (Container $container) {
  5.                 $dispatcher $container->get(DispatcherInterface::class);
  6.                 $plugin     = new Fields(
  7.                     $dispatcher,
  8.                     (array) PluginHelper::getPlugin('content''fields')
  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.      *
  1.                     'container'     => $container,
  2.                 ]
  3.             )
  4.         );
  5.         $extension $container->get($type);
  6.         if ($extension instanceof BootableExtensionInterface) {
  7.             $extension->boot($container);
  8.         }
  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.      *
  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.         }
  1.             $plugins = static::load();
  2.             // Get the specified plugin(s).
  3.             for ($i 0$t \count($plugins); $i $t$i++) {
  4.                 if ($plugins[$i]->type === $type && ($plugin === null || $plugins[$i]->name === $plugin)) {
  5.                     static::import($plugins[$i], $autocreate$dispatcher);
  6.                     $results true;
  7.                 }
  8.             }
  9.             // Bail out early if we're not using default args
  1.         if (Associations::isEnabled() && $item->params->get('show_associations')) {
  2.             $item->associations AssociationHelper::displayAssociations($item->id);
  3.         }
  4.         // Process the content plugins.
  5.         PluginHelper::importPlugin('content');
  6.         $this->dispatchEvent(new Event('onContentPrepare', ['com_content.article', &$item, &$item->params$offset]));
  7.         $item->event                    = new \stdClass();
  8.         $results                        Factory::getApplication()->triggerEvent('onContentAfterTitle', ['com_content.article', &$item, &$item->params$offset]);
  9.         $item->event->afterDisplayTitle trim(implode("\n"$results));
  1.                 $cache->get($view'display');
  2.             } catch (CacheExceptionInterface $exception) {
  3.                 $view->display();
  4.             }
  5.         } else {
  6.             $view->display();
  7.         }
  8.         return $this;
  9.     }
  1.                     $model->hit();
  2.                 }
  3.             }
  4.         }
  5.         parent::display($cachable$safeurlparams);
  6.         return $this;
  7.     }
  8. }
  1.         }
  2.         // Record the actual task being fired
  3.         $this->doTask $doTask;
  4.         return $this->$doTask();
  5.     }
  6.     /**
  7.      * Method to get a model object, loading it if required.
  8.      *
  1.             $config['name'] = strtolower($this->input->get('controller'));
  2.         }
  3.         // Execute the task for this component
  4.         $controller $this->getController($controllerucfirst($this->app->getName()), $config);
  5.         $controller->execute($task);
  6.         $controller->redirect();
  7.     }
  8.     /**
  9.      * Get a controller from the component
  1.                 return;
  2.             }
  3.         }
  4.         parent::dispatch();
  5.     }
  6. }
  1.         if (!static::isEnabled($option)) {
  2.             throw new MissingComponentException(Text::_('JLIB_APPLICATION_ERROR_COMPONENT_NOT_FOUND'), 404);
  3.         }
  4.         ob_start();
  5.         $app->bootComponent($option)->getDispatcher($app)->dispatch();
  6.         $contents ob_get_clean();
  7.         // Revert the scope
  8.         $app->scope $scope;
  1.             $document->setGenerator('Joomla! - Open Source Content Management - Version ' JVERSION);
  2.         } else {
  3.             $document->setGenerator('Joomla! - Open Source Content Management');
  4.         }
  5.         $contents ComponentHelper::renderComponent($component);
  6.         $document->setBuffer($contents'component');
  7.         // Trigger the onAfterDispatch event.
  8.         PluginHelper::importPlugin('system');
  9.         $this->triggerEvent('onAfterDispatch');
  1.              */
  2.             $this->checkUserRequireReset('com_users''profile''edit''com_users/profile.save,com_users/profile.apply,com_users/user.logout');
  3.         }
  4.         // Dispatch the application
  5.         $this->dispatch();
  6.         // Mark afterDispatch in the profiler.
  7.         JDEBUG $this->profiler->mark('afterDispatch') : null;
  8.     }
  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/marpie/public_html/03_eckstein/includes/app.php (line 61)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home/marpie/public_html/03_eckstein/includes/app.php') in /home/marpie/public_html/03_eckstein/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 "Contact" from namespace "Joomla\Plugin\Content\Contact\Extension".
Did you forget a "use" statement for another namespace?

  at /home/marpie/public_html/03_eckstein/plugins/content/contact/services/provider.php:38
  at Joomla\DI\ServiceProviderInterface@anonymous/home/marpie/public_html/03_eckstein/plugins/content/contact/services/provider.php:22$eb->{closure}()
     (/home/marpie/public_html/03_eckstein/libraries/vendor/joomla/di/src/ContainerResource.php:182)
  at Joomla\DI\ContainerResource->getInstance()
     (/home/marpie/public_html/03_eckstein/libraries/vendor/joomla/di/src/Container.php:96)
  at Joomla\DI\Container->get()
     (/home/marpie/public_html/03_eckstein/libraries/src/Extension/ExtensionManagerTrait.php:177)
  at Joomla\CMS\Application\CMSApplication->loadExtension()
     (/home/marpie/public_html/03_eckstein/libraries/src/Extension/ExtensionManagerTrait.php:99)
  at Joomla\CMS\Application\CMSApplication->bootPlugin()
     (/home/marpie/public_html/03_eckstein/libraries/src/Plugin/PluginHelper.php:232)
  at Joomla\CMS\Plugin\PluginHelper::import()
     (/home/marpie/public_html/03_eckstein/libraries/src/Plugin/PluginHelper.php:192)
  at Joomla\CMS\Plugin\PluginHelper::importPlugin()
     (/home/marpie/public_html/03_eckstein/modules/mod_custom/mod_custom.php:18)
  at include('/home/marpie/public_html/03_eckstein/modules/mod_custom/mod_custom.php')
     (/home/marpie/public_html/03_eckstein/libraries/src/Dispatcher/ModuleDispatcher.php:52)
  at Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}()
     (/home/marpie/public_html/03_eckstein/libraries/src/Dispatcher/ModuleDispatcher.php:55)
  at Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch()
     (/home/marpie/public_html/03_eckstein/libraries/src/Helper/ModuleHelper.php:281)
  at Joomla\CMS\Helper\ModuleHelper::renderRawModule()
     (/home/marpie/public_html/03_eckstein/libraries/src/Helper/ModuleHelper.php:161)
  at Joomla\CMS\Helper\ModuleHelper::renderModule()
     (/home/marpie/public_html/03_eckstein/libraries/src/Document/Renderer/Html/ModuleRenderer.php:99)
  at Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render()
     (/home/marpie/public_html/03_eckstein/libraries/src/Document/Renderer/Html/ModulesRenderer.php:50)
  at Joomla\CMS\Document\Renderer\Html\ModulesRenderer->render()
     (/home/marpie/public_html/03_eckstein/libraries/src/Document/HtmlDocument.php:566)
  at Joomla\CMS\Document\HtmlDocument->getBuffer()
     (/home/marpie/public_html/03_eckstein/libraries/src/Document/HtmlDocument.php:853)
  at Joomla\CMS\Document\HtmlDocument->_renderTemplate()
     (/home/marpie/public_html/03_eckstein/libraries/src/Document/HtmlDocument.php:638)
  at Joomla\CMS\Document\HtmlDocument->render()
     (/home/marpie/public_html/03_eckstein/libraries/src/Document/ErrorDocument.php:139)
  at Joomla\CMS\Document\ErrorDocument->render()
     (/home/marpie/public_html/03_eckstein/libraries/src/Error/Renderer/HtmlRenderer.php:70)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render()
     (/home/marpie/public_html/03_eckstein/libraries/src/Exception/ExceptionHandler.php:126)
  at Joomla\CMS\Exception\ExceptionHandler::render()
     (/home/marpie/public_html/03_eckstein/libraries/src/Exception/ExceptionHandler.php:72)
  at Joomla\CMS\Exception\ExceptionHandler::handleException()
     (/home/marpie/public_html/03_eckstein/libraries/src/Application/CMSApplication.php:322)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/marpie/public_html/03_eckstein/includes/app.php:61)
  at require_once('/home/marpie/public_html/03_eckstein/includes/app.php')
     (/home/marpie/public_html/03_eckstein/index.php:32)                
[1/2] Error
Error:
Class "Joomla\Plugin\Content\Fields\Extension\Fields" not found

  at /home/marpie/public_html/03_eckstein/plugins/content/fields/services/provider.php:36
  at Joomla\DI\ServiceProviderInterface@anonymous/home/marpie/public_html/03_eckstein/plugins/content/fields/services/provider.php:20$d5->{closure}()
     (/home/marpie/public_html/03_eckstein/libraries/vendor/joomla/di/src/ContainerResource.php:182)
  at Joomla\DI\ContainerResource->getInstance()
     (/home/marpie/public_html/03_eckstein/libraries/vendor/joomla/di/src/Container.php:96)
  at Joomla\DI\Container->get()
     (/home/marpie/public_html/03_eckstein/libraries/src/Extension/ExtensionManagerTrait.php:177)
  at Joomla\CMS\Application\CMSApplication->loadExtension()
     (/home/marpie/public_html/03_eckstein/libraries/src/Extension/ExtensionManagerTrait.php:99)
  at Joomla\CMS\Application\CMSApplication->bootPlugin()
     (/home/marpie/public_html/03_eckstein/libraries/src/Plugin/PluginHelper.php:232)
  at Joomla\CMS\Plugin\PluginHelper::import()
     (/home/marpie/public_html/03_eckstein/libraries/src/Plugin/PluginHelper.php:192)
  at Joomla\CMS\Plugin\PluginHelper::importPlugin()
     (/home/marpie/public_html/03_eckstein/components/com_content/src/View/Article/HtmlView.php:226)
  at Joomla\Component\Content\Site\View\Article\HtmlView->display()
     (/home/marpie/public_html/03_eckstein/libraries/src/MVC/Controller/BaseController.php:645)
  at Joomla\CMS\MVC\Controller\BaseController->display()
     (/home/marpie/public_html/03_eckstein/components/com_content/src/Controller/DisplayController.php:121)
  at Joomla\Component\Content\Site\Controller\DisplayController->display()
     (/home/marpie/public_html/03_eckstein/libraries/src/MVC/Controller/BaseController.php:678)
  at Joomla\CMS\MVC\Controller\BaseController->execute()
     (/home/marpie/public_html/03_eckstein/libraries/src/Dispatcher/ComponentDispatcher.php:143)
  at Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()
     (/home/marpie/public_html/03_eckstein/components/com_content/src/Dispatcher/Dispatcher.php:56)
  at Joomla\Component\Content\Site\Dispatcher\Dispatcher->dispatch()
     (/home/marpie/public_html/03_eckstein/libraries/src/Component/ComponentHelper.php:361)
  at Joomla\CMS\Component\ComponentHelper::renderComponent()
     (/home/marpie/public_html/03_eckstein/libraries/src/Application/SiteApplication.php:208)
  at Joomla\CMS\Application\SiteApplication->dispatch()
     (/home/marpie/public_html/03_eckstein/libraries/src/Application/SiteApplication.php:249)
  at Joomla\CMS\Application\SiteApplication->doExecute()
     (/home/marpie/public_html/03_eckstein/libraries/src/Application/CMSApplication.php:293)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/marpie/public_html/03_eckstein/includes/app.php:61)
  at require_once('/home/marpie/public_html/03_eckstein/includes/app.php')
     (/home/marpie/public_html/03_eckstein/index.php:32)