Typed static property Error after upgrading to V3
I upgraded the v2 to project to v3 using the automated upgrade script.
However after doing the composer update, I am getting this error Typed static property Filament\Resources\Pages\Page::$resource must not be accessed before initialization
What could be the reason for this?
Solution:Jump to solution
Check your
Page
classes. One might be missing a $resource
declaration or something similar.3 Replies
Bump
Solution
Check your
Page
classes. One might be missing a $resource
declaration or something similar.It was indeed a resource causing the issue, It was working fine in v2, not sure what went wrong in v3