Summary:
Error after upgrading cms from 2.2 to 2.2.3.1
Detailed Description:
This error comes constant, each day, up to several times.
It spams my error page, and is one of the reasons, why my site loads blank error
lines.
[21-Sep-2017 01:08:50 Europe/Oslo] PHP Notice: Undefined variable:
search_engine in
/home/u889915015/public_html/modules/Statistics/Statistics.module.php on line
546
Witch are this line in the module.php
" if ($search_engine != '') {
// save search engine and keywords to database
$this->IncreaseValue("count_search_engine", $search_engine);
$statkeywords=$this->ReplaceKeywords(join($keyword_array, " "));
$statkeywords=utf8_encode($statkeywords);
if ($this->singlekeywords=='1') {
$singlekeywords=explode(' ',$statkeywords);
foreach ($singlekeywords as $keyword) {
$this->IncreaseValue("count_search_keywords", trim($keyword));
}
} else {
$this->IncreaseValue("count_search_keywords", trim($statkeywords));
}"