I’m unable to use the panel to add or edit entries in a structure field only inside Site options. It works perfectly on any other page of the site.
Given the following blueprint:
title: Site
fields:
foo:
label: Foo
type: structure
entry: >
{{ bar }}
fields:
bar:
label: bar
type: text
Whenever I try to add or edit an entry the modal window fails to launch (I just see the dark overlay layer) and get the following error:
Fatal error: Uncaught exception 'Exception' with message 'Invalid route' in project/panel/app/panel.php:222
Stack trace:
#0 project/panel/index.php(47): Panel->launch()
#1 {main} thrown in project/panel/app/panel.php on line 222
Things I’ve tried:
- Create a simplified test-case (blueprint code above)
- Disable multilanguage support in
config.php
. - Remove everything from
config.php
. - Delete
site.php
from the content folder. - Make sure Kirby, Toolkit and Panel are all up to date (2.1.0).
- Try using a fresh clone of the Starterkit and Langkit: it works.
Anyone have any idea of what the problem is? Or how i can debug it further?