New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression: Saving routes in CP creates string instead of array. Will cause error on template routes #1581

rrelmy opened this Issue Aug 31, 2017 · 2 comments


None yet
3 participants

rrelmy commented Aug 31, 2017

Expected behaviour

Don't break my site

Actual behaviour

Breaking my site :-)

Saving the route settings in the cp will add strings to the yaml file instead of nothing or a empty array

vanity: ""

There is an array_key_exists expects param 2 to be array, string given error inside StatamicController on line 344.

Steps to reproduce

  1. Save empty vanitiy routes in CP
  2. Visit a template mounted via route
  3. See an error

Server Details

Statamic Version: 2.6.8


This comment has been minimized.


jasonvarga commented Aug 31, 2017

Knew that change was too good to be true.


This comment has been minimized.

lukeagsmith commented Aug 31, 2017

Just bumped into this one too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment