Voyager: Updated to 1.3 = Route [voyager.media.remove] not defined

Created on 26 Oct 2019  路  4Comments  路  Source: the-control-group/voyager

Version information

  • Laravel: v6.4.0
  • Voyager: v1.3.0
  • PHP: 7.3.1
  • Database: MariaDB

Description


Route [voyager.media.remove] not defined. (View: /home/vagrant/code/resources/views/vendor/voyager/users/edit-add.blade.php)

Steps To Reproduce

Steps to reproduce the behavior:

  1. Go to Users
  2. Click on edit
  3. See error

Expected behavior

I want to edit the user in the admin panel

Most helpful comment

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.

All 4 comments

/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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kevinjon27 picture kevinjon27  路  3Comments

ferrywae picture ferrywae  路  4Comments

duongsieu picture duongsieu  路  3Comments

popica80 picture popica80  路  3Comments

zzpwestlife picture zzpwestlife  路  3Comments