Same problem: WiFi toggle to turn on/off does not work. Displayed error message:
„Could not run set Wi-Fi - there was a problem communicating with the app“
I tried to trigger the shortcut directly in the shortcut app and also via the widget. Both attemps ended with the error message.
iPhone XS
iOS 14 Beta 3