Warning: require_once(/home1/hg090833/romaqindustria.com.br/administrator/components/com_sppagebuilder/helpers/sppagebuilder.php): Failed to open stream: No such file or directory in /home1/hg090833/romaqindustria.com.br/components/com_sppagebuilder/helpers/autoload.php on line 85
Call to a member function getSiteTemplates() on false (500 Whoops, looks like something went wrong.)

Error Error

HTTP 500 Whoops, looks like something went wrong.

Call to a member function getSiteTemplates() on false

Exceptions 2

Error

  1. if ($cache->contains($cacheId)) {
  2. $templates = $cache->get($cacheId);
  3. } else {
  4. $templates = $this->bootComponent('templates')->getMVCFactory()
  5. ->createModel('Style', 'Administrator')->getSiteTemplates();
  6. foreach ($templates as $template) {
  7. // Create home element
  8. if ($template->home == 1 && !isset($template_home) || $this->getLanguageFilter() && $template->home == $tag) {
  9. $template_home = clone $template;
  1. */
  2. protected function initialiseTemplate(): void
  3. {
  4. $id = $this->getTemplateStyleId();
  5. $templates = $this->getTemplates();
  6. $template = $templates[$id] ?? $templates[0];
  7. // Allows for overriding the active template from the request
  8. $template_override = $this->input->getCmd('template', '');
  1. * @since 3.2
  2. */
  3. public function getTemplate($params = false)
  4. {
  5. if (!\is_object($this->template)) {
  6. $this->initialiseTemplate();
  7. }
  8. if (!$this->isValidTemplate($this->template)) {
  9. throw new \InvalidArgumentException(
  10. Text::sprintf('JERROR_COULD_NOT_FIND_TEMPLATE', $this->template->template)
  1. public function render(\Throwable $error): string
  2. {
  3. $app = Factory::getApplication();
  4. // Get the current template from the application
  5. $template = $app->getTemplate(true);
  6. // Push the error object into the document
  7. $this->getDocument()->setError($error);
  8. // Add registry file for the template asset
  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. }
  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/hg090833/romaqindustria.com.br/libraries/src/Application/CMSApplication.php (line 350)
  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 /home1/hg090833/romaqindustria.com.br/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('/home1/hg090833/romaqindustria.com.br/includes/app.php') in /home1/hg090833/romaqindustria.com.br/index.php (line 51)
  1. // ... die
  2. die();
  3. }
  4. // Run the application - All executable code should be triggered through this file
  5. require_once __DIR__ . '/includes/app.php';

Error

Failed opening required '/home1/hg090833/romaqindustria.com.br/administrator/components/com_sppagebuilder/helpers/sppagebuilder.php' (include_path='.:/opt/cpanel/ea-php83/root/usr/share/pear')

  1. require_once JPATH_ROOT . '/administrator/components/com_sppagebuilder/editor/helpers/LanguageHelper.php';
  2. }
  3. if (!class_exists('SppagebuilderHelper'))
  4. {
  5. require_once JPATH_ROOT . '/administrator/components/com_sppagebuilder/helpers/sppagebuilder.php';
  6. }
  7. if (!class_exists('BuilderMediaHelper'))
  8. {
  9. require_once JPATH_ROOT . '/administrator/components/com_sppagebuilder/helpers/media-helper.php';
  1. require_once JPATH_ROOT . '/components/com_sppagebuilder/helpers/autoload.php';
  2. require_once JPATH_ROOT . '/components/com_sppagebuilder/helpers/route.php';
  3. require_once JPATH_ROOT . '/components/com_sppagebuilder/helpers/constants.php';
  4. BuilderAutoload::loadClasses();
  5. BuilderAutoload::loadHelperClasses();
  6. class plgSystemSppagebuilder extends CMSPlugin
  7. {
  8. protected $autoloadLanguage = true;
require_once('/home1/hg090833/romaqindustria.com.br/plugins/system/sppagebuilder/sppagebuilder.php') in /home1/hg090833/romaqindustria.com.br/libraries/src/Extension/ExtensionManagerTrait.php (line 217)
  1. if (!is_file($path)) {
  2. return new DummyPlugin($dispatcher);
  3. }
  4. // Include the file of the plugin
  5. require_once $path;
  6. // Compile the classname
  7. $className = 'Plg' . str_replace('-', '', $type) . $plugin;
  8. // Editors don't follow the convention
CMSApplication->loadPluginFromFilesystem('sppagebuilder', 'system') in /home1/hg090833/romaqindustria.com.br/libraries/src/Extension/ExtensionManagerTrait.php (line 160)
  1. case ModuleInterface::class:
  2. $container->set($type, new Module(new ModuleDispatcherFactory(''), new HelperFactory('')));
  3. break;
  4. case PluginInterface::class:
  5. [$pluginName, $pluginType] = explode(':', $extensionName);
  6. $container->set($type, $this->loadPluginFromFilesystem($pluginName, $pluginType));
  7. }
  8. }
  9. $container->get(DispatcherInterface::class)->dispatch(
  10. 'onAfterExtensionBoot',
CMSApplication->loadExtension('Joomla\\CMS\\Extension\\PluginInterface', 'sppagebuilder:system', '/home1/hg090833/romaqindustria.com.br/plugins/system/sppagebuilder') in /home1/hg090833/romaqindustria.com.br/libraries/src/Extension/ExtensionManagerTrait.php (line 99)
  1. $plugin = str_starts_with($plugin, 'plg_') ? substr($plugin, 4) : $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('sppagebuilder', 'system') in /home1/hg090833/romaqindustria.com.br/libraries/src/Plugin/PluginHelper.php (line 233)
  1. return;
  2. }
  3. $plugins[$hash] = true;
  4. $plugin = Factory::getApplication()->bootPlugin($plugin->name, $plugin->type);
  5. if (!$autocreate) {
  6. return;
  7. }
PluginHelper::import(object(stdClass), true, object(Dispatcher)) in /home1/hg090833/romaqindustria.com.br/libraries/src/Plugin/PluginHelper.php (line 193)
  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 /home1/hg090833/romaqindustria.com.br/libraries/src/Application/CMSApplication.php (line 308)
  1. // Load the behaviour plugins
  2. PluginHelper::importPlugin('behaviour', null, true, $this->getDispatcher());
  3. // Load the system plugins
  4. PluginHelper::importPlugin('system', null, true, $this->getDispatcher());
  5. // Trigger the onBeforeExecute event
  6. $this->dispatchEvent(
  7. 'onBeforeExecute',
  8. new BeforeExecuteEvent('onBeforeExecute', ['subject' => $this, 'container' => $this->getContainer()])
CMSApplication->execute() in /home1/hg090833/romaqindustria.com.br/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('/home1/hg090833/romaqindustria.com.br/includes/app.php') in /home1/hg090833/romaqindustria.com.br/index.php (line 51)
  1. // ... die
  2. die();
  3. }
  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] Error
Error:
Call to a member function getSiteTemplates() on false

  at /home1/hg090833/romaqindustria.com.br/libraries/src/Application/SiteApplication.php:852
  at Joomla\CMS\Application\SiteApplication->getTemplates()
     (/home1/hg090833/romaqindustria.com.br/libraries/src/Application/SiteApplication.php:758)
  at Joomla\CMS\Application\SiteApplication->initialiseTemplate()
     (/home1/hg090833/romaqindustria.com.br/libraries/src/Application/CMSApplication.php:721)
  at Joomla\CMS\Application\CMSApplication->getTemplate(true)
     (/home1/hg090833/romaqindustria.com.br/libraries/src/Error/Renderer/HtmlRenderer.php:50)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render(object(Error))
     (/home1/hg090833/romaqindustria.com.br/libraries/src/Exception/ExceptionHandler.php:142)
  at Joomla\CMS\Exception\ExceptionHandler::render(object(Error))
     (/home1/hg090833/romaqindustria.com.br/libraries/src/Exception/ExceptionHandler.php:76)
  at Joomla\CMS\Exception\ExceptionHandler::handleException(object(Error))
     (/home1/hg090833/romaqindustria.com.br/libraries/src/Application/CMSApplication.php:350)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home1/hg090833/romaqindustria.com.br/includes/app.php:58)
  at require_once('/home1/hg090833/romaqindustria.com.br/includes/app.php')
     (/home1/hg090833/romaqindustria.com.br/index.php:51)                
[1/2] Error
Error:
Failed opening required '/home1/hg090833/romaqindustria.com.br/administrator/components/com_sppagebuilder/helpers/sppagebuilder.php' (include_path='.:/opt/cpanel/ea-php83/root/usr/share/pear')

  at /home1/hg090833/romaqindustria.com.br/components/com_sppagebuilder/helpers/autoload.php:85
  at BuilderAutoload::loadHelperClasses()
     (/home1/hg090833/romaqindustria.com.br/plugins/system/sppagebuilder/sppagebuilder.php:35)
  at require_once('/home1/hg090833/romaqindustria.com.br/plugins/system/sppagebuilder/sppagebuilder.php')
     (/home1/hg090833/romaqindustria.com.br/libraries/src/Extension/ExtensionManagerTrait.php:217)
  at Joomla\CMS\Application\CMSApplication->loadPluginFromFilesystem('sppagebuilder', 'system')
     (/home1/hg090833/romaqindustria.com.br/libraries/src/Extension/ExtensionManagerTrait.php:160)
  at Joomla\CMS\Application\CMSApplication->loadExtension('Joomla\\CMS\\Extension\\PluginInterface', 'sppagebuilder:system', '/home1/hg090833/romaqindustria.com.br/plugins/system/sppagebuilder')
     (/home1/hg090833/romaqindustria.com.br/libraries/src/Extension/ExtensionManagerTrait.php:99)
  at Joomla\CMS\Application\CMSApplication->bootPlugin('sppagebuilder', 'system')
     (/home1/hg090833/romaqindustria.com.br/libraries/src/Plugin/PluginHelper.php:233)
  at Joomla\CMS\Plugin\PluginHelper::import(object(stdClass), true, object(Dispatcher))
     (/home1/hg090833/romaqindustria.com.br/libraries/src/Plugin/PluginHelper.php:193)
  at Joomla\CMS\Plugin\PluginHelper::importPlugin('system', null, true, object(Dispatcher))
     (/home1/hg090833/romaqindustria.com.br/libraries/src/Application/CMSApplication.php:308)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home1/hg090833/romaqindustria.com.br/includes/app.php:58)
  at require_once('/home1/hg090833/romaqindustria.com.br/includes/app.php')
     (/home1/hg090833/romaqindustria.com.br/index.php:51)