Problem with logging in (bug)
-
Hello
One of my clients just wrote to me that people can’t log in, and I saw it’s a google captcha problem.
I have this same plugin installed on some other sites but it’s only on this one it doesn’t work, everything is updated.
This is a list of plugins used, all updated
add-search-to-menu
advanced-access-manager
advanced-custom-fields
annasta-woocommerce-product-filters
automatic-translator-addon-for-loco-translate
cmp-coming-soon-maintenance
code-profiler
complianz-gdpr-premium
complianz-terms-conditions
contact-form-7
debug-this
disable-blog
duplicate-post
easy-wp-smtp
elementor
elementor-pro
elementskit-lite
elex-woocommerce-dynamic-pricing-and-discounts
itm-products-shortcode
loco-translate
login-logout-menu
loginpress
mailchimp-for-wp
neve-pro-addon
perfect-woocommerce-brands
query-monitor
redis-cache
seo-by-rank-math
seo-by-rank-math-pro
simple-google-recaptcha
slider-carousel-shortcodes-wc-product
sparks-for-woocommerce
templates-patterns-collection
updraftplus
visibility-logic-elementor
webp-converter-for-media
webshipper-automated-shipping
woo-gutenberg-products-block
woo-pensopay
woo-product-attachment
woocommerce
woocommerce-pdf-invoices-packing-slips
woocommerce-pdf-ips-pro
woocustomizer
wp-rocket
wps-hide-login
wt-woocommerce-sequential-order-numbersI would try to find the problem myself or change plugin, but I don’t have time to trouble shoot at the moment, so I’m leaving the bug report here.
I also have 2 redirects related to login, it used to work with them and this plugin haven’t been updated in 4 months, so I don’t think it’s the redirects, but here they are just in case. The first one redirects users to login if they are on the woocommerce myaccount page as guests, the second redirects users from register to a page with a contact form.
add_action( 'template_redirect', 'redirect_user_to_login_page' ); function redirect_user_to_login_page(){ // Make sure your checkout page slug is correct if( is_page('min-konto') && !is_user_logged_in() ) { // Make sure your login page slug is correct in below line wp_redirect('/login/'); } }
add_action( 'login_form_register', 'user_registration_login_init' ); function user_registration_login_init () { if( ! is_user_logged_in() ) { wp_redirect( '/anmod-om-bruger' ); exit; } }
- The topic ‘Problem with logging in (bug)’ is closed to new replies.