Comment on When toggling publish switches, an error is shown in the console