Kunena 6.2.5 & module Kunena Latest 6.0.7 released

The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

Question 0 - Argument 1 passed to ComponentKunenaControllerApplicationHomeDefaultDisplay

More
5 years 1 week ago - 5 years 1 week ago #1 by Baronet
Hello, I was recently forced to make some updates to a Joomla site, and upgraded Kunena to version 5 . Since then I'm getting this error:

0 - Argument 1 passed to ComponentKunenaControllerApplicationHomeDefaultDisplay::getDefaultMenuItem() must be an instance of Joomla\CMS\Menu\SiteMenu, instance of JMenuSite given, called in /home/vanmini/public_html/components/com_kunena/controller/application/home/default/display.php on line 56

The site uses an Arstisteer Template.

Here is the page link: vancouverminiclub.ca/forum.html

Any help would be appreciated.

Thank you.

Report Config in attachment

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: 256M | Max file upload: 64M

Kunena menu details:

Warning: Spoiler!

Joomla default template details : VMCMar182015 | author:


| version: 2.0 | creationdate: 2015-03-18

Kunena default template details : Crypsis | author: Kunena Team | version: 5.1.10.1 | creationdate: 2019-03-04

Kunena template params:

Warning: Spoiler!

Kunena version detailed: Kunena 5.1.10.1 | 2019-03-04 [ Janus ]
| 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: None

Modules: None

Last edit: 5 years 1 week ago by Baronet. Reason: Configuration report correct added.

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

More
5 years 1 week ago #2 by rich

Report Config in attachment

Please not as attachment, all users could download this file. Ive removed the file. docs.kunena.org/en/faq/configuration-report

You can install the Nightly Build (Kunena 5.1), it should solves your problem. Go to our download page and scroll down, then you see it.

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

More
5 years 1 week ago #3 by Baronet
Thank you Rich,
I've install the Nightly build Kunena 5.1.11-DEV, cleared the cache, but the problem persists. the error has now moved to line 58:

0 - Argument 1 passed to ComponentKunenaControllerApplicationHomeDefaultDisplay::getDefaultMenuItem() must be an instance of Joomla\CMS\Menu\AbstractMenu, instance of JMenuSite given, called in /home/vanmini/public_html/components/com_kunena/controller/application/home/default/display.php on line 58

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

More
5 years 1 week ago - 5 years 1 week ago #4 by rich
Please check your main menu. You have the correct menu item to the fotum trashed and created a wrong menu item to the forum.
The menu item in the trash with ID 167 is the corectly menu item and
the menu item in the main menu with ID 124 is wrong

If you this not repair, you can't go to the forum.
Last edit: 5 years 1 week ago by rich.

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

More
5 years 1 week ago #5 by 810
try else: line 48 to :
Code:
$menu = Factory::getApplication()->getMenu();


And add this to line 13:
Code:
use Joomla\CMS\Factory;

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

More
4 years 6 months ago #6 by oystercafe
I had the same issue, I tried solution above but it didn't work.
Here is the Configuration Report.
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: 128M | Max file upload: 16M

Kunena menu details:

Warning: Spoiler!

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

Kunena default template details : Blue Eagle5 | author: Kunena Team | version: 1.5.2 | creationdate: 2018-12-11

Kunena template params:

Warning: Spoiler!

Kunena version detailed: Kunena 5.1.15-DEV | 2019-09-08 [ Internal ]
| 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: None

Modules: Kunena Latest 5.1.1

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

More
4 years 5 months ago - 4 years 5 months ago #7 by Wiz
Hi,

I have exact same problem.

Fresh install of Joomla! 3.9.12
Kunena 5.1.15
PayPlan 4.0.14
Default Protostar template

It only works well if I disable my PayPlans System plugin.




Kunena always the best!
Last edit: 4 years 5 months ago by Wiz.

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

More
4 years 5 months ago #8 by rich
I do not know this plugin. Is this feature also needed on the forum pages? If not, disable it on the forum pages. You can do it with a plugin such as this: extensions.joomla.org/extension/js-css-control/

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

Time to create page: 0.487 seconds