SyntaxFix
Write A Post
Hire A Developer
Questions
I got this error when invoking a function from a Laravel Controller to a PHP file.
After a couple of hours, I found the problem: I was using $this from within a static function.