Skip Navigation

[Résolu] User Cred Form can't creating user after form submit

This support ticket is created Il y a 5 années et 4 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par vimalS Il y a 5 années et 3 mois.

Assisté par: Waqar.

Auteur
Publications
#1310391

User Cred Form can't creating user after form submit

#1310849

Hi Vimal,

Thank you for waiting.

I've performed some tests on my own website and I stand corrected. The form doesn't reload the page, even if it is set to show a custom message, with AJAX option enabled.

Your website is using the Toolset Starter theme, which dynamically loads the CSS code from the customizer screen ( Dashboard-> Appearance-> Customize ) using the link:
lien caché

But on your website's server, "strict MIME checking is enabled" which is blocking this link, which can also affect the form's AJAX submission.

To disable loading of this dynamic CSS, I'll suggest adding this code at the bottom of your active child theme's "functions.php" file:


add_action( 'after_setup_theme', 'disable_dynamic_CSS_func', 99 );
function disable_dynamic_CSS_func(){
    remove_action( 'wp_enqueue_scripts', 'ref_enqueue_customizer_css', 100 );
    remove_action( 'wp_ajax_ref_dynamic_css', 'ref_dynamic_css' );
    remove_action( 'wp_ajax_nopriv_ref_dynamic_css', 'ref_dynamic_css' );
}

After the code has been added, please test the form submission again. If the issue still persists, I'll need a clone/snapshot of your website, to investigate this issue in more depth.
( ref: https://toolset.com/faq/provide-supporters-copy-site/ )

Your next reply will be private and please let me know how it goes.

regards,
Waqar

#1318899

My issue is resolved now. Thank you!