我使用WordPress 3.5
,子主題爲Twenty Eleven 1.5
。突然,我得到以下警告,in wordpress,cp_admin_init和_canonical_charset的有效回調
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'cp_admin_init' was given in /home/templ/public_html/wp-includes/plugin.php on line 406
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '_canonical_charset' was given in /home/templ/public_html/wp-includes/plugin.php on line 173
我使用的插件如下:
- 下載管理器2.3.9
- WordPress的搜索引擎優化1.4.7
- WP-pagenavi 2.83
一些積分:
1)如果我給mysite.com它給出2行以上警告。如果我給www.mysite.com,下面的行還包括,
Warning: Cannot modify header information - headers already sent by (output started at /home/templ/public_html/wp-includes/plugin.php:406) in /home/templ/public_html/wp-includes/pluggable.php on line 876
2)如果我給mysite.com/wp-admin/或www.mysite.com/wp -admin/,發出第一次警告和第三次警告。
3)如果我轉到www.mysite.com/wp-login.php,它給下列5警告。
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'cp_admin_init' was given in /home/templ/public_html/wp-includes/plugin.php on line 406
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '_canonical_charset' was given in /home/templ/public_html/wp-includes/plugin.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/templ/public_html/wp-includes/plugin.php:406) in /home/templ/public_html/wp-login.php on line 368
Warning: Cannot modify header information - headers already sent by (output started at /home/templ/public_html/wp-includes/plugin.php:406) in /home/templ/public_html/wp-login.php on line 380
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'wp_authenticate_spam_check' was given in /home/templ/public_html/wp-includes/plugin.php on line 173
4)如果我給正確的用戶名和密碼,它不會登錄。給出下面的問題,
ERROR: Invalid username or incorrect password.
ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.
我試圖找到解決辦法。我不能。誰能幫我?
您安裝了最近的插件嗎?你使用什麼瀏覽器?您的服務器已升級您的PHP版本? – ColoO