Redirecting first time register
Hi, I originally posted this in the wrong section:
I followed the steps here:
http://forums.appthemes.com/redirect...n-8324/page-2/ after login and redirected the users to a welcome page.
Here is how I have it set:
// Show registation form
function app_show_registration() {
global $posted;
if ( isset($_POST['register']) && $_POST['register'] ) {
// redirect to ad creation page once they are registered
$result = app_process_register_form(decants.org/welcome);
$errors = $result['errors'];
$posted = $result['posted'];
This is the warning that users are getting immediately after registering:
Warning: Division by zero in /home/drew1204/public_html/decants.org/
wp-content/themes/classipress/includes/theme-login.php on line 112
Warning: Cannot modify header information - headers already sent by (output started at /home/drew1204/public_html/decants.org/
wp-content/themes/classipress/includes/theme-login.php:112) in /home/drew1204/public_html/decants.org/
wp-includes/pluggable.php on line 680
Warning: Cannot modify header information - headers already sent by (output started at /home/drew1204/public_html/decants.org/
wp-content/themes/classipress/includes/theme-login.php:112) in /home/drew1204/public_html/decants.org/
wp-includes/pluggable.php on line 681
Warning: Cannot modify header information - headers already sent by (output started at /home/drew1204/public_html/decants.org/
wp-content/themes/classipress/includes/theme-login.php:112) in /home/drew1204/public_html/decants.org/
wp-includes/pluggable.php on line 682
Warning: Cannot modify header information - headers already sent by (output started at /home/drew1204/public_html/decants.org/
wp-content/themes/classipress/includes/theme-login.php:112) in /home/drew1204/public_html/decants.org/
wp-includes/pluggable.php on line 881
The newly registered members are able to login, and the rest of the website works fine, but that redirect I have set must be wrong. I really appreciate your help in getting the redirection after a member first registered to a different page.
Thanks for your help!