TypeError thrown

call_user_func_array(): Argument #1 ($callback) must be a valid callback, class "MainWP_Security" not found