This topic has 2 replies, 2 voices, and was last updated 6 years by Radu.

  • Author
  • #181352
     dave31415
    Participant

    I have SweetDate installed and installed the lastest version of Woocommerce. However when this plugin is activated, I get a bug that whenever a non-admin logs in, the login is successful but is then redirected the the URL /false which redirects to the 404 page.

    This only occurs when Woocommerce is activated. Woocommerce version is 3.2.5.

     

    #181375
     dave31415
    Participant

    I’m not sure how this relates to woocommerce but I’ve been able to fix this by changing line 617
    in sweetdate/assets/scripts/app.js

    from

    if (data.redirecturl == null) {

    to

    if (data.redirecturl == null || data.redirecturl == false) {

    I guess this would also work

    if (! data.redirecturl) {

    #181451
     Radu
    Moderator

    Hi,

    Tried to reproduce the issue multiple times but i cannot see the behaviour that you explain.

    Did you have latest theme version + latest WP version ?

    Also if you de-activate all plugins except woocommerce it works normally ?

    If you de-activate the child theme (if you have it) it works ?

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?