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

This category is for K 1.7 issues only.

Question "Invalid argument" warning given after 1.6.0 to 1.6.1 upgrade

More
15 years 5 months ago #75593 by cbird01
Warning: Invalid argument supplied for foreach() in /home/{username}/public_html/components/com_kunena/router.php on line 150

This warning is showing on every page in my website ever since I did the upgrade to 1.6.1 and I can not figure out why.

Your help is appreciated

Craig

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

More
15 years 5 months ago #75603 by xillibit
Hello,

Can-you try to replace the router.php file by one which in the kunena archive ?

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
15 years 5 months ago - 15 years 5 months ago #75827 by cbird01
The error message goes away on the rest of the site, but I get the following error when I open the forum:

Fatal error: Class 'KunenaRouter' not found in /home/{username}/public_html/components/com_kunena/kunena.php on line 61

The new router.php file that showed up with the new version is substantially larger than the old file:
10,371 bytes vs 408 bytes on the old file version.
Last edit: 15 years 5 months ago by cbird01.

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

More
15 years 5 months ago #75834 by xillibit
This error is weird

Are-you sure that the file router.php is present in /components/com_kunena/ ?

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
15 years 5 months ago - 15 years 5 months ago #75840 by cbird01
Yes it is definitely there. As soon as I got the first error that referenced router.php, I went to the referenced file location and opened the router.php file.

I renamed that new file routerNEW.php, then uploaded the backed up router.php from my site backup from a few weeks ago.

When you reference the kunena archive, are you meaning some other location to replace the new file with?
Last edit: 15 years 5 months ago by cbird01.

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

More
15 years 5 months ago #75841 by xillibit
I mean replace the router.php file by which on is available in kunena official archive and not from your backup.

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