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

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Merged Moderate screen gives error message: Invalid argument - moderate.php line 44

More
13 years 8 months ago #132787 by nemmar
Hi,

I have a J2.5.6 site with a Kunena 2.0.2 forum. I am getting an error message in the posts when I try to moderate them. I have attached a screenshot.

... Invalid argument... moderate.php on line 44



Thanks for any advice on how to fix this!

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

More
13 years 8 months ago #132796 by sozzled

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

More
13 years 8 months ago #132806 by nemmar
Hi sozzled,

Here is my Kunena Forum configuration report. Since you wrote you haven't seen this problem before, I should mention that I have the Admin Tools Pro extension installed on my site and I have SuperUser login blocked in the site frontend. So I have a Registered user setup as the Kunena forum moderator. I don't know if that security restriction could be what is conflicting with the Kunena moderator issue.

This message contains confidential information

Database collation check: The collation of your table fields are correct

Legacy mode: Disabled | Joomla! SEF: Enabled | Joomla! SEF rewrite: Disabled | FTP layer: Disabled |

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 30 seconds | Max execution memory: 512M | Max file upload: 128M

Kunena menu details:

Warning: Spoiler!

Joomla default template details : rt_reflex | author: RocketTheme, LLC | version: 1.6.4 | creationdate: February 16, 2012

Kunena default template details : Blue Eagle 2.0 | author: Kunena Team | version: 2.0.2 | creationdate: 2012-09-02

Kunena version detailed: Kunena 2.0.2 | 2012-09-02 [ Botschafter ]
| 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: Content - Kunena Discuss 2.0.2

Modules: Kunena Latest 2.0.2 | Kunena Stats 2.0.2 | Kunena Login 2.0.2 | Kunena Search 2.0.2

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

More
13 years 8 months ago #132808 by sozzled
Thank you for the additional information.

I'm also not sure if some other extension(s) you may have added will cause the kind of error you are getting. Although, for the most part, K 2.0.2 should work quite well with K 2.5 we are aware that some issues mean that it would be more reasonable to write that K 2.0.x is not necessarily 100% J! 2.5 compatible in all cases.

If you have made modifications to the Joomla ACL settings (and applied custom Joomla ACL settings to how your users access the component) then this may add a further layer of complications to the case. Under those circumstances, it may be advisable to set your Joomla ACL settings - as they apply to the Kunena component - in a more "standard" (or default-like) way and see if this overcomes the problem.

It's also possible that some other extension included with your Rockettheme template may be the cause of the problem and that's something you may need to discuss with the Rockettheme people to see if they are aware of the issue.

One thing is evident from your config report: your Kunena forum is not setup in the way we recommend that it might be done (see The Kunena Menu for further information).

Perhaps other members of the community have see this error message, too, and may like to contribute their thoughts on the matter?

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

More
13 years 8 months ago #132821 by Winuser
It's a PHP warning, not an error. A PHP error will cause a script to terminate. You are seeing it because you have your PHP warning setting enabled.

Anyhoo... the warning is thrown in moderate.php (which belongs to Kunena). Typically you get those warnings when an operation is permitted on an element (i.e., a variable) before that element is initialized. For example, incrementing a loop counter should be done only after the counter is set to integer value zero. Thus, it's technically a coding flaw in the moderate.php script. It's also a very common warning because loops, arrays and other operations are often coded on the assumption that the target element will never be NULL. Eventually you can run into a scenario where the element IS null.

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

More
13 years 4 months ago #139070 by fifi

sozzled wrote: Perhaps other members of the community have see this error message, too, and may like to contribute their thoughts on the matter?

I got the same "invalid argument" when I want to moderate a post and, further more, it is impossible to move a post in another subject :sick:

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

Time to create page: 0.258 seconds