Twig LoaderError: Template is not defined When I try to edit a page to upload 2 documents, I get an error.

Procedure: I edit the node, upload the first document. Then I insert a new field to upload the second document. However, the second field does not appear and I get the following error message in dblog:


  "Twig\Error\LoaderError: Template
  "themes/bootstrap_sbv/layout/sbv-personenseite-layout.html.twig" is
  not defined. in Twig\Loader\ChainLoader->getCacheKey() (line 10 of
  webpath/docroot/modules/ds/templates/ds-entity-view.html.twig).


I have tried to include the layout in the "ds-entity-view.html.twig" file.

{% include "/themes/bootstrap_sbv/layouts/sbv-personenseite-layout.html.twig" %}


But it doesn't work.

Curiously, everything works on the local environment. Only on the test and production environment I get the error. I have a custom theme on my Drupalsite.
Moving the templates to the Templates folder themes/THEMENAME/templates has solved the problem. I also had to change the path in the THEMENAME.layouts.yml