• Resolved alexanderdean

    (@alexanderdean)


    Greetings…

    I’m testing your plugin for a reporting project. The logging data sounds like what I need, but I can’t get the plugin to work. I’ve installed it and tried several logins with a test user. No records are generated. The wp_fa_user_logins table is in the db, but it’s empty. There is no error log in /wp-content to reference. Please advise.

    Also, this is just a dev site, so I can give you access, if you’d like.

    Thanks,
    Alec

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter alexanderdean

    (@alexanderdean)

    It seems that the theme’s (WPLMS) frontend login is AJAX and thus bypassing the hooks your plugin uses. Any ideas?

    Plugin Author Faiyaz Alam

    (@faiyazalam)

    Hello,

    To reproduce the bug, I need WPLMS theme which I cannot buy at the moment :).

    For now can you please check the following method and share its output:

    add_action( 'wp_login', 'my_test_login', 0, 2 );
    function my_test_login($user_login, $user){
    var_dump($user_login);
    var_dump($user);
    echo "this action is called on login event";
    exit;
    }

    You can place this function in your theme functions.php file at the bottom.

    If above function is not called just after login, there is some issue or conflict in your theme. In this case, you have to ask for support from theme’s developer.

    Make sure to disable my plugin before testing the above code.

    Thread Starter alexanderdean

    (@alexanderdean)

    Hi Faiyaz…
    Thanks for your reply.. I have used it to solve the problem.. it looks like the ‘wp_login’ hook is not triggered at all by the WPLMS AJAX login… I found a setting to disable the AJAX login and now the login triggers the action hook as it should… Also, it appears that the login on the website is also still working fine, so I think everything is okay.. Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No records are being created’ is closed to new replies.