- Issue created by @plopesc
- Merge request !8Issue #3536870: Fatal error when invoking views_url_path default argument with... → (Merged) created by plopesc
- First commit to issue fork.
When trying to execute a view that use the views_url_path default argument and the URL is empty, like in a drush command, the system returns a fatal error after upgrading to 1.5.
In 1.3, when the URL is empty , it returns an empty string, however in 1.5, we get the following error:
TypeError: Symfony\Component\HttpFoundation\InputBag::get(): Argument #1 ($key) must be of type string, null given, called in /var/www/html/web/modules/contrib/views_url_path_arguments/src/Plugin/views/argument_default/UrlPath.php
Refactor introduced in 🐛 Deprecated function: ctype_digit() Active does not work with empty routes.
Active
1.0
Code