Yes the backend admin pages work, and I can drag and drop the civievent widget into various locations. The config dialog opens up in the widget. It only fails on the front end with the message above on a white screen.
I hacked the code a little to display the output of get_declared_classes(), and civievent_Widget is clearly there.
So as a temporary workaround I have commented out the single widget references in two places:
// require_once 'civievent-single-widget.php';
add_action( 'widgets_init', function() {
register_widget( 'civievent_Widget' );
// register_widget( 'civievent_single_Widget' );
wp_register_style( 'civievent-widget-Stylesheet', plugins_url( 'civievevent-widget.css', __FILE__ ) );
});
And now the rest of it works. Not a solution, but it will be ok until a solution is found. I don’t need the single widget anyway.