Kunena 7.0.2 Released

The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/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

Solved Thank you error Kunena 6.4.1 - Joomla 5.2.5

More
11 months 2 weeks ago #233106 by ssnobben

Hello,

Are-you using Php 8.4 or Php 8.3 series ?
 


I am using php 8.1.+

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

More
11 months 1 day ago #233203 by xillibit
Hello,

Do-you still encounter the same issue with Kunena 6.4.2 ?

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
11 months 1 day ago - 11 months 1 day ago #233206 by ssnobben
Yes still have this issue on Joomla 5.3.0 and Kunena 6.4.2

very annoying hmmm any  tips how to fix this?
Code:
0 Kunena\Forum\Libraries\Forum\Message\Thankyou\KunenaMessageThankyouHelper::get(): Return value must be of type Kunena\Forum\Libraries\Forum\Message\Thankyou\KunenaMessageThankyou, bool returned
Last edit: 11 months 1 day ago by ssnobben.

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

More
11 months 20 hours ago #233213 by xillibit
Try by deleting the content of the line 70 : github.com/Kunena/Kunena-Forum/blob/K6.4...ankyouHelper.php#L70 and put this at the same place : 
return new KunenaMessageThankyou;

I don't provide support by PM, because this can be useful for someone else.
The following user(s) said Thank You: ssnobben

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

More
7 months 1 week ago #233832 by ssnobben

Try by deleting the content of the line 70 : github.com/Kunena/Kunena-Forum/blob/K6.4...ankyouHelper.php#L70 and put this at the same place : 
return new KunenaMessageThankyou;
Ok thks will check this..

have error message like this when doing thank you0Too few arguments to function Kunena\Forum\Libraries\Forum\Message\Thankyou\KunenaMessageThankyou::__construct(), 0 passed in /var/www/www.site.com/libraries/kunena/src/Forum/Message/Thankyou/KunenaMessageThankyouHelper.php on line 69 and exactly 1 expected

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

More
7 months 1 week ago - 7 months 1 week ago #233833 by ssnobben
What should I change there? Ok I have this code there line 60-78

public static function get(int $identifier, $reload = false): KunenaMessageThankyou
    {
        if ($identifier instanceof KunenaMessageThankyou) {
            return $identifier;
        }

        $id = \intval($identifier);

        if ($id < 1) {
            return new KunenaMessageThankyou;
        }

        if ($reload || empty(self::$_instances [$id])) {
            unset(self::$_instances [$id]);
            self::loadMessages([$id]);
        }

        return self::$_instances [$id];
    }

 

Last edit: 7 months 1 week ago by ssnobben.

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

Time to create page: 0.268 seconds