Widgets giving error message in 5.8 update

I use the Shapely theme on 2 sites and I am getting error messages on the widget page after the 5.8 WP update.