2012-03-16 9 views
0

私の既存のウェブサイト上のWordpressを統合しようとすると、エラーのエラーが、私はWordpressのコーデックスから、このガイドに従っ

Declaration of Walker_Page::start_lvl() should be compatible with that of Walker::start_lvl() [ On E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\post-template.php Line 1071 ] 
Declaration of Walker_Page::end_lvl() should be compatible with that of Walker::end_lvl() [ On E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\post-template.php Line 1071 ] 
Declaration of Walker_Page::start_el() should be compatible with that of Walker::start_el() [ On E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\post-template.php Line 1071 ] 
Declaration of Walker_Page::end_el() should be compatible with that of Walker::end_el() [ On E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\post-template.php Line 1071 ] 
Declaration of Walker_PageDropdown::start_el() should be compatible with that of Walker::start_el() [ On E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\post-template.php Line 1116 ] 
Declaration of Walker_Category::start_lvl() should be compatible with that of Walker::start_lvl() [ On E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\category-template.php Line 915 ] 
Declaration of Walker_Category::end_lvl() should be compatible with that of Walker::end_lvl() [ On E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\category-template.php Line 915 ] 
Declaration of Walker_Category::start_el() should be compatible with that of Walker::start_el() [ On E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\category-template.php Line 915 ] 
Declaration of Walker_Category::end_el() should be compatible with that of Walker::end_el() [ On E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\category-template.php Line 915 ] 
Declaration of Walker_CategoryDropdown::start_el() should be compatible with that of Walker::start_el() [ On E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\category-template.php Line 966 ] 
Declaration of Walker_Comment::start_lvl() should be compatible with that of Walker::start_lvl() [ On E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\comment-template.php Line 1400 ] 
Declaration of Walker_Comment::end_lvl() should be compatible with that of Walker::end_lvl() [ On E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\comment-template.php Line 1400 ] 
Declaration of Walker_Comment::start_el() should be compatible with that of Walker::start_el() [ On E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\comment-template.php Line 1400 ] 
Declaration of Walker_Comment::end_el() should be compatible with that of Walker::end_el() [ On E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\comment-template.php Line 1400 ] 
Redefining already defined constructor for class WP_Widget [ On E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\widgets.php Line 93 ] 
Declaration of Walker_Nav_Menu::start_lvl() should be compatible with that of Walker::start_lvl() [ On E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\nav-menu-template.php Line 109 ] 
Declaration of Walker_Nav_Menu::end_lvl() should be compatible with that of Walker::end_lvl() [ On E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\nav-menu-template.php Line 109 ] 
Declaration of Walker_Nav_Menu::start_el() should be compatible with that of Walker::start_el() [ On E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\nav-menu-template.php Line 109 ] 
Declaration of Walker_Nav_Menu::end_el() should be compatible with that of Walker::end_el() [ On E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\nav-menu-template.php Line 109 ] 
Fatal error: Call to a member function add_rewrite_tag() on a non-object in E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\taxonomy.php on line 333 

かなりmouthfullを!私はWordpress v3.3.1とPHP v5.3.1です 私のphp.iniのエラー報告はerror_reporting = E_ALL & ~E_NOTICE & ~E_STRICTですが、error_reportingがコードのどこかで上書きされているかどうかはわかりません。

私はWordpressのPHPファイルの周りに突き刺し、wp-includes/class-wp-walker.phpの関数の引数の不一致の問題を見ましたが、実際の問題を知らずに引数を一致させるだけで修正する必要はありません。

ここで何が起こっているのか何か手がかりがありますか?

ありがとうございます!

EDIT:はすべての宣言のエラーを修正、今ちょうど1は、それは$wp_rewriteが定義されて取得されていないと、その値がnullのようです

Fatal error: Call to a member function add_rewrite_tag() on a non-object in E:\Documents\work\devenv\xampp\htdocs\orp\blog\wp-includes\taxonomy.php on line 334 

まま。実際にはすべてのグローバル変数は有効ではありませんwp-includes\taxonomy.php

+0

この投稿はwordpress.orgでご覧になれますか? http://wordpress.org/support/topic/cant-get-it-to-install-errors –

+0

すべての宣言エラーをどのように修正しましたか? – Cheeso

答えて

2

多くのエラー(「Xの宣言は互換性があります」)は、実際には有効になっているように見えるphpのE_STRICTによってトリガされる警告です。

最後のものは、URL書き換えや検索エンジンにやさしいURLを扱うタクソノミクラスに値をロードしようとしているようですが、失敗したり正しく設定されていません。

0

私はスクリプトの先頭に初期化コードを移動しました。

<?php 
    /* Short and sweet */ 
    define('WP_USE_THEMES', false); 
    require('./wp-blog-header.php'); 
?> 

それを解決しました。

ありがとう

関連する問題