Warning: unserialize(): Error at offset 180169 of 180191 bytes in /home/gre49666/public_html/libraries/src/Cache/Controller/CallbackController.php on line 77

Warning: Trying to access array offset on false in /home/gre49666/public_html/libraries/src/Cache/Controller/CallbackController.php on line 85

Warning: Trying to access array offset on false in /home/gre49666/public_html/libraries/src/Cache/Controller/CallbackController.php on line 88

Warning: foreach() argument must be of type array|object, null given in /home/gre49666/public_html/libraries/src/Menu/SiteMenu.php on line 194

Warning: foreach() argument must be of type array|object, null given in /home/gre49666/public_html/libraries/src/Menu/AbstractMenu.php on line 335

Warning: Attempt to read property "query" on null in /home/gre49666/public_html/libraries/src/Router/SiteRouter.php on line 313

Warning: Trying to access array offset on null in /home/gre49666/public_html/libraries/src/Router/SiteRouter.php on line 313

Warning: Attempt to read property "query" on null in /home/gre49666/public_html/libraries/src/Router/SiteRouter.php on line 313

Warning: Trying to access array offset on null in /home/gre49666/public_html/libraries/src/Router/SiteRouter.php on line 313

Warning: unserialize(): Error at offset 455 of 4063 bytes in /home/gre49666/public_html/libraries/src/Cache/Controller/OutputController.php on line 71

Warning: Trying to access array offset on false in /home/gre49666/public_html/libraries/src/Application/SiteApplication.php on line 483

Warning: Attempt to read property "template" on null in /home/gre49666/public_html/libraries/src/Application/SiteApplication.php on line 501

Warning: unserialize(): Error at offset 455 of 4063 bytes in /home/gre49666/public_html/libraries/src/Cache/Controller/OutputController.php on line 71

Warning: Trying to access array offset on false in /home/gre49666/public_html/libraries/src/Application/SiteApplication.php on line 483

Warning: Attempt to read property "template" on null in /home/gre49666/public_html/libraries/src/Application/SiteApplication.php on line 501
Attempt to assign property "template" on null (500 Whoops, looks like something went wrong.)

Error Error

HTTP 500 Whoops, looks like something went wrong.

Attempt to assign property "template" on null

Exceptions 2

