Notice: unserialize(): Error at offset 4063 of 4063 bytes in /home/users/iso/public_html/aparaty/jommla/libraries/src/Cache/Controller/CallbackController.php on line 77

Warning: Trying to access array offset on value of type bool in /home/users/iso/public_html/aparaty/jommla/libraries/src/Cache/Controller/CallbackController.php on line 85

Warning: Trying to access array offset on value of type bool in /home/users/iso/public_html/aparaty/jommla/libraries/src/Cache/Controller/CallbackController.php on line 88

Warning: foreach() argument must be of type array|object, null given in /home/users/iso/public_html/aparaty/jommla/libraries/src/Plugin/PluginHelper.php on line 120

Notice: unserialize(): Error at offset 4063 of 4063 bytes in /home/users/iso/public_html/aparaty/jommla/libraries/src/Cache/Controller/CallbackController.php on line 77

Warning: Trying to access array offset on value of type bool in /home/users/iso/public_html/aparaty/jommla/libraries/src/Cache/Controller/CallbackController.php on line 85

Warning: Trying to access array offset on value of type bool in /home/users/iso/public_html/aparaty/jommla/libraries/src/Cache/Controller/CallbackController.php on line 88

Warning: foreach() argument must be of type array|object, null given in /home/users/iso/public_html/aparaty/jommla/libraries/src/Plugin/PluginHelper.php on line 120

Notice: unserialize(): Error at offset 4063 of 4063 bytes in /home/users/iso/public_html/aparaty/jommla/libraries/src/Cache/Controller/CallbackController.php on line 77

Warning: Trying to access array offset on value of type bool in /home/users/iso/public_html/aparaty/jommla/libraries/src/Cache/Controller/CallbackController.php on line 85

Warning: Trying to access array offset on value of type bool in /home/users/iso/public_html/aparaty/jommla/libraries/src/Cache/Controller/CallbackController.php on line 88

Warning: foreach() argument must be of type array|object, null given in /home/users/iso/public_html/aparaty/jommla/libraries/src/Plugin/PluginHelper.php on line 120

Notice: unserialize(): Error at offset 4063 of 4063 bytes in /home/users/iso/public_html/aparaty/jommla/libraries/src/Cache/Controller/CallbackController.php on line 77

Warning: Trying to access array offset on value of type bool in /home/users/iso/public_html/aparaty/jommla/libraries/src/Cache/Controller/CallbackController.php on line 85

Warning: Trying to access array offset on value of type bool in /home/users/iso/public_html/aparaty/jommla/libraries/src/Cache/Controller/CallbackController.php on line 88

Notice: unserialize(): Error at offset 3912 of 4063 bytes in /home/users/iso/public_html/aparaty/jommla/libraries/src/Cache/Controller/CallbackController.php on line 77

Warning: Trying to access array offset on value of type bool in /home/users/iso/public_html/aparaty/jommla/libraries/src/Cache/Controller/CallbackController.php on line 85

