Kunena 6.2.5 & module Kunena Latest 6.0.7 released

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

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

K 2.0 support will cease on 31 August 2013 and this section of the forum will be closed and archived after that time and no further questions will be answered about this version.

Question preg_match() expects parameter 2 to be string array given

More
10 years 2 months ago - 10 years 2 months ago #1 by tbganesha
Firstly, I'd like to say sorry because the topic should be posted in Kunena 2.0 category.

I'm still using kunena 2.04 because it's the latest version available for Joomla 1.5

I get many PHP Warnings in the error log :
PHP Warning: preg_match() expects parameter 2 to be string, array given in ../administrator/components/com_kunena/libraries/route/route.php on line 307

The snippet around line 307 in route.php :
foreach (JRequest::get( 'get' ) as $key=>$value) {
if (preg_match('/[^a-zA-Z]/', $key)) continue;
if ($key == 'q' || $key == 'searchuser') {
// Allow all values
} elseif (preg_match('/[^a-zA-Z0-9_ ]/i', $value)) {
// Illegal value
continue;
}
$get[$key] = $value;
}

How to solve the problem ? Thanks.
Last edit: 10 years 2 months ago by tbganesha.

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

More
10 years 2 months ago - 10 years 2 months ago #2 by sozzled

tbganesha wrote: How to solve the problem ? Thanks.

Simple solution: migrate to J! 3.2 and use K 3.0.4 because,

(a) J! 1.5 is not supported by anyone; and

(b) we do not answer questions about K 2.0.4 on this forum.
Last edit: 10 years 2 months ago by sozzled.

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

Time to create page: 0.431 seconds