title: WordPress "Notice: Undefined index: host" after initial setup running locally on linux
body: <p>I'm trying to set up WordPress on my laptop running Kali Linux. Everything works until I install WordPress and the theme I am using. I'm trying to use roots sage on bedrock. But after I get through the installation process I get a notice in the admin:</p>
  
  <pre><code>Notice: Undefined index: host in /var/www/html/site/web/wp/wp-includes/theme.php on line 2937
  Notice: Undefined index: host in /var/www/html/site/web/wp/wp-includes/theme.php on line 2937
  Notice: Undefined index: host in /var/www/html/site/web/wp/wp-includes/theme.php on line 2999
  Notice: Undefined index: host in /var/www/html/site/web/wp/wp-includes/theme.php on line 2999
  </code></pre>
  
  <p>And in the frontend:</p>
  
  <pre><code>Notice: Undefined index: host in /var/www/html/site/web/wp/wp-includes/theme.php on line 2999
  Notice: Undefined index: host in /var/www/html/site/web/wp/wp-includes/theme.php on line 2999
  </code></pre>
  
  <p>Can anyone explain why I'm getting these notices? I must have missed something but I've gone through the instructions several times and I'm out of ideas. Thanks</p>