You need to change line 340..341 in the plugin
-
Because of the fact that the search term not being set, could return different responses from different PHP versions, including one that generates an error in the server’s error log, you need to consider that using _get_search_terms($referer) in line 340 is not recommended.
Instead, change these two lines (340,341) as follows:
340) if(self::_get_search_terms($referer) !==””) { $mysearchterm =self::_get_search_terms($referer); } else { $mysearchterm = “unknown”; }
341) self::$stat[‘searchterms’] = $mysearchterm;Otherwise, it can generate needless and useless error messages.
Thank you for an otherwise great plugin
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘You need to change line 340..341 in the plugin’ is closed to new replies.