-
Whenever I use $this in action, I get the "Using $this when not in object context" error. My controller function is -
|
Beta Was this translation helpful? Give feedback.
Answered by
danharrin
Jan 23, 2023
Replies: 1 comment 4 replies
-
Replace $this with |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
paramwork
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Replace $this with
$livewire
and use$livewire
in the arguments of that closure