title: Woocommerce Setup Failed
body: <p>I tried to install woocommerce on a fresh WordPress 5.4.1 installation.</p>
  
  <p>Woocommerce plugin was successfully installed, but when setting up the store, there's an error, it says <code>There was a problem updating your preferences</code>, I checked the browser console, and from the ajax call it received :</p>
  
  <pre><code>{"code":"woocommerce_rest_cannot_view","message":"You must supply an array of options.","data":500}
  </code></pre>
  
  <p>I tried to remove the application folder and database, then recreated a new empty database then reinstall the WordPress, then setting up the store, but still receiving the same error.</p>
  
  <p><a href="https://i.stack.imgur.com/JjrdV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JjrdV.png" alt="Error Message 1"></a>
  <a href="https://i.stack.imgur.com/cX7cN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cX7cN.png" alt="Error Message 2"></a>
  <a href="https://i.stack.imgur.com/VVtpH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VVtpH.png" alt="Error Message 3"></a></p>