Notice: include(): Read of 987 bytes failed with errno=12 Cannot allocate memory in /home/aytovaldesanvice/public_html/libraries/vendor/composer/ClassLoader.php on line 576

Notice: include(): Read of 987 bytes failed with errno=12 Cannot allocate memory in /home/aytovaldesanvice/public_html/libraries/vendor/composer/ClassLoader.php on line 576

Warning: include(): Failed opening '/home/aytovaldesanvice/public_html/libraries/vendor/composer/../../../libraries/src/Extension/BootableExtensionInterface.php' for inclusion (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/aytovaldesanvice/public_html/libraries/vendor/composer/ClassLoader.php on line 576

Notice: include(): Read of 3357 bytes failed with errno=12 Cannot allocate memory in /home/aytovaldesanvice/public_html/libraries/vendor/composer/ClassLoader.php on line 576

Notice: include(): Read of 3357 bytes failed with errno=12 Cannot allocate memory in /home/aytovaldesanvice/public_html/libraries/vendor/composer/ClassLoader.php on line 576

Warning: include(): Failed opening '/home/aytovaldesanvice/public_html/libraries/vendor/composer/../../../libraries/src/Document/Factory.php' for inclusion (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') in /home/aytovaldesanvice/public_html/libraries/vendor/composer/ClassLoader.php on line 576

Notice: include(): Read of 865 bytes failed with errno=12 Cannot allocate memory in /home/aytovaldesanvice/public_html/libraries/vendor/composer/ClassLoader.php on line 576
Attempted to load class "Factory" from namespace "Joomla\CMS\Document". 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 "Factory" from namespace "Joomla\CMS\Document".
Did you forget a "use" statement for another namespace?

Exceptions 2

Symfony\Component\ErrorHandler\Error\ ClassNotFoundError

  1.         $container->alias('document.factory'FactoryInterface::class)
  2.             ->alias(Factory::class, FactoryInterface::class)
  3.             ->share(
  4.                 FactoryInterface::class,
  5.                 function (Container $container) {
  6.                     $factory = new Factory();
  7.                     $factory->setCacheControllerFactory($container->get(CacheControllerFactoryInterface::class));
  8.                     return $factory;
  9.                 },
  10.                 true
  1.     {
  2.         $callable $this->factory;
  3.         if ($this->isShared()) {
  4.             if ($this->instance === null) {
  5.                 $this->instance $callable($this->container);
  6.             }
  7.             return $this->instance;
  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\\Document\\FactoryInterface') in /home/aytovaldesanvice/public_html/libraries/src/Error/AbstractRenderer.php (line 112)
  1.         if (Factory::$language) {
  2.             $attributes['language']  = Factory::getLanguage()->getTag();
  3.             $attributes['direction'] = Factory::getLanguage()->isRtl() ? 'rtl' 'ltr';
  4.         }
  5.         return Factory::getContainer()->get(FactoryInterface::class)->createDocument($this->type$attributes);
  6.     }
  7. }
  1.      */
  2.     public function getDocument(): Document
  3.     {
  4.         // Load the document if not already
  5.         if (!$this->document) {
  6.             $this->document $this->loadDocument();
  7.         }
  8.         return $this->document;
  9.     }
  1.                 // Default to the HTML renderer
  2.                 $renderer AbstractRenderer::getRenderer('html');
  3.             }
  4.             // Reset the document object in the factory, this gives us a clean slate and lets everything render properly
  5.             Factory::$document $renderer->getDocument();
  6.             Factory::getApplication()->loadDocument(Factory::$document);
  7.             // Trigger the onAfterInitialiseDocument event.
  8.             $app->getDispatcher()->dispatch(
  9.                 'onAfterInitialiseDocument',
  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/aytovaldesanvice/public_html/libraries/src/Application/CMSApplication.php (line 336)
  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/aytovaldesanvice/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/aytovaldesanvice/public_html/includes/app.php') in /home/aytovaldesanvice/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

Interface "Joomla\CMS\Extension\BootableExtensionInterface" not found

  1. /**
  2.  * Component class for com_guidedtours
  3.  *
  4.  * @since 4.3.0
  5.  */
  6. class GuidedtoursComponent extends MVCComponent implements BootableExtensionInterface
  7. {
  8.     use HTMLRegistryAwareTrait;
  9.     /**
  10.      * The step type
  1.          *
  2.          * @param  string $file
  3.          * @return void
  4.          */
  5.         self::$includeFile \Closure::bind(static function($file) {
  6.             include $file;
  7.         }, nullnull);
  8.     }
  9. }
  1.      */
  2.     public function loadClass($class)
  3.     {
  4.         if ($file $this->findFile($class)) {
  5.             $includeFile self::$includeFile;
  6.             $includeFile($file);
  7.             return true;
  8.         }
  9.         return null;
ClassLoader->loadClass('Joomla\\Component\\Guidedtours\\Administrator\\Extension\\GuidedtoursComponent') in /home/aytovaldesanvice/public_html/libraries/src/Autoload/ClassLoader.php (line 59)
  1.      *
  2.      * @since   3.4
  3.      */
  4.     public function loadClass($class)
  5.     {
  6.         if ($result $this->loader->loadClass($class)) {
  7.             \JLoader::applyAliasFor($class);
  8.         }
  9.         return $result;
  10.     }
ClassLoader->loadClass('Joomla\\Component\\Guidedtours\\Administrator\\Extension\\GuidedtoursComponent') in /home/aytovaldesanvice/public_html/plugins/system/guidedtours/services/provider.php (line 39)
  1.         $container->set(
  2.             PluginInterface::class,
  3.             function (Container $container) {
  4.                 $app        Factory::getApplication();
  5.                 $plugin = new GuidedTours(
  6.                     $container->get(DispatcherInterface::class),
  7.                     (array) PluginHelper::getPlugin('system''guidedtours'),
  8.                     $app->isClient('administrator')
  9.                 );
  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/aytovaldesanvice/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', 'guidedtours:system', '/home/aytovaldesanvice/public_html/plugins/system/guidedtours') in /home/aytovaldesanvice/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('guidedtours', 'system') in /home/aytovaldesanvice/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/aytovaldesanvice/public_html/libraries/src/Plugin/PluginHelper.php (line 192)
  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
PluginHelper::importPlugin('system', null, true, object(Dispatcher)) in /home/aytovaldesanvice/public_html/libraries/src/Application/CMSApplication.php (line 765)
  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' => 'es-ES')) in /home/aytovaldesanvice/public_html/libraries/src/Application/SiteApplication.php (line 643)
  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/aytovaldesanvice/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/aytovaldesanvice/public_html/includes/app.php') in /home/aytovaldesanvice/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 "Factory" from namespace "Joomla\CMS\Document".
Did you forget a "use" statement for another namespace?

  at /home/aytovaldesanvice/public_html/libraries/src/Service/Provider/Document.php:45
  at Joomla\CMS\Service\Provider\Document->Joomla\CMS\Service\Provider\{closure}(object(Container))
     (/home/aytovaldesanvice/public_html/libraries/vendor/joomla/di/src/ContainerResource.php:166)
  at Joomla\DI\ContainerResource->getInstance()
     (/home/aytovaldesanvice/public_html/libraries/vendor/joomla/di/src/Container.php:95)
  at Joomla\DI\Container->get('Joomla\\CMS\\Document\\FactoryInterface')
     (/home/aytovaldesanvice/public_html/libraries/src/Error/AbstractRenderer.php:112)
  at Joomla\CMS\Error\AbstractRenderer->loadDocument()
     (/home/aytovaldesanvice/public_html/libraries/src/Error/AbstractRenderer.php:54)
  at Joomla\CMS\Error\AbstractRenderer->getDocument()
     (/home/aytovaldesanvice/public_html/libraries/src/Exception/ExceptionHandler.php:124)
  at Joomla\CMS\Exception\ExceptionHandler::render(object(Error))
     (/home/aytovaldesanvice/public_html/libraries/src/Exception/ExceptionHandler.php:73)
  at Joomla\CMS\Exception\ExceptionHandler::handleException(object(Error))
     (/home/aytovaldesanvice/public_html/libraries/src/Application/CMSApplication.php:336)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/aytovaldesanvice/public_html/includes/app.php:58)
  at require_once('/home/aytovaldesanvice/public_html/includes/app.php')
     (/home/aytovaldesanvice/public_html/index.php:32)                
[1/2] Error
Error:
Interface "Joomla\CMS\Extension\BootableExtensionInterface" not found

  at /home/aytovaldesanvice/public_html/administrator/components/com_guidedtours/src/Extension/GuidedtoursComponent.php:27
  at include()
     (/home/aytovaldesanvice/public_html/libraries/vendor/composer/ClassLoader.php:576)
  at Composer\Autoload\{closure}('/home/aytovaldesanvice/public_html/administrator/components/com_guidedtours/src/Extension/GuidedtoursComponent.php')
     (/home/aytovaldesanvice/public_html/libraries/vendor/composer/ClassLoader.php:427)
  at Composer\Autoload\ClassLoader->loadClass('Joomla\\Component\\Guidedtours\\Administrator\\Extension\\GuidedtoursComponent')
     (/home/aytovaldesanvice/public_html/libraries/src/Autoload/ClassLoader.php:59)
  at Joomla\CMS\Autoload\ClassLoader->loadClass('Joomla\\Component\\Guidedtours\\Administrator\\Extension\\GuidedtoursComponent')
     (/home/aytovaldesanvice/public_html/plugins/system/guidedtours/services/provider.php:39)
  at Joomla\DI\ServiceProviderInterface@anonymous/home/aytovaldesanvice/public_html/plugins/system/guidedtours/services/provider.php:22$1b5a->{closure}(object(Container))
     (/home/aytovaldesanvice/public_html/libraries/vendor/joomla/di/src/ContainerResource.php:172)
  at Joomla\DI\ContainerResource->getInstance()
     (/home/aytovaldesanvice/public_html/libraries/vendor/joomla/di/src/Container.php:95)
  at Joomla\DI\Container->get('Joomla\\CMS\\Extension\\PluginInterface')
     (/home/aytovaldesanvice/public_html/libraries/src/Extension/ExtensionManagerTrait.php:177)
  at Joomla\CMS\Application\CMSApplication->loadExtension('Joomla\\CMS\\Extension\\PluginInterface', 'guidedtours:system', '/home/aytovaldesanvice/public_html/plugins/system/guidedtours')
     (/home/aytovaldesanvice/public_html/libraries/src/Extension/ExtensionManagerTrait.php:99)
  at Joomla\CMS\Application\CMSApplication->bootPlugin('guidedtours', 'system')
     (/home/aytovaldesanvice/public_html/libraries/src/Plugin/PluginHelper.php:232)
  at Joomla\CMS\Plugin\PluginHelper::import(object(stdClass), true, object(Dispatcher))
     (/home/aytovaldesanvice/public_html/libraries/src/Plugin/PluginHelper.php:192)
  at Joomla\CMS\Plugin\PluginHelper::importPlugin('system', null, true, object(Dispatcher))
     (/home/aytovaldesanvice/public_html/libraries/src/Application/CMSApplication.php:765)
  at Joomla\CMS\Application\CMSApplication->initialiseApp(array('language' => 'es-ES'))
     (/home/aytovaldesanvice/public_html/libraries/src/Application/SiteApplication.php:643)
  at Joomla\CMS\Application\SiteApplication->initialiseApp()
     (/home/aytovaldesanvice/public_html/libraries/src/Application/SiteApplication.php:238)
  at Joomla\CMS\Application\SiteApplication->doExecute()
     (/home/aytovaldesanvice/public_html/libraries/src/Application/CMSApplication.php:306)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/aytovaldesanvice/public_html/includes/app.php:58)
  at require_once('/home/aytovaldesanvice/public_html/includes/app.php')
     (/home/aytovaldesanvice/public_html/index.php:32)