• 締切済み

Wordpressのテーマのエラーについて

当方php初心者です。 Wordpressにあるテーマを適用しようとしているのですが、 エラーが出て真っ白になってしまいます。 エラー内容が出るようにしてみましたら、下記のエラーが出ているようです。 === Notice: Undefined variable: control_ops in /home/*****/theme/includes/widgets/my-social-widget.php on line 7 Warning: Cannot modify header information - headers already sent by (output started at /home/*****/theme/includes/widgets/my-social-widget.php:7) in /home/*****/wp-login.php on line 349 === 因みにテーマのエラー箇所は下記です === $this->WP_Widget('social_networks', __('My - Social Networks'), $widget_ops, $control_ops); === どのようにしたらエラー解決できるか等ありましたら御教えいただけませんでしょうか、 申し訳ありませんが宜しくお願いいたします。

みんなの回答

  • 4017B
  • ベストアンサー率73% (1306/1779)
回答No.1

ウィジェットのエラーなんで、その「My Social Widget」とやらを停止すれば良いんじゃないかな? P.S. WordPressにはかなり充実した公式フォーラムがあるんだから。基本、技術的な質問などはそっちですべきじゃないかな? ここはやはりあくまでも雑多なカテゴリーを扱う、一般的な質問掲示板なんで。より高度な専門的な知識を持った人に見て貰える可能性は、公式フォーラムの方が圧倒的に高いと思います。回答も付きやすいかと。 >http://ja.forums.wordpress.org/

全文を見る
すると、全ての回答が全文表示されます。

