Getting 500 error when trying to save website settings

Expected Behavior

When I change the visibility of my website to public and press save it should set it to public

Actual Behavior

When I change the visibility of my website to public and press save I get a 500 error and the website says “OOPS Something went wrong.”

Steps to Reproduce the Problem

  1. Go to the settings of your website
  2. Change visibility
  3. Press save

Specifications