Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 300511

Parameter "arg_0" must match "[^/]++"

$
0
0

I get this issue using Views module:

Symfony\Component\Routing\Exception\InvalidParameterException: Parameter "arg_0" for route "view.test.feed_1" must match "[^/]++" ("" given) to generate a corresponding URL. in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 205 of /code/web/core/lib/Drupal/Core/Routing/UrlGenerator.php).

How to recreate it:

1. Create view with a block display.
2. Add filters to the block, expose them to visitors and enable AJAX.
3. Add page display with contextual filters and the path should have a dynamic argument such as /path/%.
4. Place the block to any page then you will get the issue.

The reason of that is views module wants to replace form action with page url and the url is broken because it doesn't have any argument.

I used Better Exposed Filter and didn't check the issue without it though.


Viewing all articles
Browse latest Browse all 300511

Trending Articles


Download: Don Kingston ft General Kanene – Landlord(Prod by Great Pro)


Neem Baba Extra Questions Answer Class 6 English Poorvi


Deceased’s neighbours puzzled


CVP measurement


Practice Sheet of Right form of verbs for HSC Students


The Old Stag Class 4 Extra Questions MCQ English Chapter 5


Shaun Waring – Buxton


FREE BMW HUTOOLS 2.6 PRE


Verna Mae Skarsten


Mahakal Attitude Status



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>