Kunena 6.3.1 released

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

Question Error in the history if the topic is not approved

More
1 week 4 days ago #1 by Smirnov
Hello. When I try to edit a user's post under the admin account, I got a similar warning:
Code:
Rendering Error in layout Topic/Edit: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

There might be a relation here. I am not using EacySocial.
The following user(s) said Thank You: xillibit

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

More
1 week 1 day ago #2 by rich
I cannot reproduce this error. Is there no more information in debug mode?
The following user(s) said Thank You: Smirnov

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

More
1 week 13 hours ago - 1 week 13 hours ago #3 by Smirnov
Okay. I have researched this problem in detail.
The problem occurs when a forum user's post that opens a new topic requires administrator approval:
Code:
The links or images has been removed from your message because you aren't allowed to add them. Your message has been successfully posted. It will be reviewed by a moderator before it will be published on the forum.

If a user's post is not approved for posting on the forum, but the forum administrator wants to change the text of the post, errors appear:
Code:
Rendering Error in layout Topic/Edit: array_keys(): Argument #1 ($array) must be of type array, null given in /var/www/xxx/components/com_kunena/src/Controller/Topic/Form/History/TopicFormHistoryDisplay.php on line 92
Code:
Layout was rendered in /var/www/xxx/components/com_kunena/template/aurelia/pages/topic/edit/default.php on line 44


 

Warning also appears:
Code:
Warning: Kunena: The crypsis template is incompatible, use aurelia instead.

 

This problem disappears after the forum administrator publishes the user's post.

P.S. I apologize, I should have provided a detailed reproduce of the problem. Please let me know if attempting to reproduce the problem fails again.
 
Last edit: 1 week 13 hours ago by Smirnov.
The following user(s) said Thank You: rich

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

More
1 week 2 hours ago #4 by rich
Thank you very much, now I can reproduce the error and will create a ticket on Git. It's a bug.
The error is triggered because no history can be displayed for a topic that has not been approved. This error is only visible for responsible moderators and admins. If it bothers you, you can temporarily deactivate the history in the configuration (frontend tab).

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

Time to create page: 0.511 seconds