Contact form 7 ошибка 500

You need change in .htaccess file and in local setup folder name set as «wordpress» but in live site we have to change this name.

Before

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /agilitycards/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /agilitycards/index.php [L]
</IfModule>

# END WordPress

You need to replace with below code in .htaccess file.

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

answered Nov 28, 2017 at 11:03

Gaurang Sondagar's user avatar

0

I had a similar problem, it turned out that the error was being caused by ModSecurity installed on the cpanel. Disabling ModSecurity did the trick for me. In my research, I came across similar problems that were caused by security modules on their servers like this case that was caused by All in One Security and Firewall.

answered Jun 25, 2019 at 20:17

Lazarus-CG's user avatar

I had this same problem — turned out it was related to the Polylang plugin I was using, in particular how I was registering strings to be translated.

A quick way to test is to disable your theme / enable the default theme and if Contact Form works, it’s most likely to be a problem in the theme Functions file.

For me, the fix was setting the Polylang translations in functions.php like so:

if (function_exists("pll_register_string")) {
    pll_register_string( 'name', 'Translated string' );
}

answered Mar 8, 2018 at 12:01

Charlieman's user avatar

Had a 500 Status Code as well when submitting my Contact Form 7. Somehow the file «class-phpmailer.php» in «wp-includes» had a filepermission of «0». I have no idea why. But i fixed this issue by changing the files permission to 0644 and now my Contact Form 7 works well, again.

answered Jan 26, 2019 at 10:13

UXguy's user avatar

UXguyUXguy

11 bronze badge

При попытке отправить форму в консоли появляется error 500 (Internal Server Error)
И форма зависает просто. Формы реализованы через ContactForm 7.
5afb20a562bd5868115881.png


  • Вопрос задан

    более трёх лет назад

  • 829 просмотров

Смотрите в логах сервера error.log
Если не знаете где это — спросите хостеров
Потом смотрите на это время в логах какая ошибка возникает

Пригласить эксперта


  • Показать ещё
    Загружается…

04 июн. 2023, в 01:35

1500 руб./за проект

04 июн. 2023, в 01:25

40000 руб./за проект

03 июн. 2023, в 23:42

1500 руб./за проект

Минуточку внимания

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Pick a username
Email Address
Password

By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.

Already on GitHub?
Sign in
to your account

Skip to content

  • Hi,
    When i try send buy contact form7 version 5.5.6, return this error.

    Can anyone have the same problem?
    The website is https://newfood.pt
    Page: https://newfood.pt/embaixadores-newfood/

    index.js?ver=5.5.6:1 POST https://newfood.pt/wp-json/contact-form-7/v1/contact-forms/1905/feedback 500

    ——

    Response {type: 'basic', url: 'https://newfood.pt/wp-json/contact-form-7/v1/contact-forms/1905/feedback', redirected: false, status: 500, ok: false, …}
    body: (...)
    bodyUsed: false
    headers: Headers
    Prototype: Headers
    append: ƒ append()
    delete: ƒ delete()
    entries: ƒ entries()
    forEach: ƒ forEach()
    get: ƒ ()
    has: ƒ has()
    keys: ƒ keys()
    set: ƒ ()
    values: ƒ values()
    constructor: ƒ Headers()
    Symbol(Symbol.iterator): ƒ entries()
    Symbol(Symbol.toStringTag): "Headers"
    Prototype: Object
    ok: false
    redirected: false
    status: 500
    statusText: ""
    type: "basic"
    url: "https://newfood.pt/wp-json/contact-form-7/v1/contact-forms/1905/feedback"
    Prototype: Response

    Thanks for any help
    Bruno Azevedo

    The page I need help with: [log in to see the link]

  • The topic ‘Contact Form 7 Error 500’ is closed to new replies.

  • Plugin Version: 1.7.2
    PHP Version: 8.0
    Wordpress: 5.8.3

    After the most recent plugin update to 1.7.2, our contact form submission are receiving a 500 error. See error below. We have tried uninstalling and reinstalling the plugin, but it doesn’t fix it. Only when the Contact Form Submissions plugin is disable do my contact form 7 submissions work.

    [18/Feb/2022:14:31:56 -0800] “POST /wp-json/contact-form-7/v1/contact-forms/1636/feedback HTTP/2.0” 500 219 “https://innsoft.com/” “Mozilla/5
    .0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36”

  • Понравилась статья? Поделить с друзьями:
  • Cosmo mini 30 ошибка 255
  • Corsa d проверка ошибок
  • Corsa d ошибка c0545
  • Cors ошибка fetch
  • Corrupt disk steam ошибка решение