Can’t show “Activate your account” after registering
-
I tried everything from the dev issue Forum, but nothing made the messages appear to the users.
- The message asking them to activate the account after registering
- Message asking them to activate the account when trying to log in
I tried Authenticate Filter on all options, Force Redirect with and without custom redirect (to pages that show messages), Prevent login after register, Custom logout functions. I’m not keeping caches because this is a staging server. The message is not hidden with CSS
I can see the woocommerce messages (
woocommerce-notices-wrapper
div) are being printed empty when there should be errors (it shows errors when not entering a valid account). I even printed a second[shop_messages]
shortcode to see if it was a lack of message on the template, but it just duplicated the errors from the form (while still not showing messages from this plugin).I have a custom template for the form-login.php that is being used as a shortcode block(the woocommerce default
[woocommerce_my_account]
in a guttenberg page. It shows both the Login and the Register forms in the same page.Please share some light.
- Is there a hook I might be using that overwrites yours?
- Does the message doesn’t show because the page is refreshed a couple of times? (Login + message, logout + message gone)
- Do I need to print any code on my TPL in order for the messages to appear?
Thanks
- The topic ‘Can’t show “Activate your account” after registering’ is closed to new replies.