• Hi there,

    I got a issue with the message in Pop out: See error here: https://ibb.co/YXb1MCK
    It says “undefined” below “Session Timeout” title.

    I think it is because you send wp_send_json_error( __( ‘Session is already logged out.’, ‘inactive-logout’ ) ) in your function without variable ‘msg’, then there is no ob.msg defined on scripts file: see https://ibb.co/HBfPrNY

    Could you please fix it?

    • This topic was modified 3 years, 7 months ago by anhtruc92.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Deepen

    (@j_3rk)

    Hi there,

    I could not reproduce this error on my side. Can you let me know the settings you have selected for inactive logout ? and does this occur always after the logout.

    The code you highlighted only works when redirect option is selected from inactive logout settings page; “op.msg” is fetched from ajax request action “ina_checklastSession => case( ina_logout )” which does provide a string for op.msg object. I am guessing this is probably not the error here.

    Thread Starter anhtruc92

    (@anhtruc92)

    Hi there,

    Can you see the response of AJAX call on the first image? https://ibb.co/YXb1MCK
    It return JSON type: {“success”:false,”data”:”Session is already logged out.”} after your AJAX calling checking. The result return no msg information, but you are always using ob.msg in result response.

    It may cause when you open multiple tabs, then on the first tab you are logged out, so on other tabs it will appears this error. Please reproduce in this case.

    Plugin Author Deepen

    (@j_3rk)

    @anhtruc92

    Should be fixed in latest update. Please verify.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Undefined message on popup Session Timeout’ is closed to new replies.