Forum Replies Created
-
Hello jolonm, hello admin,
I had the same issue today.
I found that the issue is in the ajax request itself. And no matter if this was login form or profile form. Server responded with 404, when trying to reach /wp-admin/admin-ajax.php.
I tried to call /wp-admin/admin-ajax.php from Firebug’s console directly without parameters and it worked. So I started to dig in the request parameters and found
shortcode
parameter. After removing it from the request, the form was submitted successfully.So I wrapped it with
encodeURIComponent
. After that I was able to save profile and login. Hope this info will be helpful./wp-content/plugins/userpro/scripts/scripts.min.js:1200
PHP123jQuery.ajax({url: userpro_ajax_url,data: form.serialize() + "&action=userpro_process_form&template="+form_data['template']+"&group="+form_data[ form_data['template'] + '_group' ]+"&shortcode="+encodeURIComponent(shortcode)+'&up_username='+up_username,in reply to: Error with Login jQuery.ajax
Viewing 1 post (of 1 total)