Drupal Webform - Modified Confirmation Message Still Shows Old Version - drupal

Drupal 9.5.2
Webform 6.1.4
I have a basic Contact form with the Confirmation Type set to Page. When I edit the Confirmation Message, save the configuration change and flush all caches, the old Confirmation message still shows when I submit the Contact form. I ensured the browser cache was cleared.
IF I change Settings->General->Confirmation page URL alias, the new message is shown. If I change the URL back to the old value, the old message is shown.
Is this a bug or am I missing something? Seems like editing the message should be all that is required for the updated message to be shown.

Related

Unable to enter code using Two factor plugin on wordpress site

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.

Woocommerce add to cart button not working when user not logged in

Woocommerce add to cart button not working when user not logged in. but when a user logged in its works fine and also when I disable ajax add to cart(It reloads the page when adding the item) its works fine too.
?wc-ajax=add_to_cart call returns 302 error when this happens, but when a user is logged in it returns 200 successfully.
I disabled all the plugins and tried also but it didn't work.
I had a similar issue.
Then I found one of the tables on the database was missing.
You can check that by going to Woocommerce>Status and check if there are any missing tables. Mine was "wp_woocommerce_sessions" table.
Fix: Goto Tools tab on Status and Run the "Update database" tool and "Verify base database tables" tool. My issue was resolved after that.

Contact form wp-json missing

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)

Always showing cookies error for a first time visitor trying to login

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/

Page isn't redirecting properly in reset password functionality in Drupal

I am new to Drupal, and facing an issue.
When I open one-time link of reset password it shows the Login button, and by clicking on this button, it does not open a page and says "The page isn't redirecting properly". But after 4-5 minutes, the page opens properly by refresh.
Can't figure out the problem.
Check for the duplication in the configuration of URL redirects

Resources