Warning: Attempt to read property "title" on null in /var/www/vhosts/dehummelhoeve.nl/httpdocs/plugins/content/joomla/src/Extension/Joomla.php on line 319

Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/vhosts/dehummelhoeve.nl/httpdocs/plugins/content/joomla/src/Extension/Joomla.php on line 319
Call to a member function getParams() on null (500 Whoops, looks like something went wrong.)

Error Error

HTTP 500 Whoops, looks like something went wrong.

Call to a member function getParams() on null

Exceptions 2

Error

  1.                     'isPartOf' => ['@id' => $baseId 'WebPage/base'],
  2.                     'name'     => htmlentities($menu->title),
  3.                     'blogPost' => [],
  4.                 ];
  5.                 if ($menu->getParams()->get('menu-meta_description')) {
  6.                     $additionalSchema['description'] = htmlentities($menu->getParams()->get('menu-meta_description'));
  7.                 }
  8.                 $model $component->createModel($view'Site');
Joomla->Joomla\Plugin\Content\Joomla\Extension\{closure}() in /var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Cache/Controller/CallbackController.php (line 120)
  1.         $coptions['nomodules'] = $woptions['nomodules'] ?? 1;
  2.         ob_start();
  3.         ob_implicit_flush(false);
  4.         $result \call_user_func_array($callback$referenceArgs);
  5.         $output ob_get_clean();
  6.         $data = ['result' => $result];
  7.         if ($wrkarounds) {
  1.                 }
  2.                 array_unshift($additionalSchemas$additionalSchema);
  3.                 return $additionalSchemas;
  4.             }, [$view$id]);
  5.         }
  6.         if (!empty($additionalSchemas)) {
  7.             $mySchema['@graph'] = array_merge($mySchema['@graph'], $additionalSchemas);
  8.         }
  1.         $schema  $event->getSchema();
  2.         [$extension$view$id] = explode('.'$context);
  3.         if ($extension === 'com_content' && $this->params->get('schema_content'1)) {
  4.             $this->injectContentSchema($context$schema);
  5.         } elseif ($extension === 'com_contact' && $this->params->get('schema_contact'1)) {
  6.             $this->injectContactSchema($context$schema);
  7.         }
  8.     }
  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.     }
  1.             'subject' => $schema,
  2.             'context' => $context '.' $itemId,
  3.         ]);
  4.         PluginHelper::importPlugin('schemaorg'nulltrue$dispatcher);
  5.         $dispatcher->dispatch('onSchemaBeforeCompileHead'$event);
  6.         $data $schema->get('@graph');
  7.         foreach ($data as $key => $entry) {
  8.             $data[$key] = $this->cleanupSchema($entry);
  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.     }
  1.         }
  2.         // Trigger the onBeforeCompileHead event
  3.         $app->getDispatcher()->dispatch(
  4.             'onBeforeCompileHead',
  5.             new BeforeCompileHeadEvent('onBeforeCompileHead', ['subject' => $app'document' => $this->_doc])
  6.         );
  7.         // Add Script Options as inline asset
  8.         $scriptOptions $this->_doc->getScriptOptions();
  1.      * @since   3.5
  2.      */
  3.     public function render($head$params = [], $content null)
  4.     {
  5.         $buffer  '';
  6.         $buffer .= $this->_doc->loadRenderer('metas')->render($head$params$content);
  7.         $buffer .= $this->_doc->loadRenderer('styles')->render($head$params$content);
  8.         $buffer .= $this->_doc->loadRenderer('scripts')->render($head$params$content);
  9.         return $buffer;
  10.     }
  1.     if(file_exists($head)) { 
  2.     require_once($head); 
  3.     } 
  4. }
  5. $header_renderer = new JDocumentRendererHead($doc);
  6. $header_contents $header_renderer->render(null);
  7.     
  8. ?>
  9. <!DOCTYPE html>
  10. <html class="error-page" xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language?>" lang="<?php echo $this->language?>" dir="<?php echo $this->direction?>">
  11.     <head>
