getkirby / kirby

Kirby's core application folder
https://getkirby.com
Other
1.31k stars 168 forks source link

Modifying a structure field value causes an error with no stack trace #1700

Closed hdodov closed 5 years ago

hdodov commented 5 years ago

Describe the bug Manually turning a structure value from string into array causes an error with no stack trace.

To Reproduce Steps to reproduce the behavior:

  1. Download the Kirby Starterkit
  2. Modify content/3_about/about.txt from:

    -
      platform: Twitter

    ...to

    -
      platform:
        - Twitter
  3. Open the homepage
  4. You should see the following error:

    977ac3cc39fb23827e5287ae093b72517de38afa

Expected behavior A stack trace telling you where the error came from.

Kirby Version 3.1.2

Desktop (please complete the following information):

distantnative commented 5 years ago

For me there is a stack trace:

Screenshot 2019-05-10 at 17 07 09