Kunena 7.0.6 & Kunena 6.4.12 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.0.6 [K 7.0.6] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0.

The Kunena team is also pleased to announce the twelfth version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.0.

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Solved Kunena Discuss Error: Rendering Error in layout Topic/Item

More
6 years 1 week ago - 6 years 1 week ago #213303 by Sokrates
The Kunena Discuss is displayed before Read More in the Article Newsflash Module and "Rendering Error in layout Topic/Item: Call to a member function getIcon() on null. Please enable debug mode for more information." The error occur when the Article Newsflash Module is shown on a page that does not have any articles to be commented. The error do not occur when the Article Newsflash Module is shown on on a page where a single article is shown in stead of the blog view. It doesn't matter if I add the category of the page and a Kunena Discuss category and link them for the category.

I've tested to show the Article Newsflash Module on another menu page showing a single article and the error appears there too, so it seems that this error only appear when displaying the Article Newsflash Module on a page where a single article is show.

Kunena Discuss debug:

[KunenaDiscuss debug: onPrepareContent.Parent category ID is: 9 ]
[KunenaDiscuss debug: onPrepareContent.Allow: Category 73 is in the category map using Kunena category 46 ]
[KunenaDiscuss debug: onPrepareContent: we are viewing an article. ]
[KunenaDiscuss debug: onPrepareContent: Article 159 ]
[KunenaDiscuss debug: onPrepareContent: Custom Topics disabled ]
[KunenaDiscuss debug: showPlugin: Loading Stored Topic 12 ]
[KunenaDiscuss debug: showPlugin: Close time by last post ]
[KunenaDiscuss debug: showPlugin: Displaying form ]
[KunenaDiscuss debug: showTopic: Rendering discussion ]

I'm running: Joomla 3.9.19, Protostar template, Kunena 5.1.16, Kunena Discuss 5.1.2

Any idea why this error occur and how to solve it?
Last edit: 6 years 1 week ago by Sokrates.

Please Log in or Create an account to join the conversation.

More
6 years 1 week ago #213307 by rich

Please enable debug mode for more information.

I think you should enable the Kunena debug and also additionally also Joomla debug. Set the error report to maximum for Joomla debug (Global Configuration -> tab Server). Maybe you get more precise error message.

Important! Always create a backup before you make any changes to your website!

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago - 5 years 2 months ago #216718 by Sokrates
I must have forgotten about this issue I already had 9 months ago. I found my old post when searching for a solution when I saw this issue again.

Error message without activating debug:
Rendering Error in layout Topic/Item: Call to a member function getIcon() on null. Please enable debug mode for more information.

Joomla Debug:
Rendering Error in layout Topic/Item: Property "topic" is not defined in /mywebsite.com/components/com_kunena/template/crypsis/layouts/topic/item/default.php on line 15
Layout was rendered in /mywebsite.com/libraries/kunena/layout/base.php on line 168

Kunena Discuss debug:
[KunenaDiscuss debug: Constructor called in com_content ]
[KunenaDiscuss debug: createTable: Check if plugin table exists. ]
[KunenaDiscuss debug: onPrepareContent.Parent category ID is: 11 ]
[KunenaDiscuss debug: onPrepareContent.Allow: Category 70 is in the category map using Kunena category 38 ]
[KunenaDiscuss debug: onPrepareContent: we are viewing an article. ]
[KunenaDiscuss debug: onPrepareContent: Article 328 ]
[KunenaDiscuss debug: onPrepareContent: Custom Topics disabled ]
[KunenaDiscuss debug: showPlugin: Loading Stored Topic 49 ]
[KunenaDiscuss debug: showPlugin: Close time by last post ]
[KunenaDiscuss debug: showPlugin: Displaying form ]
[KunenaDiscuss debug: showTopic: Rendering discussion ][KunenaDiscuss debug: onAfterDisplayContent: Returning content for article 328 ]

Joomla: 3.9.25
Kunena: 5.2.3 (2021-03-07)
Kunena Discuss: 5.2.1 (2021-03-08)
Last edit: 5 years 2 months ago by Sokrates.

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago - 5 years 2 months ago #216719 by Sokrates

Joomla Debug:
Rendering Error in layout Topic/Item: Property "topic" is not defined in /mywebsite.com/components/com_kunena/template/crypsis/layouts/topic/item/default.php on line 15
Layout was rendered in /mywebsite.com/libraries/kunena/layout/base.php on line 168


Line 15 (default.php): $topic = $this->topic;

Line 168 (base.php): include $path;

It looks like the $topic array does not get filed with values.

This is the configuration:
This message contains confidential information

Database collation check: ✔ The collation of your table fields are correct
        

Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Disabled |
        

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 30 seconds | Max execution memory: 768M | Max file upload: 512M

Kunena menu details:

Warning: Spoiler!

Joomla default template details : protostar | author: Kyle Ledbetter | version: 1.0 | creationdate: 4/30/2012

Kunena default template details : Crypsis | author: Kunena Team | version: 5.2.3 | creationdate: 2021-03-07

Kunena template params:

Warning: Spoiler!

Kunena version detailed: Kunena 5.2.3 | 2021-03-07 [ Jason ]
        | Kunena detailed configuration:

Warning: Spoiler!
| Kunena integration settings:
Warning: Spoiler!
| Joomla! detailed language files installed:
Warning: Spoiler!

Third-party components: None

Third-party SEF components: None

Plugins: Content - Kunena Discuss 5.2.1

Modules: None

Last edit: 5 years 2 months ago by Sokrates.

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #216740 by Sokrates

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago - 5 years 2 months ago #216989 by Sokrates
Please could anyone confirm if Kunena Discuss plugin is working and includes the comments being made in its article. If it works on some websites, then it would be good to know its configuration, so it can be compared with mine where it does not work.
Last edit: 5 years 2 months ago by Sokrates.

Please Log in or Create an account to join the conversation.

Time to create page: 0.257 seconds