Error

  1. }
  2. }
  3. }
  4. // Need to filter the default value as well
  5. $template->template = InputFilter::getInstance()->clean($template->template, 'cmd');
  6. // Fallback template
  7. if (!empty($template->parent)) {
  8. if (!is_file(JPATH_THEMES . '/' . $template->template . '/index.php')) {
  9. if (!is_file(JPATH_THEMES . '/' . $template->parent . '/index.php')) {
  1. */
  2. protected static function getTemplate(): ?object
  3. {
  4. /** @var CMSApplication $joomla */
  5. $joomla = app(CMSApplication::class);
  6. $template = $joomla->getTemplate(true);
  7. // get site template
  8. if ($joomla->isClient('administrator')) {
  9. $input = $joomla->getInput();
  10. $view = $input->getCmd('view') === 'style';
  1. /**
  2. * Initialize current theme.
  3. */
  4. public static function initTheme(): void
  5. {
  6. $template = static::getTemplate();
  7. // is template active?
  8. if (!empty($template->params['yootheme'])) {
  9. static::loadConfiguration($template);
  10. Event::emit('theme.init');
ThemeLoader::initTheme(object(AfterInitialiseDocumentEvent)) in /home/gre49666/public_html/templates/yootheme/packages/container/src/Container.php (line 229)
  1. $resolver = new ParameterResolver($this);
  2. $function = Reflection::getFunction($callable);
  3. $parameters = $resolver->resolve($function, $parameters);
  4. }
  5. return $callable(...$parameters);
  6. }
  7. /**
  8. * Wraps the callback with optional parameter resolving.
  9. *
Container->call(array('YOOtheme\\Theme\\Joomla\\ThemeLoader', 'initTheme'), array(object(AfterInitialiseDocumentEvent))) in /home/gre49666/public_html/templates/yootheme/packages/application/src/Application/EventLoader.php (line 65)
  1. $this->dispatcher->addListener(
  2. $event,
  3. fn(...$arguments) => $isStatic && !ParameterResolver::needsResolving($listener)
  4. ? $listener(...$arguments)
  5. : $container->call($listener, $arguments),
  6. ...$params,
  7. );
  8. }
  9. }
  1. foreach ($this->listeners[$event->getName()] as $listener) {
  2. if ($event->isStopped()) {
  3. return $event;
  4. }
  5. $listener($event);
  6. }
  7. }
  8. return $event;
  9. }
Dispatcher->dispatch('onAfterInitialiseDocument', object(AfterInitialiseDocumentEvent)) in /home/gre49666/public_html/libraries/src/Exception/ExceptionHandler.php (line 134)
  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. // Trigger the onAfterInitialiseDocument event.
  5. $app->getDispatcher()->dispatch(
  6. 'onAfterInitialiseDocument',
  7. new AfterInitialiseDocumentEvent('onAfterInitialiseDocument', [
  8. 'subject' => $app,
  9. 'document' => $renderer->getDocument(),
  10. ])
ExceptionHandler::render(object(Error)) in /home/gre49666/public_html/libraries/src/Exception/ExceptionHandler.php (line 76)
  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/gre49666/public_html/libraries/src/Application/CMSApplication.php (line 334)
  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/gre49666/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/gre49666/public_html/includes/app.php') in /home/gre49666/public_html/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

Attempt to assign property "template" on null

  1. }
  2. }
  3. }
  4. // Need to filter the default value as well
  5. $template->template = InputFilter::getInstance()->clean($template->template, 'cmd');
  6. // Fallback template
  7. if (!empty($template->parent)) {
  8. if (!is_file(JPATH_THEMES . '/' . $template->template . '/index.php')) {
  9. if (!is_file(JPATH_THEMES . '/' . $template->parent . '/index.php')) {
  1. // Set metadata
  2. $document->setMetaData('rights', $this->get('MetaRights'));
  3. // Get the template
  4. $template = $this->getTemplate(true);
  5. // Store the template and its params to the config
  6. $this->set('theme', $template->template);
  7. $this->set('themeParams', $template->params);
  1. ['option' => 'com_users', 'task' => 'method.save'],
  2. ]);
  3. }
  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. // Render the application output.
  9. $this->render();
CMSApplication->execute() in /home/gre49666/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/gre49666/public_html/includes/app.php') in /home/gre49666/public_html/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:
Attempt to assign property "template" on null

  at /home/gre49666/public_html/libraries/src/Application/SiteApplication.php:501
  at Joomla\CMS\Application\SiteApplication->getTemplate(true)
     (/home/gre49666/public_html/templates/yootheme/packages/theme-joomla/src/ThemeLoader.php:102)
  at YOOtheme\Theme\Joomla\ThemeLoader::getTemplate()
     (/home/gre49666/public_html/templates/yootheme/packages/theme-joomla/src/ThemeLoader.php:42)
  at YOOtheme\Theme\Joomla\ThemeLoader::initTheme(object(AfterInitialiseDocumentEvent))
     (/home/gre49666/public_html/templates/yootheme/packages/container/src/Container.php:229)
  at YOOtheme\Container->call(array('YOOtheme\\Theme\\Joomla\\ThemeLoader', 'initTheme'), array(object(AfterInitialiseDocumentEvent)))
     (/home/gre49666/public_html/templates/yootheme/packages/application/src/Application/EventLoader.php:65)
  at YOOtheme\Application\EventLoader->YOOtheme\Application\{closure}(object(AfterInitialiseDocumentEvent))
     (/home/gre49666/public_html/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch('onAfterInitialiseDocument', object(AfterInitialiseDocumentEvent))
     (/home/gre49666/public_html/libraries/src/Exception/ExceptionHandler.php:134)
  at Joomla\CMS\Exception\ExceptionHandler::render(object(Error))
     (/home/gre49666/public_html/libraries/src/Exception/ExceptionHandler.php:76)
  at Joomla\CMS\Exception\ExceptionHandler::handleException(object(Error))
     (/home/gre49666/public_html/libraries/src/Application/CMSApplication.php:334)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/gre49666/public_html/includes/app.php:58)
  at require_once('/home/gre49666/public_html/includes/app.php')
     (/home/gre49666/public_html/index.php:51)                
[1/2] Error
Error:
Attempt to assign property "template" on null

  at /home/gre49666/public_html/libraries/src/Application/SiteApplication.php:501
  at Joomla\CMS\Application\SiteApplication->getTemplate(true)
     (/home/gre49666/public_html/libraries/src/Application/SiteApplication.php:174)
  at Joomla\CMS\Application\SiteApplication->dispatch()
     (/home/gre49666/public_html/libraries/src/Application/SiteApplication.php:271)
  at Joomla\CMS\Application\SiteApplication->doExecute()
     (/home/gre49666/public_html/libraries/src/Application/CMSApplication.php:304)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/gre49666/public_html/includes/app.php:58)
  at require_once('/home/gre49666/public_html/includes/app.php')
     (/home/gre49666/public_html/index.php:51)