Fatal error when using user switching
-
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 staticallyWP 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)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Fatal error when using user switching’ is closed to new replies.