System Status Page Error after 5.3.1 Upgrade
I resolved it by disabling Mosaico, then Flexmailer; and then re-enabling them in the opposite order: Flexmailer then Mosaico (the order is important!). 

I used the Administration screen to manage CiviCRM extensions; but you could also use Drush if your Civi is on Drupal.