Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] 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

Question 0 - Argument 1 passed to ComponentKunenaControllerApplicationHomeDefaultDisplay

More
7 years 1 month ago - 7 years 1 month ago #209138 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: 7 years 1 month ago by Baronet. Reason: Configuration report correct added.

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

More
7 years 1 month ago #209170 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.

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
7 years 1 month ago #209172 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
7 years 1 month ago - 7 years 1 month ago #209174 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.

Important! Always create a backup before you make any changes to your website!
Last edit: 7 years 1 month ago by rich.

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

More
7 years 1 month ago #209176 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
6 years 7 months ago #211194 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.

Time to create page: 0.299 seconds