发送电子邮件时WordPress联系人表单7出错

时间:2020-07-09 作者:Vasim Shaikh

Fatal error: Uncaught Error: Call to a member function get_status() on null in /home/mywebsite/public_html/wp-content/plugins/contact-form-7/includes/contact-form.php:732 
Stack trace: 
#0 /home/mywebsite/public_html/wp-content/plugins/contact-form-7/includes/controller.php(14): WPCF7_ContactForm->submit() 
#1 /home/mywebsite/public_html/wp-includes/class-wp-hook.php(285): wpcf7_control_init()
#2 /home/mywebsite/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) 
#3 /home/mywebsite/public_html/wp-includes/plugin.php(544): WP_Hook->do_action(Array) 
#4 /home/mywebsite/public_html/wp-includes/class-wp.php(388): do_action_ref_array(\'parse_request\', Array)
#5 /home/mywebsite/public_html/wp-includes/class-wp.php(739): WP->parse_request(\'\') 
#6 /home/mywebsite/public_html/wp-includes/functions.php(1274): WP->main(\'\') 
#7 /home/mywebsite/public_html/wp-blog-header.php(16): wp() 
#8 /home/stagingselectedfirm in /home/mywebsite/public_html/wp-content/plugins/contact-form-7/includes/contact-form.php on line 732
您的网站出现严重错误。

了解有关在WordPress中调试的更多信息。

1 个回复
SO网友:Gavin G

在我的特殊情况下,禁用“;“Wordfence”;插件,然后禁用
Wordpress两步验证”;插件,然后重新启用Wordfence插件,解决了这个问题。

相关推荐