Route [voyager.media.remove] not defined. (View: /home/vagrant/code/resources/views/vendor/voyager/users/edit-add.blade.php)
Steps to reproduce the behavior:
I want to edit the user in the admin panel
/home/vagrant/code/resources/views/vendor/voyager/users/edit-add.blade.php is a custom view.
Without seeing it there's no chance we can help you.
route was changed in #4113
$.post('{{ route('voyager.'.$dataType->slug.'.media.remove') }}', params, function (response) {
If you have custom views you should always check if something was changed in the original to keep yours updated.
Thanks @MrCrayon, that fixed my issue. Haven't worked on that particular project for more then 4 months, totally forgot about the custom view.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.
Most helpful comment
route was changed in #4113
If you have custom views you should always check if something was changed in the original to keep yours updated.