whitecube / nova-page

Static pages content management for Laravel Nova
https://whitecube.github.io/nova-page
MIT License
238 stars 41 forks source link

Error when saving image using nova filemanager #41

Closed yassir3wad closed 4 years ago

yassir3wad commented 5 years ago

Symfony\Component\Debug\Exception\FatalThrowableError vendor\whitecube\nova-page\src\Pages\StaticResource.php line: 52 Argument 1 passed to Whitecube\NovaPage\Pages\StaticResource::__construct() must be an instance of Whitecube\NovaPage\Pages\Template, instance of Whitecube\NovaPage\Pages\Manager given, called in vendor\laravel\nova\src\Http\Requests\InteractsWithResources.php on line 65

` public function fields(Request $request) { return [ FilemanagerField::make('Cover Image') ->help("max file size 4M") ->rules("required", new CheckImage(4)) ->folder("pages") ->displayAsImage() ->hideFromIndex()

    ];
}

`

laravel version: 5.8.30 nova version: 2.0.9 nova-page version: 0.2.3 infinety-es/nova-filemanager version: 2.3

toonvandenbos commented 4 years ago

Hi @yassir3wad,

Is this issue still around in Nova 2.4.0?

Thanks

yassir3wad commented 4 years ago

No, Thanks @Nyratas

amidesfahani commented 3 years ago

in nova 3.12.1