Kunena 5.2 Beta 1 Released (24 Sep 2020)

The Kunena team is thrilled to announce the first public beta release of Kunena 5.2, a native Joomla extension for Joomla 3.9. This is a development release and should be only be used for testing; this version is not recommended for live websites at this stage.

The purpose of this release is to encourage testing by downloading, installing and identifying any problems or shortcomings that people may discover. K 5.2.0 B1 is stable and we are aware that people will discover defects. We encourage you to use the forum to report defects, as soon as they are discovered, so that the development team can work through the problems before the release of K 5.1 as a stable product. Reporting defects does not mean that the problems can or will be fixed. The Kunena team is looking forward to hearing your feedback on how well we have achieved our design goals.

× Please note: The Kunena project team takes NO responsibility for maintaining nor supporting anything in this category.

Question Category view and sef causes 500 error when the url is a non kunena url

6 years 4 months ago #1 by alanski
No forum config needed here :)

The issue: we have some old urls after a site move whci h are beyond our control - google just indexes them.
eg "forum/our-services/itemlist/category/100-newsroom"

This is some old mangled url that is from k2 link.

Kunena sees the sef url and assumes its a forum url and tries to fire $category->getLastTopic(); in views/category/view.html.php line 227

This creates a 500 error as the category is null.

This could hurt your SEO if you have urls coming in like this. We found them in Google Webmaster tools.

Our fix was to edit the function displaycategory

function displayCategory($category) {

$app = JFactory::getApplication();
$url = JRoute::_('index.php?option=com_kunena');
$app->redirect($url, true);
//end add

Not sure if this should really be checked in the router? [// Support URIs like: /forum/12-my_category] line 82

Hopefully this helps someone else

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.077 seconds