In VisualEditorHooks:
Catchable fatal error: Argument 2 passed to VisualEditorHooks::onDiffViewHeader() must be an instance of Revision, null given in /srv/mediawiki/php-1.30.0-wmf.7/includes/Hooks.php on line 186
And RevisionSliderHooks:
Catchable fatal error: Argument 2 passed to RevisionSliderHooks::onDiffViewHeader() must be an instance of Revision, null given in /srv/mediawiki/php-1.30.0-wmf.7/includes/Hooks.php on line 186
The hook has a type hint but it needs to accept null for the revision arguments.