require('/var/www/vhosts/dehummelhoeve.nl/httpdocs/templates/shaper_kidzy/error.php') in /var/www/vhosts/dehummelhoeve.nl/httpdocs/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.     }
  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.     /**
  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.      *
  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.         }
  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.                 'template'         => $template->template,
  2.                 'directory'        => JPATH_THEMES,
  3.                 'debug'            => JDEBUG,
  4.                 'csp_nonce'        => $app->get('csp_nonce'),
  5.                 'templateInherits' => $template->parent,
  6.                 'params'           => $template->params,
  7.             ]
  8.         );
  9.     }
  10. }
  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('/var/www/vhosts/dehummelhoeve.nl/httpdocs/includes/app.php') in /var/www/vhosts/dehummelhoeve.nl/httpdocs/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

Call to a member function getParams() on null

  1.                     'isPartOf' => ['@id' => $baseId 'WebPage/base'],
  2.                     'name'     => htmlentities($menu->title),
  3.                     'blogPost' => [],
  4.                 ];
  5.                 if ($menu->getParams()->get('menu-meta_description')) {
  6.                     $additionalSchema['description'] = htmlentities($menu->getParams()->get('menu-meta_description'));
  7.                 }
  8.                 $model $component->createModel($view'Site');
Joomla->Joomla\Plugin\Content\Joomla\Extension\{closure}() in /var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Cache/Controller/CallbackController.php (line 120)
  1.         $coptions['nomodules'] = $woptions['nomodules'] ?? 1;
  2.         ob_start();
  3.         ob_implicit_flush(false);
  4.         $result \call_user_func_array($callback$referenceArgs);
  5.         $output ob_get_clean();
  6.         $data = ['result' => $result];
  7.         if ($wrkarounds) {
  1.                 }
  2.                 array_unshift($additionalSchemas$additionalSchema);
  3.                 return $additionalSchemas;
  4.             }, [$view$id]);
  5.         }
  6.         if (!empty($additionalSchemas)) {
  7.             $mySchema['@graph'] = array_merge($mySchema['@graph'], $additionalSchemas);
  8.         }
  1.         $schema  $event->getSchema();
  2.         [$extension$view$id] = explode('.'$context);
  3.         if ($extension === 'com_content' && $this->params->get('schema_content'1)) {
  4.             $this->injectContentSchema($context$schema);
  5.         } elseif ($extension === 'com_contact' && $this->params->get('schema_contact'1)) {
  6.             $this->injectContactSchema($context$schema);
  7.         }
  8.     }
  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.     }
  1.             'subject' => $schema,
  2.             'context' => $context '.' $itemId,
  3.         ]);
  4.         PluginHelper::importPlugin('schemaorg'nulltrue$dispatcher);
  5.         $dispatcher->dispatch('onSchemaBeforeCompileHead'$event);
  6.         $data $schema->get('@graph');
  7.         foreach ($data as $key => $entry) {
  8.             $data[$key] = $this->cleanupSchema($entry);
  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.     }
  1.         }
  2.         // Trigger the onBeforeCompileHead event
  3.         $app->getDispatcher()->dispatch(
  4.             'onBeforeCompileHead',
  5.             new BeforeCompileHeadEvent('onBeforeCompileHead', ['subject' => $app'document' => $this->_doc])
  6.         );
  7.         // Add Script Options as inline asset
  8.         $scriptOptions $this->_doc->getScriptOptions();
  1.      * @since   3.5
  2.      */
  3.     public function render($head$params = [], $content null)
  4.     {
  5.         $buffer  '';
  6.         $buffer .= $this->_doc->loadRenderer('metas')->render($head$params$content);
  7.         $buffer .= $this->_doc->loadRenderer('styles')->render($head$params$content);
  8.         $buffer .= $this->_doc->loadRenderer('scripts')->render($head$params$content);
  9.         return $buffer;
  10.     }
  1.             $cbuffer[$hash] = $tmpdata;
  2.             $cache->store($cbuffer'cbuffer_' $type);
  3.         } else {
  4.             $this->setBuffer($renderer->render($name$attribsnull), $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.         if ($this->isClient('site') && $this->get('caching') && $this->get('caching'2) == && !Factory::getUser()->get('id')) {
  2.             $caching true;
  3.         }
  4.         // Render the document.
  5.         $data $this->document->render($caching$this->docOptions);
  6.         // Set the application output data.
  7.         $this->setBody($data);
  8.         // Trigger the onAfterRender event.
  1.                 $this->set('themeInherits'$template->parent);
  2.                 break;
  3.         }
  4.         parent::render();
  5.     }
  6.     /**
  7.      * Route the application.
  8.      *
  1.             $this->doExecute();
  2.             // If we have an application document object, render it.
  3.             if ($this->document instanceof \Joomla\CMS\Document\Document) {
  4.                 // Render the application output.
  5.                 $this->render();
  6.             }
  7.             // If gzip compression is enabled in configuration and the server is compliant, compress the output.
  8.             if ($this->get('gzip') && !ini_get('zlib.output_compression') && ini_get('output_handler') !== 'ob_gzhandler') {
  9.                 $this->compress();
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/var/www/vhosts/dehummelhoeve.nl/httpdocs/includes/app.php') in /var/www/vhosts/dehummelhoeve.nl/httpdocs/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] Error
Error:
Call to a member function getParams() on null

  at /var/www/vhosts/dehummelhoeve.nl/httpdocs/plugins/content/joomla/src/Extension/Joomla.php:323
  at Joomla\Plugin\Content\Joomla\Extension\Joomla->Joomla\Plugin\Content\Joomla\Extension\{closure}()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Cache/Controller/CallbackController.php:120)
  at Joomla\CMS\Cache\Controller\CallbackController->get()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/plugins/content/joomla/src/Extension/Joomla.php:376)
  at Joomla\Plugin\Content\Joomla\Extension\Joomla->injectContentSchema()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/plugins/content/joomla/src/Extension/Joomla.php:240)
  at Joomla\Plugin\Content\Joomla\Extension\Joomla->onSchemaBeforeCompileHead()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/plugins/system/schemaorg/src/Extension/Schemaorg.php:431)
  at Joomla\Plugin\System\Schemaorg\Extension\Schemaorg->onBeforeCompileHead()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Document/Renderer/Html/MetasRenderer.php:64)
  at Joomla\CMS\Document\Renderer\Html\MetasRenderer->render()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Document/Renderer/Html/HeadRenderer.php:39)
  at Joomla\CMS\Document\Renderer\Html\HeadRenderer->render()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/templates/shaper_kidzy/error.php:58)
  at require('/var/www/vhosts/dehummelhoeve.nl/httpdocs/templates/shaper_kidzy/error.php')
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Document/HtmlDocument.php:731)
  at Joomla\CMS\Document\HtmlDocument->_loadTemplate()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Document/HtmlDocument.php:785)
  at Joomla\CMS\Document\HtmlDocument->_fetchTemplate()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Document/HtmlDocument.php:622)
  at Joomla\CMS\Document\HtmlDocument->parse()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Document/HtmlDocument.php:640)
  at Joomla\CMS\Document\HtmlDocument->render()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Document/ErrorDocument.php:139)
  at Joomla\CMS\Document\ErrorDocument->render()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Error/Renderer/HtmlRenderer.php:78)
  at Joomla\CMS\Error\Renderer\HtmlRenderer->render()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Exception/ExceptionHandler.php:136)
  at Joomla\CMS\Exception\ExceptionHandler::render()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Exception/ExceptionHandler.php:73)
  at Joomla\CMS\Exception\ExceptionHandler::handleException()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Application/CMSApplication.php:336)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/includes/app.php:58)
  at require_once('/var/www/vhosts/dehummelhoeve.nl/httpdocs/includes/app.php')
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/index.php:32)                
[1/2] Error
Error:
Call to a member function getParams() on null

  at /var/www/vhosts/dehummelhoeve.nl/httpdocs/plugins/content/joomla/src/Extension/Joomla.php:323
  at Joomla\Plugin\Content\Joomla\Extension\Joomla->Joomla\Plugin\Content\Joomla\Extension\{closure}()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Cache/Controller/CallbackController.php:120)
  at Joomla\CMS\Cache\Controller\CallbackController->get()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/plugins/content/joomla/src/Extension/Joomla.php:376)
  at Joomla\Plugin\Content\Joomla\Extension\Joomla->injectContentSchema()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/plugins/content/joomla/src/Extension/Joomla.php:240)
  at Joomla\Plugin\Content\Joomla\Extension\Joomla->onSchemaBeforeCompileHead()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/plugins/system/schemaorg/src/Extension/Schemaorg.php:431)
  at Joomla\Plugin\System\Schemaorg\Extension\Schemaorg->onBeforeCompileHead()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Document/Renderer/Html/MetasRenderer.php:64)
  at Joomla\CMS\Document\Renderer\Html\MetasRenderer->render()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Document/Renderer/Html/HeadRenderer.php:39)
  at Joomla\CMS\Document\Renderer\Html\HeadRenderer->render()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Document/HtmlDocument.php:575)
  at Joomla\CMS\Document\HtmlDocument->getBuffer()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Document/HtmlDocument.php:894)
  at Joomla\CMS\Document\HtmlDocument->_renderTemplate()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Document/HtmlDocument.php:647)
  at Joomla\CMS\Document\HtmlDocument->render()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Application/CMSApplication.php:1073)
  at Joomla\CMS\Application\CMSApplication->render()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Application/SiteApplication.php:732)
  at Joomla\CMS\Application\SiteApplication->render()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/libraries/src/Application/CMSApplication.php:311)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/includes/app.php:58)
  at require_once('/var/www/vhosts/dehummelhoeve.nl/httpdocs/includes/app.php')
     (/var/www/vhosts/dehummelhoeve.nl/httpdocs/index.php:32)