WP contact-form-7 Error 500

Please, help. My contact form is not working!


I use plugin WP Mail SMTP by WPForms an external SMTP service (smtp. mail .ru). Test letter arrives in the mailbox, When I click the submit button, an error appears in the console.

Access to XMLHttpRequest at ‘https://infinityfree .net/errors/500/’ (redirected from ‘ht tps //w ordpress-por tfolio rf gd/wp-json/ contact-form-7/v1/contact-forms/ 211/feedback’) from origin ‘ht tp://wordpress -portfolio.rf. gd’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

jquery. min .js?ver=3.5.1:2 GET h ttps //infinityfree net/errors/500/ net::ERR_FAILED

It seems like part of the plugin is broken, but I don’t see how that would prevent it from working. What do you see on the page itself when you click Submit?

And this “submit button”, am I correct to assume that this is the Save button for the WP Mail SMTP settings?

Thank you. That was my fault. I replaced the contents of the .htaccess file and it worked

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.