This is a known issue and unrelated to WHMCS.
You can solve this by adding: "zendframework/zend-stratigility": "1.2.*" to composer.json in your webroot like so:

& running the command composer update followed by php flarum cache:clear from the webroot.