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 Error Thank You - KunenaActivity.php on line 101

More
1 month 3 weeks ago #234709 by ssnobben
Hi with the new kunena 7.0.2 with Joomla 6.0.3 and php 8.4.18 I got this error, any tips what is wrong, when doing a Thank you for a post:0Kunena6ActivityEasySocial::onAfterThankyou(): Argument #3 ($message) must be of type int, Kunena\Forum\Libraries\Forum\Message\KunenaMessage given, called in /var/www/vhosts/site.com/httpdocs/libraries/kunena/src/Integration/KunenaActivity.php on line 101

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

More
1 month 2 weeks ago #234712 by xillibit
Hello,

Can-you try this change : github.com/Kunena/Kunena-Forum/pull/10016/changes ?

I don't provide support by PM, because this can be useful for someone else.

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

More
1 month 2 weeks ago - 1 month 2 weeks ago #234713 by ssnobben
Hi tried this but still got this error showing after the Thank you.

0
Kunena6ActivityEasySocial::onAfterThankyou(): Argument #3 ($message) must be of type int, Kunena\Forum\Libraries\Forum\Message\KunenaMessage given, called in /var/www/vhosts/site.com/httpdocs/libraries/kunena/src/Integration/KunenaActivity.php on line 101
Last edit: 1 month 2 weeks ago by ssnobben.
The following user(s) said Thank You: xillibit

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

More
1 month 2 weeks ago #234728 by xillibit
I don't know the reason why it pass an int instead a message object, i'am not able to reproduce. Do-you have a test site on which i have a FTP acess to try to investigate ?

I don't provide support by PM, because this can be useful for someone else.

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

More
1 month 2 weeks ago #234737 by ssnobben
Yes can not by ftp right now. Also got this info

#1 [ROOT]/components/com_kunena/src/Controllers/TopicController.php(1702): Kunena\Forum\Libraries\Integration\KunenaActivity->__call()
#2 [ROOT]/components/com_kunena/src/Controllers/TopicController.php(1646): Kunena\Forum\Site\Controllers\TopicController->setThankyou()
#3 [ROOT]/libraries/kunena/src/Controller/KunenaController.php(324): Kunena\Forum\Site\Controllers\TopicController->thankyou()
#4 [ROOT]/libraries/kunena/src/Controller/KunenaController.php(227): Kunena\Forum\Libraries\Controller\KunenaController->executeTask()
#5 [ROOT]/components/com_kunena/src/Dispatcher/Dispatcher.php(113): Kunena\Forum\Libraries\Controller\KunenaController->execute()
#6 [ROOT]/libraries/src/Component/ComponentHelper.php(361): Kunena\Forum\Site\Dispatcher\Dispatcher->dispatch()
#7 [ROOT]/libraries/src/Application/SiteApplication.php(217): Joomla\CMS\Component\ComponentHelper::renderComponent()
#8 [ROOT]/libraries/src/Application/SiteApplication.php(271): Joomla\CMS\Application\SiteApplication->dispatch()
#9 [ROOT]/libraries/src/Application/CMSApplication.php(320): Joomla\CMS\Application\SiteApplication->doExecute()
#10 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
#11 [ROOT]/index.php(51): require_once('...')
#12 {main}

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

More
1 month 2 weeks ago #234743 by xillibit
Do-you have cache enabled ? It could be the reason if you make changes that it has no effect

I don't provide support by PM, because this can be useful for someone else.

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

Time to create page: 0.237 seconds