I'm using Contact Form 7 plugin to display a contact form on my Wordpress site.
When I open the page with the contact form on it, the console shows a 404 error like this (where /contact-us is the page URL):
https://www.example.com/contact-us/contact-form-7/v1/contact-forms/32/refill?_locale=user (404) from api-fetch.min.js.
This isn't a valid Wordpress ajax URL - the correct URL should be:
https://www.example.com/wp-json/contact-form-7/v1/contact-forms/32/refill?_locale=user
All ajax calls used by the plugin are wrong, including the form's submit URL, so when contact form is submitted, all it does is refresh the page.
Can anyone provide any help?
Thank you.
I have the same problem, & it went away when I disabled another plugin - Litespeed Cache.
If you have any caching modules, or any modules that intercept the contact form functions, disable them all & see if the problem goes away. You should be able to identify the culprit relatively quickly.
[ETA] LiteSpeed-specific fix:
In Wordpress admin, under LiteSpeed Cache / Page Optimisation / JS - disable "Javascript deferred" and "Javascript combine".
(Answer found at
https://theme.co/forum/t/contact-form-7-not-submitting-recaptcha-3-issue/53371/5)
Firstly, Once the user submits the contact form, It will automatically reload the page as it uses POST method where it sends the data entered by the user to the database or sends an email. So the page will be reloaded and if you dont want it to be reloaded then you can check online on how to make a form using AJAX. In wordpress, there might be plugins for it.
For the Error:
Please go to your FTP server and then delete the plugin you are using for the contact form and download it again. If it doesnt work then you can rollback to the previous version(maybe this can fix it)
Related
I have just installed https://wordpress.org/plugins/two-factor plugin on my wordpress site and enabled email and google authenticator code. I saved the changes and logged out. Now when I try to login again, after email and password and it shows a disabled form that I can't interact. Now I am not able to login. Please help.
There seems a bug in this plugin. I inspected the form and inside form element, there was an input type submit element. Which was disabled. I removed its disabled css property and form was intractable. I was able to enter code and login.
Deleted this plugin. Will try another one.
I am using WPBrigade plugin "LoginPress" and has a login page which is created from file: wp-login.php.
If a new visitor is logging into the site, it displays an login_error with the following warning:
quote Error: Cookies are blocked or not supported by your browser. You must enable cookies in order to use WordPress.
If the user tries to login again without clicking on the link provided by the error message and do not adjust browser settings regarding cookies the login works fine and the user is logged into the site. If they click on the link they are redirected to wordpress official site regarding cookies. If they then return to the site it works fine (since it's a second attempt like in the first case).
My problem is that I want the user to be able to login without having this warning that disturbs the user experience. The login process is now 2 steps with a mandatory second try that works. I want it to work the first time. I can't seem to find the solution plugin documentation, and niether on wordpress site.
Check the issue by enabling the debugging in WordPress
https://wordpress.org/support/article/debugging-in-wordpress/
How can i enable ajax validations in contact form 7.
Defaultly the page is reloading after submission,
Need to display errors without page reload.
By Default , CF7 come with ajax validation.
May be there are some conflict between the plugins that you have installed.
Please check the console and based on that please google or paste the console error here
I just removed my javascript link in my file.
Now it is working fine
I was working on a wordpress site and I encountered a strange issue. There is a greavity form. I'm trying to make changes but its not showing any changes on the page where I used the form. But if I preview the form, its showing changes. Can you guys tell me why is it?
It sounds like a caching plugin is running. Caching plugins have been known to interfere with form performance and function. You'll need to flush the cache. Then test your form again.
Please contact the provider of the caching plugin for advice on excluding Gravity Forms and form submissions from caching.
I have implemented a twitter login for my site, using a plugin called "Simple Twitter Connect".
Now what this plugin does is create a twitter login function for my site above the the comments section which allows users to use their twitter details rather than filling out name and email boxes.
Now the problem I am having with it is when it gets to the authorize page on twitter.com, after entering the details and then going back to the site it loads solicialize.gigaya.com page.
On the contents of the page it says
Failed connecting. Please try again later
I initially thought it must simply be something wrong with the plugin, however I have contacted the plugin author and he as said that gigya has nothing to do with his plugin nor does his plugin link to it.
I havent signed up to gigya nor implemented any of their functions on my site, so I'm not sure how this site gets into the equation.
If anyone wants to recreate the issue, the click here and login via twitter.
Can anyone suggest what the issue may be?
After the successful OAuth-Login you are redirected to the Callback URL associated with your Consumer key. The Callback URL can be configured - here's how you do it:
Log in to https://dev.twitter.com/apps
Select the application which you are using in your blog
Go to the "Settings" tab and you'll find the Callback URL under "Application Type"
Set the URL to your blog base directory (where the index.php is).