I encountered the same problem after transfer to a new host. The only solution I found was to remove in the database the content of ‘option_value’ for the row ‘widget_text’ in table ‘wp_options’ and then recreate all my text widgets, and it works now !!!