Hi there Paul, thanks for your support for the plugin, I’m glad you’re finding it useful.
I will investigate the issue with Auto Login New User After Registration for you, I would like add support within the plugin, rather than provide additional functions/workarounds.
However, it might be a good idea for me to provide some hooks for developers, i’ll add it to the features list!
I’ll report back once I have a solution for you.
That’s fantastic, thank you. If it is possible, I will certainly be using this plugin for all site designs in future!
Hi Paul,
I’ve just had a go at testing out the Auto Login New User After Registration plugin on some test space.
When testing, after registration the WP Persistent Login cookies were set. After restarting the browser, I was automatically logged back in again.
There must be something else afoot here. Are you able to list all of the plugins you have running please?
EDIT:
I have just had a go at registering on the website in question, and I can see that it’s not setting the Persistent Login cookies. I did notice that the registration form only has the email field as an option and the form code looks a lot different to what I have on my test space (I may be looking at the wrong form though if you’re just testing out Auto Login After Registration).
Feel free to contact me via email to discuss specifics about your setup if you’d like to.
-
This reply was modified 5 years, 10 months ago by lukeseager. Reason: Additional information
Ok, so I’ve tested the combination of the 2 plugins on other sites and they DO work, the cookie is always set – just not on sarahmckenna.ie, even if you bypass the pop-up login form and go directly to https://www.sarahmckenna.ie/shop/my-account
I’ve also disabled the plugin for the login pop-up, made no difference.
There is a setting in Woocommerce for “When creating an account, automatically generate a username from the customer’s email address” and “When creating an account, automatically generate an account password”, toggling these makes no difference either.
I’ve also switched themes, still the same issue. So not a theme conflict.
Unfortunately the list of plugins is extensive, and not all of them free. I’ve done a listing of the plugin directory below. At this point I believe the effort to troubleshoot on your part (and mine) would be too much, as it just means at SOME later point after being auto-logged in the user will need to do a password reset, and just once as after that your plugin will keep them logged in.
Here’s the list, maybe something will jump out at you. Otherwise, please do not worry too much about it. I’ll likely stumble upon the cause of the conflict myself at a later date. It’s not a show-stopper for me and I am quite happy to support your plugin (especially as I know the setup will work on other sites).
404-to-start
aelia-woocommerce-blacklister
akismet
auto-login-new-user-after-registration
child-theme-configurator
cloudflare
contact-form-7
cookie-notice
custom-login
custom-new-user-notification
default-image-settings
disable-comments
disable-xml-rpc
easy-fancybox
facebook-for-woocommerce
fast-velocity-minify
google-analyticator
google-captcha
hide-products-count
homepage-control
iwp-client
jetpack
mailchimp-for-woocommerce
mailchimp-for-wp
popup-maker
quick-pagepost-redirect-plugin
really-simple-ssl
require-featured-image
resize-image-after-upload
restrict-widgets
sfx-align-menu-right
simple-author-box
smtp-mailer
social-media-widget
storefront-blog-customiser
storefront-blog-excerpt
storefront-footer-bar
storefront-hamburger-menu
storefront-mega-menus
storefront-parallax-hero
storefront-powerpack
storefront-product-sharing
storefront-reviews
storefront-sticky-add-to-cart
stripe-woocommerce-addon
ti-woocommerce-wishlist
updraftplus
user-menus
user-role-editor
wc-aelia-foundation-classes
woocommerce
woocommerce-advanced-free-shipping
woocommerce-auto-category-thumbnails
woocommerce-bulk-stock-management
woocommerce-checkout-manager
woocommerce-colors
woocommerce-currency-switcher
woocommerce-extra-product-sorting-options
woocommerce-login-popup-and-shortcodes
woocommerce-mailchimp
woocommerce-pip
woocommerce-rapid-stock-manager
woocommerce-smart-sale-badge
woocommerce-table-rate-shipping
woocommerce-waitlist
wordfence
wordpress-seo-premium
wp-maintenance-mode
wp-optimize
wp-persistent-login-premium
youtube-embed-plus
That is a big list! I’ll run a test on the login related plugins to see if I can find a culprit.
I am going to add a hook to the plugin for developers to set the persistent login for a user, so worst case you should be able to add some code to your functions.php to force the persistent login.
I’ll help you out – here’s a clone of the site with your user promoted to admin -> http://sandbox.sarahmckenna.ie
-
This reply was modified 5 years, 10 months ago by Paul Scollon.
As an update for the thread after some email corrospondence with Paul: The bug seems to be limited to Linux operating systems whilst running the auto login plugin.
Further testing is taking place to fix this bug.
After researching and testing, with the help of Paul (much appreciated!) I can confirm that this bug has been fixed.
The fix will feature in the next update of the plugin in the coming days.
Thanks again to Paul for his assistance.