Redirection after registration – TML issue?

This topic contains 2 reply and 2 voices, and was last updated by hartlrobert 10 years, 6 months ago
Viewing 2 Posts - 1 through 2 (of 2 total)
Author Posts
October 25, 2013 at 7:22 pm 9432
hartlrobert We use WPUF Pro + TML. On a WPUF registration form after submit there is neither any redirect to another page nor any message. Seems to be the same problem as here: http://wedevs.com/support/topic/form-does-not-redirects-back-after-submit/ I think it´s an AJAX thing. When I disable TML everything works fine. But we need the TML´s email confirmation function. Firebug says:
<b>Notice</b>:  Trying to get property of non-object in <b>[...]/wp-content/plugins/theme-my-login/modules/custom-email/admin/custom-email-admin.php</b> on line <b>583</b><br />
{"success":true,"post_id":71,"redirect_to":"[...]/benutzer\/login.html","show_message":false,"message":"Ihre Registrierung war erfolgreich! Per E-Mail haben Sie einen Best\u00e4tigungslink bekommen."}
Do you have any suggestion how to use WPUF with email confirmation? Thank you in advance! Peter
October 25, 2013 at 8:10 pm 9434
Tareq Hasan Tareq Hasan

Checked the TML code, seems it’s checking a code that is only available on the admin side.

To fix the warning, you should hide PHP warnings.

1. Turn off WP_DEBUG in wp-config.php, set it to false. e.g: define('WP_DEBUG', false);
2. Add this to wp-config.php:
@ini_set('display_errors',0);
define('WP_DEBUG_DISPLAY', false);

The warning should be gone and it should work as usual.

October 25, 2013 at 8:29 pm 9437
hartlrobert hartlrobert

Hey Tareq,

you are a hero! Thanks very much, your solution works like a charm! 🙂

Peter

Viewing 2 Posts - 1 through 2 (of 2 total)