Contact Form7で、送信できません.
-
いつも利用させていただいております。
「メッセージの送信に失敗しました。後でまたお試しください。」
と表示されるようにいつのまにかなっていたので、
バージョンを落とすと直るような書き込みを見たので一度バージョンを5.1.1から5.1へ下げました。すると、以後バージョンを上げても下げても
コントロールパネル
Call to a member function get_status() on null
Error: An Internal Error Has Occurred.`Stack Trace
/data/web/WordPress-XXXXXX/htdocs/wp-content/plugins/contact-form-7/includes/controller.php line 14 → WPCF7_ContactForm->submit()
/data/web/WordPress-XXXXXX/htdocs/wp-includes/class-wp-hook.php line 284 → wpcf7_control_init()
/data/web/WordPress-XXXXXX/htdocs/wp-includes/class-wp-hook.php line 310 → WP_Hook->apply_filters(null, array)
/data/web/WordPress-XXXXXX/htdocs/wp-includes/plugin.php line 515 → WP_Hook->do_action(array)
/data/web/WordPress-XXXXXX/htdocs/wp-includes/class-wp.php line 375 → do_action_ref_array(string, array)
/data/web/WordPress-XXXXXX/htdocs/wp-includes/class-wp.php line 715 → WP->parse_request(string)
/data/web/WordPress-XXXXXX/htdocs/wp-includes/functions.php line 960 → WP->main(string)
/data/web/WordPress-XXXXXX/htdocs/wp-blog-header.php line 16 → wp()
/data/web/WordPress-XXXXXX/htdocs/index.php line 17 → require(string)と表示されてしまい稼働しなくなりました。
Wordpressは4.9.20を使用しています。
ご教授頂ければ助かります。宜しくお願い致します。
-
WP Super Cacheでキャッシュの削除と、
Configure::write(‘debug’, 0);を変更する対応はしました。
WP Mail SMTPを無効化、メールアドレスの変更も行いました。-
この返信は1年、 3ヶ月前に
newlinegraphicsが編集しました。
問題のサイトはどこで見られますか? URL を教えてください。
ありがとうございます。
企業のサイトですのでメールでURLをお送りさせていただきました。
恐縮ですがご教授頂ければと思います。
宜しくお願い致します。ここは参加者が全員ボランティアのパブリックなサポートフォーラムです。サポートに必要な情報はこのフォーラム上で公開することが求められます。個人にメッセージを送ってプライベートに連絡を取ろうとすることは迷惑行為にあたります。絶対にやめてください。
ご迷惑をおかけしてすいませんでした。
企業のサイトですのでこちらに書くとご迷惑をおかけすると思うので記載ができないのですが、
必要な情報(表示されている文字など)はこちらに書かせていただきます。送信ボタンを押すと、上記の内容のStack Traceが表示され、
トレースの詳細情報ですが、/data/web/WordPress-XXXXX/htdocs/wp-content/plugins/contact-form-7/includes/controller.php line 14 → WPCF7_ContactForm->submit() $contact_form = wpcf7_contact_form( (int) $_POST['_wpcf7'] ); if ( $contact_form ) { $contact_form->submit(); } /data/web/WordPress-XXXXX/htdocs/wp-includes/class-wp-hook.php line 284 → wpcf7_control_init() // Avoid the array_slice if possible. if ( $the_['accepted_args'] == 0 ) { $value = call_user_func_array( $the_['function'], array() ); } elseif ( $the_['accepted_args'] >= $num_args ) { /data/web/WordPress-XXXXX/htdocs/wp-includes/class-wp-hook.php line 310 → WP_Hook->apply_filters(null, array) */ public function do_action( $args ) { $this->doing_action = true; $this->apply_filters( '', $args ); null array( (int) 0 => object(WP) { public_query_vars => array( (int) 0 => 'm', (int) 1 => 'p', (int) 2 => 'posts', (int) 3 => 'w', (int) 4 => 'cat', (int) 5 => 'withcomments', (int) 6 => 'withoutcomments', (int) 7 => 's', (int) 8 => 'search', (int) 9 => 'exact', (int) 10 => 'sentence', (int) 11 => 'calendar', (int) 12 => 'page', (int) 13 => 'paged', (int) 14 => 'more', (int) 15 => 'tb', (int) 16 => 'pb', (int) 17 => 'author', (int) 18 => 'order', (int) 19 => 'orderby', (int) 20 => 'year', (int) 21 => 'monthnum', (int) 22 => 'day', (int) 23 => 'hour', (int) 24 => 'minute', (int) 25 => 'second', (int) 26 => 'name', (int) 27 => 'category_name', (int) 28 => 'tag', (int) 29 => 'feed', (int) 30 => 'author_name', (int) 31 => 'pagename', (int) 32 => 'page_id', (int) 33 => 'error', (int) 34 => 'attachment', (int) 35 => 'attachment_id', (int) 36 => 'subpost', (int) 37 => 'subpost_id', (int) 38 => 'preview', (int) 39 => 'robots', (int) 40 => 'taxonomy', (int) 41 => 'term', (int) 42 => 'cpage', (int) 43 => 'post_type', (int) 44 => 'embed', (int) 45 => 'post_format', (int) 46 => 'rest_route' ) private_query_vars => array( (int) 0 => 'offset', (int) 1 => 'posts_per_page', (int) 2 => 'posts_per_archive_page', (int) 3 => 'showposts', (int) 4 => 'nopaging', (int) 5 => 'post_type', (int) 6 => 'post_status', (int) 7 => 'category__in', (int) 8 => 'category__not_in', (int) 9 => 'category__and', (int) 10 => 'tag__in', (int) 11 => 'tag__not_in', (int) 12 => 'tag__and', (int) 13 => 'tag_slug__in', (int) 14 => 'tag_slug__and', (int) 15 => 'tag_id', (int) 16 => 'post_mime_type', (int) 17 => 'perm', (int) 18 => 'comments_per_page', (int) 19 => 'post__in', (int) 20 => 'post__not_in', (int) 21 => 'post_parent', (int) 22 => 'post_parent__in', (int) 23 => 'post_parent__not_in', (int) 24 => 'title', (int) 25 => 'fields' ) extra_query_vars => array() query_vars => array( 'page' => '', 'pagename' => 'オリジナルデザイン缶' ) query_string => null request => 'オリジナルデザイン缶' matched_rule => '(.?.+?)(?:/([0-9]+))?/?$' matched_query => 'pagename=%E3%82%AA%E3%83%AA%E3%82%B8%E3%83%8A%E3%83%AB%E3%83%87%E3%82%B6%E3%82%A4%E3%83%B3%E7%BC%B6&page=' did_permalink => true } ) /data/web/WordPress-XXXXX/htdocs/wp-includes/plugin.php line 515 → WP_Hook->do_action(array) if ( !isset($wp_filter['all']) ) $wp_current_filter[] = $tag; $wp_filter[ $tag ]->do_action( $args ); array( (int) 0 => object(WP) { public_query_vars => array( (int) 0 => 'm', (int) 1 => 'p', (int) 2 => 'posts', (int) 3 => 'w', (int) 4 => 'cat', (int) 5 => 'withcomments', (int) 6 => 'withoutcomments', (int) 7 => 's', (int) 8 => 'search', (int) 9 => 'exact', (int) 10 => 'sentence', (int) 11 => 'calendar', (int) 12 => 'page', (int) 13 => 'paged', (int) 14 => 'more', (int) 15 => 'tb', (int) 16 => 'pb', (int) 17 => 'author', (int) 18 => 'order', (int) 19 => 'orderby', (int) 20 => 'year', (int) 21 => 'monthnum', (int) 22 => 'day', (int) 23 => 'hour', (int) 24 => 'minute', (int) 25 => 'second', (int) 26 => 'name', (int) 27 => 'category_name', (int) 28 => 'tag', (int) 29 => 'feed', (int) 30 => 'author_name', (int) 31 => 'pagename', (int) 32 => 'page_id', (int) 33 => 'error', (int) 34 => 'attachment', (int) 35 => 'attachment_id', (int) 36 => 'subpost', (int) 37 => 'subpost_id', (int) 38 => 'preview', (int) 39 => 'robots', (int) 40 => 'taxonomy', (int) 41 => 'term', (int) 42 => 'cpage', (int) 43 => 'post_type', (int) 44 => 'embed', (int) 45 => 'post_format', (int) 46 => 'rest_route' ) private_query_vars => array( (int) 0 => 'offset', (int) 1 => 'posts_per_page', (int) 2 => 'posts_per_archive_page', (int) 3 => 'showposts', (int) 4 => 'nopaging', (int) 5 => 'post_type', (int) 6 => 'post_status', (int) 7 => 'category__in', (int) 8 => 'category__not_in', (int) 9 => 'category__and', (int) 10 => 'tag__in', (int) 11 => 'tag__not_in', (int) 12 => 'tag__and', (int) 13 => 'tag_slug__in', (int) 14 => 'tag_slug__and', (int) 15 => 'tag_id', (int) 16 => 'post_mime_type', (int) 17 => 'perm', (int) 18 => 'comments_per_page', (int) 19 => 'post__in', (int) 20 => 'post__not_in', (int) 21 => 'post_parent', (int) 22 => 'post_parent__in', (int) 23 => 'post_parent__not_in', (int) 24 => 'title', (int) 25 => 'fields' ) extra_query_vars => array() query_vars => array( 'page' => '', 'pagename' => 'オリジナルデザイン缶' ) query_string => null request => 'オリジナルデザイン缶' matched_rule => '(.?.+?)(?:/([0-9]+))?/?$' matched_query => 'pagename=%E3%82%AA%E3%83%AA%E3%82%B8%E3%83%8A%E3%83%AB%E3%83%87%E3%82%B6%E3%82%A4%E3%83%B3%E7%BC%B6&page=' did_permalink => true } ) /data/web/WordPress-XXXXX/htdocs/wp-includes/class-wp.php line 375 → do_action_ref_array(string, array) * * @param WP $this Current WordPress environment instance (passed by reference). */ do_action_ref_array( 'parse_request', array( &$this ) ); } 'parse_request' array( (int) 0 => object(WP) { public_query_vars => array( (int) 0 => 'm', (int) 1 => 'p', (int) 2 => 'posts', (int) 3 => 'w', (int) 4 => 'cat', (int) 5 => 'withcomments', (int) 6 => 'withoutcomments', (int) 7 => 's', (int) 8 => 'search', (int) 9 => 'exact', (int) 10 => 'sentence', (int) 11 => 'calendar', (int) 12 => 'page', (int) 13 => 'paged', (int) 14 => 'more', (int) 15 => 'tb', (int) 16 => 'pb', (int) 17 => 'author', (int) 18 => 'order', (int) 19 => 'orderby', (int) 20 => 'year', (int) 21 => 'monthnum', (int) 22 => 'day', (int) 23 => 'hour', (int) 24 => 'minute', (int) 25 => 'second', (int) 26 => 'name', (int) 27 => 'category_name', (int) 28 => 'tag', (int) 29 => 'feed', (int) 30 => 'author_name', (int) 31 => 'pagename', (int) 32 => 'page_id', (int) 33 => 'error', (int) 34 => 'attachment', (int) 35 => 'attachment_id', (int) 36 => 'subpost', (int) 37 => 'subpost_id', (int) 38 => 'preview', (int) 39 => 'robots', (int) 40 => 'taxonomy', (int) 41 => 'term', (int) 42 => 'cpage', (int) 43 => 'post_type', (int) 44 => 'embed', (int) 45 => 'post_format', (int) 46 => 'rest_route' ) private_query_vars => array( (int) 0 => 'offset', (int) 1 => 'posts_per_page', (int) 2 => 'posts_per_archive_page', (int) 3 => 'showposts', (int) 4 => 'nopaging', (int) 5 => 'post_type', (int) 6 => 'post_status', (int) 7 => 'category__in', (int) 8 => 'category__not_in', (int) 9 => 'category__and', (int) 10 => 'tag__in', (int) 11 => 'tag__not_in', (int) 12 => 'tag__and', (int) 13 => 'tag_slug__in', (int) 14 => 'tag_slug__and', (int) 15 => 'tag_id', (int) 16 => 'post_mime_type', (int) 17 => 'perm', (int) 18 => 'comments_per_page', (int) 19 => 'post__in', (int) 20 => 'post__not_in', (int) 21 => 'post_parent', (int) 22 => 'post_parent__in', (int) 23 => 'post_parent__not_in', (int) 24 => 'title', (int) 25 => 'fields' ) extra_query_vars => array() query_vars => array( 'page' => '', 'pagename' => 'オリジナルデザイン缶' ) query_string => null request => 'オリジナルデザイン缶' matched_rule => '(.?.+?)(?:/([0-9]+))?/?$' matched_query => 'pagename=%E3%82%AA%E3%83%AA%E3%82%B8%E3%83%8A%E3%83%AB%E3%83%87%E3%82%B6%E3%82%A4%E3%83%B3%E7%BC%B6&page=' did_permalink => true } ) /data/web/WordPress-XXXXX/htdocs/wp-includes/class-wp.php line 715 → WP->parse_request(string) */ public function main($query_args = '') { $this->init(); $this->parse_request($query_args); $this->send_headers(); '' /data/web/WordPress-XXXXX/htdocs/wp-includes/functions.php line 960 → WP->main(string) */ function wp( $query_vars = '' ) { global $wp, $wp_query, $wp_the_query; $wp->main( $query_vars ); '' /data/web/WordPress-XXXXX/htdocs/wp-blog-header.php line 16 → wp() require_once( dirname(__FILE__) . '/wp-load.php' ); // Set up the WordPress query. wp(); /data/web/WordPress-XXXXX/htdocs/index.php line 17 → require(string) define('WP_USE_THEMES', true); /** Loads the WordPress Environment and Template */ require( dirname( __FILE__ ) . '/wp-blog-header.php' ); '/data/web/WordPress-XXXXX/htdocs/wp-blog-header.php'
こちらに長々と書いてしまい恐縮です。
こちらであれば何かわかりますでしょうか。
宜しくお願い致します。-
この返信は1年、 3ヶ月前に
newlinegraphicsが編集しました。
newlinegraphicsさん、こんにちは。
少し古めの WordPress をご利用のようですが、基本的なトラブルシューティングは実施されておりますでしょうか。
Contactform 7 以外のプラグイン、テーマのバージョンアップによる影響等は検証されておりますか。
可能であれば Contactform 7 のみを有効化してテストすることをお勧めいたしますが、企業サイトで本番サイトで検証が難しいのであれば、同じサーバーで検証環境を作られることをお勧めいたします。サーバーの設定による影響もあり得ますので、ローカルにまったく同じ環境が作れないのであればローカルでのテストはあまりお勧めできません。ただし、ローカルで用意した環境で同じ問題を再現できるのであれば否定はしませんが、メール送信周りは例えばスパム対策用のプラグインや SMTP の有無でも違いが出てしまいますので、それらも考慮する必要があります。
ご参考になれば。
ありがとうございます。
関連するプラグインは無効化したりしたのですが駄目でした。
本番環境のみでの運用ですので、ステージング環境をしないと無理そうですね。。何か一部でなおる方法があればいいんですけど、自分の力だとわからなくてなおせていない感じです。
-
この返信は1年、 3ヶ月前に
- トピック「Contact Form7で、送信できません.」には新たに返信することはできません。