×
Kunena 5.1.6.1 Released - Security Release (09 Nov 2018)

The Kunena team has announce the arrival of Kunena 5.1.6 [K 5.1.6] which is now available for download as a native Joomla extension for J! 3.9.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1. This is a Security release.

K5.1.6.1 is a install update.

× 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
4 years 9 months ago - 4 years 9 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: 4 years 9 months ago by tbganesha.

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

  • sozzled
  • Visitor
4 years 9 months ago - 4 years 9 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: 4 years 9 months ago by sozzled.

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.072 seconds