->RenderHook() problem in AdminPanelProvider.php | Class "Filament\View\PanelsRenderHook" not found

Hello.

I had this same configuration in my last application two months ago and had no problems.
For this new application I am beginning now, I wanted to have the same exact renderHook and used the same in AdminPanelProvider.php
->renderHook(
    PanelsRenderHook::TOPBAR_START,
    fn(): View => view('filament.settings.custom-footer'),
);
And then I have the error:
Class "Filament\View\PanelsRenderHook" not found


It looks to me as if something is still pending to be installed, because in my previous application where it is working I can right click over the word PanelsRenderHook and click on "Go to definition" and it opens:
vendor\filament\filament\src\View\PanelsRenderHook.php

But with his new one it says it cannot find the definition file "Definition not found".

Any ideas of what I am missing.

Thank you
Solution
Try updating. v3.2.0 is half a year old.
Was this page helpful?