Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-01-30T02:24:35.037Z
Answers.LastActivityDate: 2019-01-30T02:24:35.037Z
Answers.UserDisplayName: Brad Bell
Answers.Body: <p>I resolved this by adding <code>'isSystemLive' =&gt; true</code> in general.php</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-14T15:15:01.903Z
Answers.LastActivityDate: 2019-02-14T15:15:01.903Z
Answers.UserDisplayName: Michael Thomas
Body: <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>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-28T20:26:35.150Z
Comments.Text: hmm, not sure, but. Have you tried surfing to `yoursitename.com/admin/settings/plugins` ? Think you will have to accept some database updates.
Comments.UserDisplayName: Jan_dh
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-29T14:01:26.380Z
Comments.Text: It's erroring out on the admin side of things too.
Comments.UserDisplayName: watchwood
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-29T15:08:53.040Z
Comments.Text: I know but you have to allow Craft to make some database changes before 3.1 can work.
Comments.UserDisplayName: Jan_dh
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-01-29T15:14:02.033Z
Comments.Text: OK, how do I do that when the entire admin panel is also throwing errors?
Comments.UserDisplayName: watchwood
Tags: <craft3>
Title: Craft 3.1: value of craft/web/Application::getIsLive() must be of type boolean, null returned
ThreadText: # 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.
  
  
  ---
  
  