Fatal errorについて
-
Fatal error: Cannot redeclare wp_pagenavi() (previously declared in /home/users/0/サーバ情報/web/サブドメイン/wp-content/plugins/wp-pagenavi/core.php:10) in /home/users/0/サーバ情報/web/サブドメイン/wp-content/themes/ani-world/functions.php on line 49
ワードプレス公式サイトから、ある標準のテーマを検索し、インストールして有効化ボタンをクリックしてから、上記のようなエラーが表示されてログインできなくなりました。
「/wp-content/themes/ani-world/functions.php on line 49」を頼って「wp-content」フォルダ内の「themes」フォルダから「functions.php」ファイルを探してみたのですが、そのファイルが下記です。ただ、「ani-world」フォルダではなく、「twentyten」フォルダというのが気になるところではありますが・・・。ここから
/**
* Set the content width based on the theme’s design and stylesheet.
*
* Used to set the width of images and content. Should be equal to the width the theme
* is designed for, generally via the style.css stylesheet.
*/
if ( ! isset( $content_width ) )
$content_width = 640;
★★49行目★★
/** Tell WordPress to run twentyten_setup() when the‘after_setup_theme‘ hook is run. */
add_action( ‘after_setup_theme‘, ‘twentyten_setup‘‘);if ( ! function_exists( ‘twentyten_setup‘ ) ):
/**
* Sets up theme defaults and registers support for various WordPress features.
*
* Note that this function is hooked into the after_setup_theme hook, which runs
* before the init hook. The init hook is too late for some features, such as indicating
* support post thumbnails.
*
ここまで※因みに49行目は1行分の余白になっていました。
当方、windows-vistaです。
詳しい方、教えて下さい。
宜しくお願いします。
トピック「Fatal errorについて」には新たに返信することはできません。