<p>You might need to fix this manually.</p>
<p>Open your <code>config/project/project.yaml</code> and make sure that the <code>system</code> object has all the following keys in there (you seem to be missing <code>name</code>):</p>
<pre><code>system:
  edition: pro
  live: true
  name: Site Name
  retryDuration: null
  schemaVersion: 3.6.6
  timeZone: Europe/Paris
</code></pre>
<p>Once you have done that, run <code>./craft project-config/apply</code> and the error should go.</p>
<p>Note that the <code>schemaVersion</code> is for Craft <code>3.6.11.1</code>.</p>

CC BY-SA 4.0
2021-03-26T20:07:58.040Z
OBS - this broke my site! se images below.
David André Erichsen
CC BY-SA 4.0
2021-03-27T12:09:40.090Z
You need to replace the `xxx` with actual values!! See above
Oli
CC BY-SA 4.0
2021-03-25T16:19:08.557Z
2021-03-27T12:10:05.093Z
2021-03-27T12:10:05.093Z
Oli
<p>When I go to settings/general in the CP i get this Twig Runtime Error.  Does anoyone here know what to do to fix it?</p>
<p><a href="https://i.sstatic.net/tWNXo.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/tWNXo.png" alt="enter image description here" /></a></p>

CC BY-SA 4.0
2021-03-25T09:23:57.617Z
Which version of Craft are you on?
Oli
CC BY-SA 4.0
2021-03-25T13:39:22.510Z
Version 3.6.11.1
David André Erichsen
CC BY-SA 4.0
2021-03-26T20:06:36.120Z
I tried this but now I can't access the Craft-installation at all... [![enter image description here](https://i.sstatic.net/XR3ja.png)](https://i.sstatic.net/XR3ja.png) [![enter image description here](https://i.sstatic.net/bAmqG.png)](https://i.sstatic.net/bAmqG.png)
David André Erichsen
CC BY-SA 4.0
2021-03-27T07:18:01.217Z
Do you have a backup of the database? Is this a new project or an exisiting? The error log mentions a missing project name usually thats set when running `./craft setup` 
Joe Prisk
<control-panel><error>
Twig Runtime Error on settings/general (value: system.name)
# Twig Runtime Error on settings/general (value: system.name)

(Asked by: username_0 on 2021-03-25)

When I go to settings/general in the CP i get this Twig Runtime Error. Does anoyone here know what to do to fix it?

[![enter image description here](https://i.sstatic.net/tWNXo.png)](https://i.sstatic.net/tWNXo.png)

**Tags:** control-panel, error

> **Comments:**
> **username_1**: Which version of Craft are you on?  
> **username_0**: Version 3.6.11.1  
> **username_0**: I tried this but now I can't access the Craft-installation at all... [![enter image description here](https://i.sstatic.net/XR3ja.png)](https://i.sstatic.net/XR3ja.png) [![enter image description here](https://i.sstatic.net/bAmqG.png)](https://i.sstatic.net/bAmqG.png)  
> **username_2**: Do you have a backup of the database? Is this a new project or an exisiting? The error log mentions a missing project name usually thats set when running `./craft setup`   

---

## 1 answers

### Answer by username_1 on 2021-03-25. Score: 1

You might need to fix this manually.
Open your config/project/project.yaml and make sure that the system object has all the following keys in there (you seem to be missing name):
system:
  edition: pro
  live: true
  name: Site Name
  retryDuration: null
  schemaVersion: 3.6.6
  timeZone: Europe/Paris

Once you have done that, run ./craft project-config/apply and the error should go.
Note that the schemaVersion is for Craft 3.6.11.1.

> **Comments:**
> **username_0**: OBS - this broke my site! se images below.  
> **username_1**: You need to replace the `xxx` with actual values!! See above  

---