関連するQ&A

  • wordpressのエラーメッセージの対処方法

    wordpressのエラーメッセージを解消する方法についてご教示頂ける方 何卒宜しくお願い申し上げます。 【質問事項】 管理画面(ダッシュボード)から私が作成していますサイトにログインしようとID及びPASS を入力し、ログインを試みますと、以下のメッセージが発生し、ログインが不可能な状態 となりました。 解消する方法について、 ご教示賜われる方がいらっしゃいましたら、何卒宜しくお願い申し上げます。 ***以下エラーメッセージ*** Warning: Cannot modify header information - headers already sent by (output started at /home/~/~/public_html/wp-includes/functions.php:2908) in /home/~/~/public_html/wp-includes/pluggable.php on line 709 Warning: Cannot modify header information - headers already sent by (output started at /home/~/~/public_html/wp-includes/functions.php:2908) in /home/~/~/public_html/wp-includes/pluggable.php on line 710 Warning: Cannot modify header information - headers already sent by (output started at /home/~/~/public_html/wp-includes/functions.php:2908) in /home/~/~/public_html/wp-includes/pluggable.php on line 711 Warning: Cannot modify header information - headers already sent by (output started at /home/~/~/public_html/wp-includes/functions.php:2908) in /home/~/~/public_html/wp-includes/pluggable.php on line 712 ************************************************ 【エラーメッセージが出ることになった直接的な原因】 エラーメッセージが出る事になった原因。 functions.php修正によるもの。 * / / function.php(子テーマ) ADD_FILTER( 'widget_tag_cloud_args'、 'my_widget_tag_cloud_args'); 関数my_widget_tag_cloud_args($ argsを){ $ argsを=配列( '順番' => 'RAND'、 '数' => 50、 '最小'=> 8、 '最大' => 10 ); $ argsをを返します。 } (注)リターン$args;を入れ漏れていたことにより、     途中経過的として、サイト事態が白紙となり、     現段階の【メッセージ内容】になっております。 何卒宜しくお願い申し上げます。

  • 未来サーバーとWordPress

    Filezira で未来サーバーにwordpressフォルダを転送しましたが、 下記のエラーが出ています。 Warning: require(/home/u670729528/public_html/wp-includes/load.php): failed to open stream: No such file or directory in /home/u670729528/public_html/wp-settings.php on line 21 Fatal error: require(): Failed opening required '/home/u670729528/public_html/wp-includes/load.php' (include_path='.:/usr/lib/php') in /home/u670729528/public_html/wp-settings.php on line 21 load.php か wp-settings.phpの内容がおかしいのでしょうか? wp-settings.phpの21行目を見ると require( ABSPATH . WPINC . '/load.php' );  と書かれています。 それと未来サーバーのデータベースは空ですが何も入れなくていいですか? 階層的には wordpressの直下にwp-settings.phpがあり、wordpressの直下の wp-includesフォルダの直下にload.phpがアップロードされています。

    • 締切済み
    • PHP
  • ワードプレスでのエラー表示

    とても初心者です。よろしくお願いします。 ワードプレスで『Quick Cashe』をインストールしました。 そこから管理画面が動かなくなり、いろいろ調べているうちにプラグインがよくないと思い、FTPのプラグインから『Quick Cashe』を削除しました。 すると今度はワードプレス自体が真っ白になり、ログイン画面すらでなくなりました。 なんとかエラー表示まで出せるようになったのですが、ここからどうしていいか分かりません。 エラーは Warning: require_once(/home/users/2/*******/web/wp-content/plugins/quick-cache/includes/share.php): failed to open stream: No such file or directory in /home/users/2/******/web/wp-content/advanced-cache.php on line 136 Fatal error: require_once(): Failed opening required '/home/users/2/******/web/wp-content/plugins/quick-cache/includes/share.php' (include_path='.:/usr/local/php5.4/php') in /home/users/2/*********/web/wp-content/advanced-cache.php on line 136 となっています。「wp-content/advanced-cache.php on line 136」の136行がおかしいのかと思ってるのですが、どうなのでしょう。wp-content/advanced-cache.php on line 136の136行目は require_once dirname(QUICK_CACHE_PLUGIN_FILE).'/includes/share.php';となっています。 どうすればいいのでしょうか;;

  • wordpressのテーマカスタマイズにについて

    wordpressのテーマカスタマイズにについて 既存のテーマを使用しカスタマイズしています。 list.phpというファイルを新規作成しアップロードしました。 <?php get_header(); ?> <dl class="feed"> <?php $posts = get_posts('numberposts=5&order=desc'); foreach($posts as $post): ?> <dd><span class="day"><?php echo date("Y年m月d日", strtotime($post->post_date)); ?></span><a href="javascript:;" onclick="window.open('<?php the_permalink(); ?>','popup','width=800,height=700,scrollbars=yes,resizable=no,status=yes');" id="post-<?php the_ID(); ?>"><?php the_title(); ?></a> </dd> <?php endforeach; ?> </dl> </div> <?php get_footer(); ?> と記述してあります。 ディレクトリパスhttp://ドメイン/wpディレクトリ名/wp-content/themes/テーマ名/list.php にアクセスすると Fatal error: Call to undefined function get_header() in /home/sites/chicappa.jp/users/サーバ名/web/wpディレクトリ名/wp-content/themes/テーマ名/list.php on line 1 とエラーが出てしまいます。 list.phpを正しく閲覧するためにはどうしたら良いでしょうか。 どなたかご回答お願いいたします。

    • ベストアンサー
    • PHP
  • PHPエラーについて

    PHPのエラーについてご質問させていただきます。 【エラー詳細】 Warning: Missing argument 2 for wpdb::prepare(), called in /home/・・・・・/public_html/wordpress/wp-content/plugins/category-icons/category_icons.php on line 1338 and defined in /home/・・・・・/public_html/wordpress/wp-includes/wp-db.php on line 990 調査結果下記の記事と同じ症状な気がします http://dwi.blog101.fc2.com/blog-entry-205.html category icons というプラグインのエラーで新しいVerもでていないようです。 http://www.category-icons.com/ どのようにすればエラーが解消され正常に動作するのかが全く分からず質問させていただきました。 どうぞよろしくお願いいたします。

    • 締切済み
    • PHP
  • wordpressのインストールについて

    質問の内容を書いてくださいwordpress最新版をダウンロード、ffftpで、サーバー(ロリポップhttp://3kaduki.girly.jp/haka/)にフォルダの名前だけ変えてアップロードしました。 http://3kaduki.girly.jp/haka/3ka_blog/ にwordpressが入ったはずなので、 http://3kaduki.girly.jp/haka/3ka_blog/ にアクセスしました。 すると、データベースの設定画面になるとネットには書いてありましたが、なりません。 英文エラーになります。 Warning: require_once() [function.require-once]: Unable to access /home/users/2/girly.jp-3kaduki/web/haka/3ka_blog/wp-includes/load.php in /home/users/2/girly.jp-3kaduki/web/haka/3ka_blog/wp-load.php on line 48 Warning: require_once(/home/users/2/girly.jp-3kaduki/web/haka/3ka_blog/wp-includes/load.php) [function.require-once]: failed to open stream: No such file or directory in /home/users/2/girly.jp-3kaduki/web/haka/3ka_blog/wp-load.php on line 48 Fatal error: require_once() [function.require]: Failed opening required '/home/users/2/girly.jp-3kaduki/web/haka/3ka_blog/wp-includes/load.php' (include_path='.:/usr/local/php5.2/php') in /home/users/2/girly.jp-3kaduki/web/haka/3ka_blog/wp-load.php on line 48 助けてもらえませんか。よろしくおねがいします。 ちなみに、ロリポップには簡単インストールと云う便利ツールからインストールできましたが、 現在、休止中で、復旧のメドも立っていないのです(>_<")

  • WPで急に真っ白になりました

    WPでサイトをいじっていたら急に真っ白になりました。 関数テーマは触っていませんので他が原因だと思います。 wp-config.phpをdefine('WP_DEBUG', true);に変更設定してエラーを表示さててみましたが 下記の意味がわかりません どこをどのように直せばいいのですか? Warning: require(/home/trend-wave/www/news/mugendo-lamp/wp-includes/load.php): failed to open stream: No such file or directory in /home/trend-wave/www/news/mugendo-lamp/wp-settings.php on line 21 Fatal error: require(): Failed opening required '/home/trend-wave/www/news/mugendo-lamp/wp-includes/load.php' (include_path='.:/usr/local/php/5.4/lib/php') in /home/trend-wave/www/news/mugendo-lamp/wp-settings.php on line 21

  • WordPressのテーマのphpのエラーについて

    WordPressのテーマを編集中に構文エラーが起きました。 phpについてはあまり詳しくないので是非わかる方がいればお力を貸していただきたいです。 『syntax error, unexpected T_ENDIF in ~/functions.php on line 100』とでて問題のコードは 下記の辺りではないかと思っています。 if ( function_exists( 'wp_get_theme' ) ) { add_theme_support( 'custom-background', $args ); } else { define( 'BACKGROUND_COLOR', $args['default-color'] ); define( 'BACKGROUND_IMAGE', $args['default-image'] ); add_theme_support( 'custom-background', $args ); } endif; // mon_cahier_setup add_action( 'after_setup_theme', 'mon_cahier_setup' ); コードの全文は下記のリンク先にあります。 http://codepad.org/caNvP1Hi いろいろ調べてみたつもりですが、具体的な解決策はわからないままです。 どうぞよろしくお願いします。

    • ベストアンサー
    • PHP
  • wordpress 自動アップグレードがうまくいきません

    自動アップグレード(ver2.7.1→ver2.8.4)しようとすると、以下のwarningがでて、アップグレードが失敗します。解決したいのですが、よろしくお願い申し上げます。 warning中の***は塗りつぶしです。 Warning: touch() [function.touch]: SAFE MODE Restriction in effect. The script whose uid is 10132 is not allowed to access /tmp owned by uid 0 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 174 Warning: fileowner() [function.fileowner]: SAFE MODE Restriction in effect. The script whose uid is 10132 is not allowed to access /tmp owned by uid 0 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 628 Warning: fileowner() [function.fileowner]: stat failed for /tmp/1250670656 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 628 Warning: unlink() [function.unlink]: SAFE MODE Restriction in effect. The script whose uid is 10132 is not allowed to access /tmp owned by uid 0 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 630 Warning: touch() [function.touch]: SAFE MODE Restriction in effect. The script whose uid is 10132 is not allowed to access /tmp owned by uid 0 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 174 Warning: fileowner() [function.fileowner]: SAFE MODE Restriction in effect. The script whose uid is 10132 is not allowed to access /tmp owned by uid 0 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 628 Warning: fileowner() [function.fileowner]: stat failed for /tmp/1250670656 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 628 Warning: unlink() [function.unlink]: SAFE MODE Restriction in effect. The script whose uid is 10132 is not allowed to access /tmp owned by uid 0 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 630 Warning: touch() [function.touch]: SAFE MODE Restriction in effect. The script whose uid is 10132 is not allowed to access /tmp owned by uid 0 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 174 Warning: fileowner() [function.fileowner]: SAFE MODE Restriction in effect. The script whose uid is 10132 is not allowed to access /tmp owned by uid 0 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 628 Warning: fileowner() [function.fileowner]: stat failed for /tmp/1250670656 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 628 Warning: unlink() [function.unlink]: SAFE MODE Restriction in effect. The script whose uid is 10132 is not allowed to access /tmp owned by uid 0 in /virtual/***/public_html/**/wp-admin/includes/file.php on line 630

  • メモリサイズエラーについて

    独自ドメインでレンタルサーバーを借りワードプレスを運営していたのですが昨夜から管理画面が表示されずに下記のようなエラーになります。 Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/inlni12b/public_html/wp-admin/includes/theme.php on line 302 修正方法を昨日質問させていただきましがエラーが修正できずに困っております。 詳しい方のご教授をお願いいたします。

    • 締切済み
    • PHP