Topic-icon Rendering Error after login

Active Subscriptions:

None
5 years 3 months ago - 5 years 3 months ago #65031 by tcn
We are setting up Kunena ahead of a migration. When I log in with my site administrator account, I receive the following error:
Rendering Error in layout Widget/Module: Call to a member function cachedCompile() on null. Please enable debug mode for more information.

With debugging turned on, as suggested, the full error message is:
Rendering Error in layout Widget/Module: Call to a member function cachedCompile() on null in /var/www/vhosts/transalpclub.nl/kunena.transalpclub.nl/plugins/system/helix3/core/helix3.php on line 774
Layout was rendered in /var/www/vhosts/transalpclub.nl/kunena.transalpclub.nl/components/com_kunena/template/crypsisb3/layouts/page/default.php on line 25

helix3.php line 774 (-->):
	public static function addLess($less, $css, $attribs = array())
	{
		$template  = JFactory::getApplication()->getTemplate();
		$themepath = JPATH_THEMES . '/' . $template;

		if (self::getParam('lessoption') and self::getParam('lessoption') == '1')
		{
			if (file_exists($themepath . "/less/" . $less . ".less"))
			{
-->				self::getInstance()->autoCompileLess($themepath . "/less/" . $less . ".less", $themepath . "/css/" . $css . ".css");
			}
		}
		self::getInstance()->addCSS($css . '.css', $attribs);

		return self::getInstance();
	}

default.php line 25 (-->):
	if ($config->get('displayModule'))
	{
-->		echo $this->subLayout('Widget/Module')->set('position', 'kunena_top');
	}

The if statement is inside a block starting with:
<div id="kunena" class="layout <?php echo $this->options->get('pageclass_sfx'); ?>">
	<?php

The module is published in the kunena_top position.

I haven't got a clue where to start looking. With a normal, non-privileged, account the module works fine.

Any help would be appreciated.
Last edit: 5 years 3 months ago by tcn.
The topic has been locked.
Support Specialist
5 years 3 months ago #65042 by alzander
I don't think this issue has anything to do with JFBConnect or our SCLogin module. It sounds like an issue with Kunena or your template, but I'm unsure what. I'd recommend you contact either of those developers to hopefully help you narrow down the issue further and get things going.

If there is a reason you think our extensions are causing this issue, definitely let us know and we'll help however we can.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
5 years 3 months ago - 5 years 3 months ago #65045 by tcn
Replied by tcn on topic Rendering Error after login
Thanks. I'll ask the the other parties. It kinda makes sense, seeing that their code is mentioned in the error message.

I'll let you know of their findings. It may safe other people coming across this issue some time.
Last edit: 5 years 3 months ago by tcn.
The topic has been locked.
Support Specialist
5 years 3 months ago #65046 by alzander
Sounds good, and keep us posted. Again, if you think it's related to anything with our extensions, just let us know what you're using (SCLogin or JFBConnect or both) and what versions.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
5 years 2 months ago #65142 by tcn
Replied by tcn on topic Rendering Error after login
Together with help from Kunena and JoomDev we determined that the issue is in the template we have in use. We were unable, however, to reproduce the issue and/or determine its cause.

For us it's minor since super users will not log in to the frontend of the forum. Case closed.
The topic has been locked.
Support Specialist
5 years 2 months ago #65143 by alzander
Glad to hear the issue is resolved.

If you run into anything else or need more assistance, please let us know.

Thanks,
Alex
The topic has been locked.