I reinstalled a website after upgrading to wordpress 4.8.1 and I have a fatal error when I activate the qtranslate-xp plugin:
Cannot redeclare qs_base64_serialize() (previously declared in /home/xxx/www/xxx/wp-content/plugins/qtranslate/qtranslate_services.php:80) in /home/xxx/www/xxx/wp-content/plugins/qtranslate-xp/ppqtranslate_services.php on line 91
Here are the lines:
// serializing/deserializing functions
function qs_base64_serialize($var) {
if(is_array($var)) {
foreach($var as $key => $value) {
$var[$key] = qs_base64_serialize($value);
}
}
$var = serialize($var);
$var = strtr(base64_encode($var), '-_,', '+/=');
return $var;
}
I tried to comment these lines but I got an other fatal error later on.
It seems that qtranslate main plugin (Version 2.5.39 | By Qian Qin) is correctly activated but doesn't work.
Qtranslate Plus: Version 2.7.2 | By Papa Salvatore Mirko (Originally created by Qian Qin).
Actually, these 2 plugin pages are not accessible anymore and I couldn't find any solutions.