Warning: Trying to access array offset on value of type bool in /home/users/iso/public_html/aparaty/jommla/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/users/iso/public_html/aparaty/jommla/libraries/src/Event/AbstractEvent.php on line 227 (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/users/iso/public_html/aparaty/jommla/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 6. Use "%s" instead. Event %s',
  10.                     $methodName2,
AbstractEvent->setArgument('modules', null) in /home/users/iso/public_html/aparaty/jommla/libraries/src/Event/AbstractEvent.php (line 115)
  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.
AbstractEvent->__construct('onAfterModuleList', array('modules' => null, 'subject' => null)) in /home/users/iso/public_html/aparaty/jommla/libraries/src/Event/AbstractImmutableEvent.php (line 51)
  1.             );
  2.         }
  3.         $this->constructed true;
  4.         parent::__construct($name$arguments);
  5.     }
  6.     /**
  7.      * Set the value of an event argument.
  8.      *
AbstractImmutableEvent->__construct('onAfterModuleList', array('modules' => null, 'subject' => null)) in /home/users/iso/public_html/aparaty/jommla/libraries/src/Event/Module/ModuleEvent.php (line 55)
  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.     }
ModuleEvent->__construct('onAfterModuleList', array('modules' => null, 'subject' => null)) in /home/users/iso/public_html/aparaty/jommla/libraries/src/Event/Module/ModuleListEvent.php (line 48)
  1.     public function __construct($name, array $arguments = [])
  2.     {
  3.         // This event has a dummy subject for now
  4.         $this->arguments['subject'] = $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.         }
ModuleListEvent->__construct('onAfterModuleList', array('modules' => null)) in /home/users/iso/public_html/aparaty/jommla/libraries/src/Helper/ModuleHelper.php (line 387)
  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 6, 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.         $total    \count($modules);
  8.         for ($i 0$i $total$i++) {
  9.             if ($modules[$i]->position === $position) {
  10.                 $result[] = &$modules[$i];
  1.     {
  2.         if ((isset(parent::$_buffer['modules'][$positionName])) && (parent::$_buffer['modules'][$positionName] === false)) {
  3.             return 0;
  4.         }
  5.         $modules ModuleHelper::getModules($positionName);
  6.         if (!$withContentOnly) {
  7.             return \count($modules);
  8.         }
  1.                         <div class="site-description"><?php echo htmlspecialchars($this->params->get('siteDescription')); ?></div>
  2.                     <?php endif; ?>
  3.                 </div>
  4.             </div>
  5.         <?php endif; ?>
  6.         <?php if ($this->countModules('menu') || $this->countModules('search')) : ?>
  7.             <div class="grid-child container-nav">
  8.                 <?php if ($this->countModules('menu')) : ?>
  9.                     <jdoc:include type="modules" name="menu" style="none" />
  10.                 <?php endif; ?>
  11.                 <?php if ($this->countModules('search')) : ?>
require('/home/users/iso/public_html/aparaty/jommla/templates/cassiopeia/error.php') in /home/users/iso/public_html/aparaty/jommla/libraries/src/Document/HtmlDocument.php (line 731)
  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_clean();
  7.         }
  8.         return $contents;
  9.     }
HtmlDocument->_loadTemplate('/home/users/iso/public_html/aparaty/jommla/templates/cassiopeia', 'error.php') in /home/users/iso/public_html/aparaty/jommla/libraries/src/Document/HtmlDocument.php (line 785)
  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' => 'cassiopeia', 'directory' => '/home/users/iso/public_html/aparaty/jommla/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /home/users/iso/public_html/aparaty/jommla/libraries/src/Document/HtmlDocument.php (line 622)
  1.      *
  2.      * @since   1.7.0
  3.      */
  4.     public function parse($params = [])
  5.     {
  6.         return $this->_fetchTemplate($params)->_parseTemplate();
  7.     }
  8.     /**
  9.      * Outputs the template to the browser.
  10.      *
HtmlDocument->parse(array('template' => 'cassiopeia', 'directory' => '/home/users/iso/public_html/aparaty/jommla/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /home/users/iso/public_html/aparaty/jommla/libraries/src/Document/HtmlDocument.php (line 640)
  1.     public function render($caching false$params = [])
  2.     {
  3.         $this->_caching $caching;
  4.         if (empty($this->_template)) {
  5.             $this->parse($params);
  6.         }
  7.         if (\array_key_exists('csp_nonce'$params) && $params['csp_nonce'] !== null) {
  8.             $this->cspNonce $params['csp_nonce'];
  9.         }
HtmlDocument->render(false, array('template' => 'cassiopeia', 'directory' => '/home/users/iso/public_html/aparaty/jommla/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /home/users/iso/public_html/aparaty/jommla/libraries/src/Document/ErrorDocument.php (line 139)
  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' => 'cassiopeia', 'directory' => '/home/users/iso/public_html/aparaty/jommla/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php')) in /home/users/iso/public_html/aparaty/jommla/libraries/src/Error/Renderer/HtmlRenderer.php (line 70)
  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.      *
ExceptionHandler::handleException(object(TypeError)) in /home/users/iso/public_html/aparaty/jommla/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',
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home/users/iso/public_html/aparaty/jommla/includes/app.php') in /home/users/iso/public_html/aparaty/jommla/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';

TypeError

count(): Argument #1 ($value) must be of type Countable|array, null given

  1.             // Load the plugins from the database.
  2.             $plugins = static::load();
  3.             // Get the specified plugin(s).
  4.             for ($i 0$t \count($plugins); $i $t$i++) {
  5.                 if ($plugins[$i]->type === $type && ($plugin === null || $plugins[$i]->name === $plugin)) {
  6.                     static::import($plugins[$i], $autocreate$dispatcher);
  7.                     $results true;
  8.                 }
  9.             }
PluginHelper::importPlugin('behaviour', null, true, object(Dispatcher)) in /home/users/iso/public_html/aparaty/jommla/libraries/src/Application/CMSApplication.php (line 762)
  1.         }
  2.         $this->set('editor'$editor);
  3.         // Load the behaviour plugins
  4.         PluginHelper::importPlugin('behaviour'nulltrue$this->getDispatcher());
  5.         // Trigger the onAfterInitialise event.
  6.         PluginHelper::importPlugin('system'nulltrue$this->getDispatcher());
  7.         $this->dispatchEvent(
  8.             'onAfterInitialise',
CMSApplication->initialiseApp(array('language' => 'en-GB')) in /home/users/iso/public_html/aparaty/jommla/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();
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home/users/iso/public_html/aparaty/jommla/includes/app.php') in /home/users/iso/public_html/aparaty/jommla/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] TypeError
TypeError:
Joomla\CMS\Event\Module\ModuleListEvent::onSetModules(): Argument #1 ($value) must be of type array, null given, called in /home/users/iso/public_html/aparaty/jommla/libraries/src/Event/AbstractEvent.php on line 227

  at /home/users/iso/public_html/aparaty/jommla/libraries/src/Event/Module/ModuleListEvent.php:73
  at Joomla\CMS\Event\Module\ModuleListEvent->onSetModules(null)
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Event/AbstractEvent.php:227)
  at Joomla\CMS\Event\AbstractEvent->setArgument('modules', null)
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Event/AbstractEvent.php:115)
  at Joomla\CMS\Event\AbstractEvent->__construct('onAfterModuleList', array('modules' => null, 'subject' => null))
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Event/AbstractImmutableEvent.php:51)
  at Joomla\CMS\Event\AbstractImmutableEvent->__construct('onAfterModuleList', array('modules' => null, 'subject' => null))
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Event/Module/ModuleEvent.php:55)
  at Joomla\CMS\Event\Module\ModuleEvent->__construct('onAfterModuleList', array('modules' => null, 'subject' => null))
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Event/Module/ModuleListEvent.php:48)
  at Joomla\CMS\Event\Module\ModuleListEvent->__construct('onAfterModuleList', array('modules' => null))
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Helper/ModuleHelper.php:387)
  at Joomla\CMS\Helper\ModuleHelper::load()
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Helper/ModuleHelper.php:89)
  at Joomla\CMS\Helper\ModuleHelper::getModules('menu')
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Document/HtmlDocument.php:669)
  at Joomla\CMS\Document\HtmlDocument->countModules('menu')
     (/home/users/iso/public_html/aparaty/jommla/templates/cassiopeia/error.php:135)
  at require('/home/users/iso/public_html/aparaty/jommla/templates/cassiopeia/error.php')
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Document/HtmlDocument.php:731)
  at Joomla\CMS\Document\HtmlDocument->_loadTemplate('/home/users/iso/public_html/aparaty/jommla/templates/cassiopeia', 'error.php')
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Document/HtmlDocument.php:785)
  at Joomla\CMS\Document\HtmlDocument->_fetchTemplate(array('template' => 'cassiopeia', 'directory' => '/home/users/iso/public_html/aparaty/jommla/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Document/HtmlDocument.php:622)
  at Joomla\CMS\Document\HtmlDocument->parse(array('template' => 'cassiopeia', 'directory' => '/home/users/iso/public_html/aparaty/jommla/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Document/HtmlDocument.php:640)
  at Joomla\CMS\Document\HtmlDocument->render(false, array('template' => 'cassiopeia', 'directory' => '/home/users/iso/public_html/aparaty/jommla/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Document/ErrorDocument.php:139)
  at Joomla\CMS\Document\ErrorDocument->render(false, array('template' => 'cassiopeia', 'directory' => '/home/users/iso/public_html/aparaty/jommla/templates', 'debug' => false, 'csp_nonce' => null, 'templateInherits' => '', 'params' => object(Registry), 'file' => 'error.php'))
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Error/Renderer/HtmlRenderer.php:70)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render(object(TypeError))
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Exception/ExceptionHandler.php:136)
  at Joomla\CMS\Exception\ExceptionHandler::render(object(TypeError))
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Exception/ExceptionHandler.php:73)
  at Joomla\CMS\Exception\ExceptionHandler::handleException(object(TypeError))
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Application/CMSApplication.php:336)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/users/iso/public_html/aparaty/jommla/includes/app.php:58)
  at require_once('/home/users/iso/public_html/aparaty/jommla/includes/app.php')
     (/home/users/iso/public_html/aparaty/jommla/index.php:32)                
[1/2] TypeError
TypeError:
count(): Argument #1 ($value) must be of type Countable|array, null given

  at /home/users/iso/public_html/aparaty/jommla/libraries/src/Plugin/PluginHelper.php:190
  at Joomla\CMS\Plugin\PluginHelper::importPlugin('behaviour', null, true, object(Dispatcher))
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Application/CMSApplication.php:762)
  at Joomla\CMS\Application\CMSApplication->initialiseApp(array('language' => 'en-GB'))
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Application/SiteApplication.php:643)
  at Joomla\CMS\Application\SiteApplication->initialiseApp()
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Application/SiteApplication.php:238)
  at Joomla\CMS\Application\SiteApplication->doExecute()
     (/home/users/iso/public_html/aparaty/jommla/libraries/src/Application/CMSApplication.php:306)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/users/iso/public_html/aparaty/jommla/includes/app.php:58)
  at require_once('/home/users/iso/public_html/aparaty/jommla/includes/app.php')
     (/home/users/iso/public_html/aparaty/jommla/index.php:32)