MissingComponentException Error

HTTP 500 Whoops, looks like something went wrong.

Object of class stdClass could not be converted to string

Exceptions 2

Error

  1.             if (!empty($preset->preset)) {
  2.                 $preset $preset->preset;
  3.             }
  4.         ?>
  5.         <link href="<?php echo $theme_url '/css/presets/' $preset '.css'?>" rel="stylesheet">
  6.     </head>
  7.     <body>
  8.         <div class="container">
  9.             <?php if($params->get('error_logo')) : ?>
  10.                 <a href="<?php echo $this->baseurl?>/index.php">
  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('/home/asesrcom/public_html/templates/shaper_estate', 'error.php') in /home/asesrcom/public_html/libraries/src/Document/HtmlDocument.php (line 830)
  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' => 'shaper_estate', 'directory' => '/home/asesrcom/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /home/asesrcom/public_html/libraries/src/Document/HtmlDocument.php (line 633)
  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' => 'shaper_estate', 'directory' => '/home/asesrcom/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /home/asesrcom/public_html/libraries/src/Document/HtmlDocument.php (line 652)
  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' => 'shaper_estate', 'directory' => '/home/asesrcom/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /home/asesrcom/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' => 'shaper_estate', 'directory' => '/home/asesrcom/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /home/asesrcom/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(MissingComponentException)) in /home/asesrcom/public_html/libraries/src/Exception/ExceptionHandler.php (line 128)
  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(MissingComponentException)) in /home/asesrcom/public_html/libraries/src/Exception/ExceptionHandler.php (line 71)
  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(MissingComponentException)) in /home/asesrcom/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.         // Send the application response.
  7.         $this->respond();
CMSApplication->execute() in /home/asesrcom/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('/home/asesrcom/public_html/includes/app.php') in /home/asesrcom/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';

Joomla\CMS\Component\Exception\ MissingComponentException

Componente no encontrado.

  1.         }
  2.         // If component is disabled throw error
  3.         if (!static::isEnabled($option))
  4.         {
  5.             throw new MissingComponentException(Text::_('JLIB_APPLICATION_ERROR_COMPONENT_NOT_FOUND'), 404);
  6.         }
  7.         ob_start();
  8.         $app->bootComponent($option)->getDispatcher($app)->dispatch();
  9.         $contents ob_get_clean();
ComponentHelper::renderComponent('com_mailto') in /home/asesrcom/public_html/libraries/src/Application/SiteApplication.php (line 206)
  1.         else
  2.         {
  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.          * ex: due of the sef urls
  2.          */
  3.         $this->checkUserRequireReset('com_users''profile''edit''com_users/profile.save,com_users/profile.apply,com_users/user.logout');
  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.             {
  9.                 // Render the application output.
CMSApplication->execute() in /home/asesrcom/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('/home/asesrcom/public_html/includes/app.php') in /home/asesrcom/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] Error
Error:
Object of class stdClass could not be converted to string

  at /home/asesrcom/public_html/templates/shaper_estate/error.php:70
  at require()
     (/home/asesrcom/public_html/libraries/src/Document/HtmlDocument.php:771)
  at Joomla\CMS\Document\HtmlDocument->_loadTemplate('/home/asesrcom/public_html/templates/shaper_estate', 'error.php')
     (/home/asesrcom/public_html/libraries/src/Document/HtmlDocument.php:830)
  at Joomla\CMS\Document\HtmlDocument->_fetchTemplate(array('template' => 'shaper_estate', 'directory' => '/home/asesrcom/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/home/asesrcom/public_html/libraries/src/Document/HtmlDocument.php:633)
  at Joomla\CMS\Document\HtmlDocument->parse(array('template' => 'shaper_estate', 'directory' => '/home/asesrcom/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/home/asesrcom/public_html/libraries/src/Document/HtmlDocument.php:652)
  at Joomla\CMS\Document\HtmlDocument->render(false, array('template' => 'shaper_estate', 'directory' => '/home/asesrcom/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/home/asesrcom/public_html/libraries/src/Document/ErrorDocument.php:140)
  at Joomla\CMS\Document\ErrorDocument->render(false, array('template' => 'shaper_estate', 'directory' => '/home/asesrcom/public_html/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/home/asesrcom/public_html/libraries/src/Error/Renderer/HtmlRenderer.php:77)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render(object(MissingComponentException))
     (/home/asesrcom/public_html/libraries/src/Exception/ExceptionHandler.php:128)
  at Joomla\CMS\Exception\ExceptionHandler::render(object(MissingComponentException))
     (/home/asesrcom/public_html/libraries/src/Exception/ExceptionHandler.php:71)
  at Joomla\CMS\Exception\ExceptionHandler::handleException(object(MissingComponentException))
     (/home/asesrcom/public_html/libraries/src/Application/CMSApplication.php:311)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/asesrcom/public_html/includes/app.php:63)
  at require_once('/home/asesrcom/public_html/includes/app.php')
     (/home/asesrcom/public_html/index.php:32)                
[1/2] MissingComponentException
Joomla\CMS\Component\Exception\MissingComponentException:
Componente no encontrado.

  at /home/asesrcom/public_html/libraries/src/Component/ComponentHelper.php:385
  at Joomla\CMS\Component\ComponentHelper::renderComponent('com_mailto')
     (/home/asesrcom/public_html/libraries/src/Application/SiteApplication.php:206)
  at Joomla\CMS\Application\SiteApplication->dispatch()
     (/home/asesrcom/public_html/libraries/src/Application/SiteApplication.php:245)
  at Joomla\CMS\Application\SiteApplication->doExecute()
     (/home/asesrcom/public_html/libraries/src/Application/CMSApplication.php:278)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/asesrcom/public_html/includes/app.php:63)
  at require_once('/home/asesrcom/public_html/includes/app.php')
     (/home/asesrcom/public_html/index.php:32)