When deleting and uploading a new file, such an error occurs. I can't understand why the error occurs. Everything worked on the local. I ask you to help solve the issue and suggest what it might be
Whitecube\NovaPage\Pages\StaticResource::__construct(): Argument #1 ($resource) must be of type Whitecube\NovaPage\Pages\Template, Whitecube\NovaPage\Pages\Manager given, called in /var/www/www-root/data/www/site.com/vendor/laravel/nova/src/Http/Requests/InteractsWithResources.php on line 69
When deleting and uploading a new file, such an error occurs. I can't understand why the error occurs. Everything worked on the local. I ask you to help solve the issue and suggest what it might be
Whitecube\NovaPage\Pages\StaticResource::__construct(): Argument #1 ($resource) must be of type Whitecube\NovaPage\Pages\Template, Whitecube\NovaPage\Pages\Manager given, called in /var/www/www-root/data/www/site.com/vendor/laravel/nova/src/Http/Requests/InteractsWithResources.php on line 69