• Resolved faridjc

    (@faridjc)


    When having the WP Activity Log plugin activated, and switch users using User Switching plugin I get this fatal error:

    Fatal error: Uncaught TypeError: call_user_func_array():
    Argument #1 ($callback) must be a valid callback, non-static method 
    WSAL\WP_Sensors\WP_Log_In_Out_Sensor::user_switched_event() cannot be called statically

    WP 6.2

    User Switching 1.7

    WP Activity Log 4.5.0

    PHP 8.0.22

    Tested on a clean installation with only those two plugins active.

    The error is not thrown on PHP 7.3.5

    The error is not thrown on WP Activity Log 4.4.3.2

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support robertabela

    (@robert681)

    Thank you for using our plugin.

    I am sorry to read about your issue. Just to confirm, is this the plugin that you are using?

    https://wordpress.org/plugins/user-switching/

    Or is it another one?

    Looking forward to hearing from you.

    Thread Starter faridjc

    (@faridjc)

    Hello Robert, thanks for your reply. Yes, that’s the one.

    Plugin Support robertabela

    (@robert681)

    Thank you for the confirmation. We can confirm the issue and we will include a fix in the upcoming maintenance update, which we will release some time next week.

    Should there be anything else we can help you with, please do not hesitate to ask.

    Thank you again for using our plugin.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Fatal error when using user switching’ is closed to new replies.