Accidentally changed the path of an RSS feed page in Views to refer to a menu link item and cannot access Views menu anymore I cannot access views from the Structure Menu in Drupal 8 anymore. I accidentally changed the path of an RSS feed page in Views to refer to a menu link item and cannot access the Views menu anymore.

How does one fix this? I get an error that says "The website encountered an unexpected error. Please try again later when trying to access View Menu."

The report log says the following:

"InvalidArgumentException: The internal path component 'http://localhost/drupal/News-Press' is external. You are not allowed to specify an external URL together with internal:/. in Drupal\Core\Url::fromInternalUri() (line 409 of C:\xampp\htdocs\drupal\core\lib\Drupal\Core\Url.php)."
You can export your configuration to files, then edit the file that holds wour faulty view, edit the URL, save it and import the configuiratin again.

To do this:


Go to /admin/config/development/configuration/full/export and click 'Export'. Your browser should donwload tar.gz file.
Uncompress the file to see all your site configuration splitted in multiple files.
The file that holds your faulty view file should be views.view.NAME_OF_THE_VIEW. Edit it and look for a line with the view path. It should be:


  path: {wrong path}

Change to the right path and save the file.
Compress again all files to get again a tar.gz file. Is the same that you downloaded but with the file you have just updated.
Go to /admin/config/development/configuration/full/import and upload your tar.gz file with the new configuration.


Drupal should update the configuration and change that view url.

Udpate

Unfortunately it seems there's a bug with views that can arise when editing file in Windows (an probably Mac):
Importing tar file causes Archive_Tar error


  I had the same problem and I found that I could not open the tar
  neither. So I tryed other exports. I found that when I don't export
  views settings, the tar is good. It's only when I put some specific
  views in the export that the tar does not work.


Second update
As @user3531869 says, it's possible to update one single file of configuration to avoid the mentioned bug. To do this go to /admin/config/development/configuration/single/export and select the element you want to export (in this case select View as configuration type, Aggregator RSS Feed as configuration name), copy the the code that Drupal returns, edit to fix the path and the go to /admin/config/development/configuration/single/import, select View as configuration type, paste the edited code in the text area and clicj Import.