shaohao2014 The third argument to Zend\Stratigility\MiddlewarePipe() ($out) will be required starting with Stratigility version 2;
justjavac composer require zendframework/zend-stratigility 1.2.1 https://discuss.flarum.org/d/4218-zend-stratigility-debug-message-after-composer-update