Issue #3533938 - Protect against routes not setting parameters in their route options causing a PHP warning
Closes #3533938