Warning: unserialize(): Error at offset 6277 of 16351 bytes in /home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Cache/Controller/CallbackController.php on line 77

Warning: Trying to access array offset on false in /home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Cache/Controller/CallbackController.php on line 85

Warning: Trying to access array offset on false in /home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Cache/Controller/CallbackController.php on line 88
Joomla\CMS\Event\Module\ModuleListEvent::onSetModules(): Argument #1 ($value) must be of type array, null given, called in /home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Event/AbstractEvent.php on line 227 (500 Whoops, looks like something went wrong.)

RouteNotFoundException TypeError

HTTP 500 Whoops, looks like something went wrong.

Joomla\CMS\Event\Module\ModuleListEvent::onSetModules(): Argument #1 ($value) must be of type array, null given, called in /home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Event/AbstractEvent.php on line 227

Exceptions 2

TypeError

  1. *
  2. * @return object[]
  3. *
  4. * @since 5.0.0
  5. */
  6. protected function onSetModules(array $value): array
  7. {
  8. // Filter out Module elements. Non empty result means invalid data
  9. $valid = !array_filter($value, function ($item) {
  10. return !\is_object($item);
  11. });
  1. $ucfirst = ucfirst($name);
  2. $methodName1 = 'onSet' . $ucfirst;
  3. $methodName2 = 'set' . $ucfirst;
  4. if (method_exists($this, $methodName1)) {
  5. $value = $this->{$methodName1}($value);
  6. } elseif (method_exists($this, $methodName2)) {
  7. @trigger_error(
  8. \sprintf(
  9. 'Use method "%s" for value pre-processing is deprecated, and will not work in Joomla 7. Use "%s" instead. Event %s',
  10. $methodName2,
  1. public function __construct(string $name, array $arguments = [])
  2. {
  3. parent::__construct($name, $arguments);
  4. foreach ($arguments as $argumentName => $value) {
  5. $this->setArgument($argumentName, $value);
  6. }
  7. }
  8. /**
  9. * Get an event argument value.
  1. );
  2. }
  3. $this->constructed = true;
  4. parent::__construct($name, $arguments);
  5. }
  6. /**
  7. * Set the value of an event argument.
  8. *
  1. // Reshape the arguments array to preserve b/c with legacy listeners
  2. if ($this->legacyArgumentsOrder) {
  3. $arguments = $this->reshapeArguments($arguments, $this->legacyArgumentsOrder);
  4. }
  5. parent::__construct($name, $arguments);
  6. if (!\array_key_exists('subject', $this->arguments)) {
  7. throw new \BadMethodCallException("Argument 'subject' of event {$name} is required but has not been provided");
  8. }
  9. }
  1. public function __construct($name, array $arguments = [])
  2. {
  3. // This event has a dummy subject for now
  4. $this->arguments['subject'] ??= new \stdClass();
  5. parent::__construct($name, $arguments);
  6. if (!\array_key_exists('modules', $this->arguments)) {
  7. throw new \BadMethodCallException("Argument 'modules' of event {$name} is required but has not been provided");
  8. }
  1. // If the onPrepareModuleList event returns an array of modules, then ignore the default module list creation
  2. if (!$modules) {
  3. $modules = static::getModuleList();
  4. }
  5. $modules = $dispatcher->dispatch('onAfterModuleList', new Module\AfterModuleListEvent('onAfterModuleList', [
  6. 'modules' => &$modules, // @todo: Remove reference in Joomla 7, see AfterModuleListEvent::__constructor()
  7. ]))->getArgument('modules', $modules);
  8. $modules = static::cleanModuleList($modules);
  1. public static function &getModules($position)
  2. {
  3. $position = strtolower($position);
  4. $result = [];
  5. $input = Factory::getApplication()->getInput();
  6. $modules = &static::load();
  7. foreach ($modules as $module) {
  8. if ($module->position === $position) {
  9. $result[] = $module;
  10. }
  1. $app = Factory::getApplication();
  2. $user = Factory::getUser();
  3. $frontediting = ($app->isClient('site') && $app->get('frontediting', 1) && !$user->guest);
  4. $menusEditing = ($app->get('frontediting', 1) == 2) && $user->authorise('core.edit', 'com_menus');
  5. foreach (ModuleHelper::getModules($position) as $mod) {
  6. $moduleHtml = $renderer->render($mod, $params, $content);
  7. if ($frontediting && trim($moduleHtml) != '' && $user->authorise('module.edit.frontend', 'com_modules.module.' . $mod->id)) {
  8. $displayData = ['moduleHtml' => &$moduleHtml, 'module' => $mod, 'position' => $position, 'menusediting' => $menusEditing];
  9. LayoutHelper::render('joomla.edit.frontediting_modules', $displayData);
  1. $cbuffer[$hash] = $tmpdata;
  2. $cache->store($cbuffer, 'cbuffer_' . $type);
  3. } else {
  4. $this->setBuffer($renderer->render($name, $attribs, null), $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. '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. *
  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',
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application = $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home/user05325/rostlinyprobudoucnost.eu/www/includes/app.php') in /home/user05325/rostlinyprobudoucnost.eu/www/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';

Joomla\CMS\Router\Exception\ RouteNotFoundException

Stránka nenalezena

  1. $this->processParseRules($uri, self::PROCESS_AFTER);
  2. // Check if all parts of the URL have been parsed.
  3. // Otherwise we have an invalid URL
  4. if (\strlen($uri->getPath()) > 0) {
  5. throw new RouteNotFoundException(Text::_('JERROR_PAGE_NOT_FOUND'));
  6. }
  7. if ($setVars) {
  8. $this->setVars($uri->getQuery(true));
  1. // Get the full request URI.
  2. $uri = clone Uri::getInstance();
  3. // It is not possible to inject the SiteRouter as it requires a SiteApplication
  4. // and we would end in an infinite loop
  5. $result = $this->getContainer()->get(SiteRouter::class)->parse($uri, true);
  6. $active = $this->getMenu()->getActive();
  7. if (
  8. $active !== null
  1. // Mark afterInitialise in the profiler.
  2. JDEBUG ? $this->profiler->mark('afterInitialise') : null;
  3. // Route the application
  4. $this->route();
  5. // Mark afterRoute in the profiler.
  6. JDEBUG ? $this->profiler->mark('afterRoute') : null;
  7. if (!$this->isHandlingMultiFactorAuthentication()) {
  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();
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application = $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home/user05325/rostlinyprobudoucnost.eu/www/includes/app.php') in /home/user05325/rostlinyprobudoucnost.eu/www/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] TypeError
TypeError:
Joomla\CMS\Event\Module\ModuleListEvent::onSetModules(): Argument #1 ($value) must be of type array, null given, called in /home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Event/AbstractEvent.php on line 227

  at /home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Event/Module/ModuleListEvent.php:73
  at Joomla\CMS\Event\Module\ModuleListEvent->onSetModules()
     (/home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Event/AbstractEvent.php:227)
  at Joomla\CMS\Event\AbstractEvent->setArgument()
     (/home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Event/AbstractEvent.php:115)
  at Joomla\CMS\Event\AbstractEvent->__construct()
     (/home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Event/AbstractImmutableEvent.php:51)
  at Joomla\CMS\Event\AbstractImmutableEvent->__construct()
     (/home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Event/Module/ModuleEvent.php:55)
  at Joomla\CMS\Event\Module\ModuleEvent->__construct()
     (/home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Event/Module/ModuleListEvent.php:48)
  at Joomla\CMS\Event\Module\ModuleListEvent->__construct()
     (/home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Helper/ModuleHelper.php:385)
  at Joomla\CMS\Helper\ModuleHelper::load()
     (/home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Helper/ModuleHelper.php:88)
  at Joomla\CMS\Helper\ModuleHelper::getModules()
     (/home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Document/Renderer/Html/ModulesRenderer.php:50)
  at Joomla\CMS\Document\Renderer\Html\ModulesRenderer->render()
     (/home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Document/HtmlDocument.php:578)
  at Joomla\CMS\Document\HtmlDocument->getBuffer()
     (/home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Document/HtmlDocument.php:897)
  at Joomla\CMS\Document\HtmlDocument->_renderTemplate()
     (/home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Document/HtmlDocument.php:650)
  at Joomla\CMS\Document\HtmlDocument->render()
     (/home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Document/ErrorDocument.php:139)
  at Joomla\CMS\Document\ErrorDocument->render()
     (/home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Error/Renderer/HtmlRenderer.php:70)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render()
     (/home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Exception/ExceptionHandler.php:142)
  at Joomla\CMS\Exception\ExceptionHandler::render()
     (/home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Exception/ExceptionHandler.php:76)
  at Joomla\CMS\Exception\ExceptionHandler::handleException()
     (/home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Application/CMSApplication.php:334)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/user05325/rostlinyprobudoucnost.eu/www/includes/app.php:58)
  at require_once('/home/user05325/rostlinyprobudoucnost.eu/www/includes/app.php')
     (/home/user05325/rostlinyprobudoucnost.eu/www/index.php:51)                
[1/2] RouteNotFoundException
Joomla\CMS\Router\Exception\RouteNotFoundException:
Stránka nenalezena

  at /home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Router/Router.php:166
  at Joomla\CMS\Router\Router->parse()
     (/home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Application/SiteApplication.php:767)
  at Joomla\CMS\Application\SiteApplication->route()
     (/home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Application/SiteApplication.php:243)
  at Joomla\CMS\Application\SiteApplication->doExecute()
     (/home/user05325/rostlinyprobudoucnost.eu/www/libraries/src/Application/CMSApplication.php:304)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/user05325/rostlinyprobudoucnost.eu/www/includes/app.php:58)
  at require_once('/home/user05325/rostlinyprobudoucnost.eu/www/includes/app.php')
     (/home/user05325/rostlinyprobudoucnost.eu/www/index.php:51)