<blockquote>
  <p>"value of craft/web/Application::getIsLive() must be of type boolean, null returned"</p>
</blockquote>

<p>If you're getting that, then <code>$this-&gt;getProjectConfig()-&gt;get('system.live');</code> (which is what that line is using), is returning something other than <code>true</code> or <code>false</code>, then some update along with the way in all of your attempts didn't complete correctly.</p>

<p>If you happen to have a 3.0.x database backup from before you started this available, then try restoring from that and attempting the update to 3.1 again noting any errors you might be receiving during the update process first.</p>

CC BY-SA 4.0
2019-01-30T02:24:35.037Z
2019-01-30T02:24:35.037Z
Brad Bell
<p>I resolved this by adding <code>'isSystemLive' =&gt; true</code> in general.php</p>

CC BY-SA 4.0
2019-02-14T15:15:01.903Z
2019-02-14T15:15:01.903Z
Michael Thomas
<p>I tried upgrading a Craft 3.0 installation to 3.1, and got the following error:</p>

<blockquote>
  <p>"value of craft/web/Application::getIsLive() must be of type boolean, null returned"</p>
</blockquote>

<p>Has anyone else run into this?  Does anyone know a fix?</p>

CC BY-SA 4.0
2019-01-28T20:26:35.150Z
hmm, not sure, but. Have you tried surfing to `yoursitename.com/admin/settings/plugins` ? Think you will have to accept some database updates.
Jan_dh
CC BY-SA 4.0
2019-01-29T14:01:26.380Z
It's erroring out on the admin side of things too.
watchwood
CC BY-SA 4.0
2019-01-29T15:08:53.040Z
I know but you have to allow Craft to make some database changes before 3.1 can work.
Jan_dh
CC BY-SA 4.0
2019-01-29T15:14:02.033Z
OK, how do I do that when the entire admin panel is also throwing errors?
watchwood
<craft3>
Craft 3.1: value of craft/web/Application::getIsLive() must be of type boolean, null returned
# Craft 3.1: value of craft/web/Application::getIsLive() must be of type boolean, null returned

(Asked by: username_0 on 2019-01-28)

I tried upgrading a Craft 3.0 installation to 3.1, and got the following error:

> "value of craft/web/Application::getIsLive() must be of type boolean, null returned"

Has anyone else run into this? Does anyone know a fix?

**Tags:** craft3
> **Comments:**
> **username_1**: hmm, not sure, but. Have you tried surfing to `yoursitename.com/admin/settings/plugins` ? Think you will have to accept some database updates.  
> **username_0**: It's erroring out on the admin side of things too.  
> **username_1**: I know but you have to allow Craft to make some database changes before 3.1 can work.  
> **username_0**: OK, how do I do that when the entire admin panel is also throwing errors?  

---

## 2 answers

### Answer by username_3 on 2019-02-14. Score: 4 | Accepted answer

I resolved this by adding `'isSystemLive' => true` in general.php


---

### Answer by username_2 on 2019-01-30. Score: 1

> "value of craft/web/Application::getIsLive() must be of type boolean, null returned"

If you're getting that, then `$this->getProjectConfig()->get('system.live');` (which is what that line is using), is returning something other than `true` or `false`, then some update along with the way in all of your attempts didn't complete correctly.

If you happen to have a 3.0.x database backup from before you started this available, then try restoring from that and attempting the update to 3.1 again noting any errors you might be receiving during the update process first.


---

