×
Kunena 5.1.10 Released - Security release (03 Mar 2019)

The Kunena team has announce the arrival of Kunena 5.1.10 [K 5.1.10] which is now available for download as a native Joomla extension for J! 3.9.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1. This is a security release.

Question 0 - Argument 1 passed to ComponentKunenaControllerApplicationHomeDefaultDisplay

More
4 weeks 18 hours ago - 3 weeks 6 days 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! [ Click to expand ]

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! [ Click to expand ]

Kunena version detailed: Kunena 5.1.10.1 | 2019-03-04 [ Janus ]
| Kunena detailed configuration:

Warning: Spoiler! [ Click to expand ]
| Kunena integration settings:
Warning: Spoiler! [ Click to expand ]
| Joomla! detailed language files installed:
Warning: Spoiler! [ Click to expand ]

Third-party components: None

Third-party SEF components: None

Plugins: None

Modules: None

Last edit: 3 weeks 6 days ago by Baronet. Reason: Configuration report correct added.

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

More
3 weeks 6 days 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
3 weeks 6 days 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
3 weeks 6 days ago - 3 weeks 6 days 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: 3 weeks 6 days ago by rich.

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

More
3 weeks 6 days ago #5 by 810
try else: line 48 to :
$menu = Factory::getApplication()->getMenu();


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

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.099 seconds