jorrit Not sure if it has to do with your extension, but since some time I get warnings like this: ... and ...
JakubMisek jorrit, this is usually caused when using some laravel stub generators, which create invalid code. From the sample provided, I'm not able to give any help. How is the $workorder created? Can you track where stdclass is coming from?