简体   繁体   English

我正在尝试使用 ajax 在我的 wordpress 网站上发送表格,但出现错误 500

[英]I'm trying to send a form on my wordpress website using ajax, but its an error 500

The form is created using Contact Form 7, but the submit action is made with AJAX and a file php which made a database conection, the error return: 500 (Internal Server Error) on php file and: Uncaught TypeError: $(...).AjaxDebug is not a function on AJAX function.该表单是使用 Contact Form 7 创建的,但提交操作是使用 AJAX 和一个建立数据库连接的文件 php 进行的,错误返回:php 文件上的 500(内部服务器错误)和:Uncaught TypeError:$(... ).AjaxDebug 不是 AJAX function 上的 function。

In the debug file generated by WP there is nothing related with this error.在 WP 生成的调试文件中,没有与此错误相关的内容。

someone can help me to understand this problem?有人可以帮我理解这个问题吗?

I disabled the plugins one by one, hoping for the problem is a conflict, but nothing change.我一个一个地禁用了插件,希望问题是冲突,但没有任何改变。

you clean the cache?!你清理缓存?! use a plugin like Super Cache good luck使用像 Super Cache 这样的插件祝你好运

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我正在尝试向我的 WordPress 网站添加弹出模式,但无法正常工作 - I'm trying to add a popup modal to my WordPress website but in is not working 为什么我在尝试使用 WordPress 中的 AJAX 加载帖子时收到 400 错误? - Why am I getting a 400 error when I'm trying to load a post using AJAX in WordPress? 我正在尝试通过 ajax 调用检索帖子,但 Wordpress Ajax 给出服务器错误 500 - I am trying to retrieve the posts via ajax call but Wordpress Ajax gives server error 500 使用ajax提交表单时出错并在wordpress中发送邮件 - Error in submit form with ajax and send mail in wordpress WordPress前端AJAX表单提交导致500个内部服务器错误 - WordPress frontend AJAX Form submission gives 500 internal server error 尝试在本地计算机上设置 wordpress 时遇到此错误,但因错误而失败 - I'm facing this error when trying to setup my wordpress on my local machine, but failed with error 在Wordpress上使用Ajax传递参数时,为什么会出现错误:“ 500 Internal Server Error”? - Why do I get the error: “500 Internal Server Error” when passing parameters using Ajax on Wordpress? 我可以将完整的Google表单及其样式嵌入到我的Wordpress网站中吗? - Can i embed the full google form in my wordpress website with its styles? 我正在尝试将PayPal Payment与WordPress的Contact Form 7集成在一起,但是我的重定向不起作用 - I'm trying to integrate PayPal Payment with Contact Form 7 in WordPress, and my Redirect isn't working 我无法使用wordense的adsense插件在我的网站上激活Google广告设置 - I'm unable to activate the google ad setting on my website using the adsense plugin for wordpress
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM