Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    do you have sample link to your site for us to see and analyze? also, what errors are you getting?

    Thread Starter pauldixonuk

    (@pauldixonuk)

    Hi Angelo, thanks for the reply. Turns out I won’t be using Sensei now, so this is no longer an issue for me personally.

    However, for future reference, I believe it said “an error has occurred” but on a refresh or going to another page I was correctly logged in.

    I experienced the same behaviour with s2member, but that was resolved by preventing s2member handling redirects on login.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    thanks for the update.

    Hi.

    First of all, sorry for using this thread, but the problem is exactly the same and since nobody checked this issue is the main thread you find on google.

    The problem is as stated above, Login With Ajax displays “An error has ocurred”. This is the unknown error handler on the Javascript side, not the php class one.

    The problem occurs when trying to log in with a user who is also a Sensei user. The data received by the ajax request is empty, but wp_signon is executed. At this point, LWA checks wether the received object is a WP_User or a WP_Error in a strange way, comparing strtolower( get_class( $loginResult ) ) against lowercase strings of this class names.

    Thinking about it now, it may be that signon returns a subclass of WP_User made by Sensei. with is_a or instanceof this would be ok, but with this string comparison is possible to get an error if WP_User is not strictly the class used for the user returned by signon.

    Please check this. I cannot provide URL since it’s a client site.

    Thank you.

    If this is only appearing when using Sensei that would seem to indicate something you might want to take up with their support; they may have encountered the issue before.

    Unfortunately, we don’t have a copy of Sensei to test with.

    We are having the same issue and have to uninstall the AJAX plugin after using for a while…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Not Compatible with Sensei’ is closed to new replies.