Hello @hassanzafar107,
In fact, the child theme shouldn’t influence the login page; Except you are using a function. Would you please share the function.php file on your website child theme here?
You can upload your files to one of the following online services:
Note: If you are using the third-party plugin to create a login page, please make sure to use the correct shortcode for the “reset password” page; like this one: https://docs.ultimatemember.com/article/210-ultimate-member-shortcodes#:~:text=Password%20reset%20%2D%20The%20shortcode%20for,account%20form%20is%20%5Bultimatemember_account%5D.
Please keep us posted.
Best Regards
-
This reply was modified 2 years, 11 months ago by
Shahin.
here is the link “https://we.tl/t-ZsLNN775HL”
Please guide me about this issue
Hello @hassanzafar107,
Please remove the code below and try again:
//redirect logged out user from my-account page
add_action( 'template_redirect', 'redirect_to_specific_page' );
function redirect_to_specific_page() {
if ( is_page('my-account') && ! is_user_logged_in() ) {
wp_redirect( 'https://test.toycycle.co/log-in', 301 );
exit;
}
}
Best Regards
Hi there @skalanter
removing the above mentioned code doesn’t resolve the problem
Anything else?
Hello @hassanzafar107,
On my end; It’s working fine: https://i.postimg.cc/fL473vm1/image.png.
Please check this error: https://i.postimg.cc/rsX8XB1K/image.png on your website. Maybe you have enabled the Recaptcha code.
Since you’ve been using the reset password shortcode, would you please contact Ultimate Member team; Maybe they have a solution that we are not aware of.
Best Regards
hi there @skalanter
the email for password-reset are being getting received but the url that is coming within the email turns to invalid key.
Now if I disable the child theme and use only parent/main OceanWP theme then with re-captcha or without re-captcha the password-reset works perfectly fine.
So the problem is within child theme working.
Hello @hassanzafar107,
Since you have many customizations in the child theme on the staging website, please do the steps below and recheck your issue and let us know the results.
Troubleshooting child theme:
1- Remove all customization on the child theme.
2- add your customization one by one to the child theme.
3- After adding each customization code, check your issue
Note: in the staging website, if you have a cache plugin or server cache. You need to clear its cache contents or disable them.
Best Regards