Problem: Using an abstract class as a parent did work in the past, but since updating our application to laravel 10 and parental 1.3.3 we have the issue that we can't use an abstract class anymore as parent.
(Error: Cannot instantiate abstract class...).
\Parental\HasChildren::registerModelEvent
Changing the self to static did do the trick. I made a quick test to show the fix.
Problem: Using an abstract class as a parent did work in the past, but since updating our application to laravel 10 and parental 1.3.3 we have the issue that we can't use an abstract class anymore as parent. (Error: Cannot instantiate abstract class...).
\Parental\HasChildren::registerModelEvent Changing the self to static did do the trick. I made a quick test to show the fix.