TypeError thrown

call_user_func(): Argument #1 ($callback) must be a valid callback, class wpl_logs does not have a method "auto_purge"