Bug API generated Webhook causes internal error

There is a bug in this version
X

Xon

Guest
XF\Api\Result\EntityResult::castToFinalValue's calls XF\Mvc\Entity\AbstractCollection::toWebhookResults with completely the wrong arguments.

Code:

Code:
TypeError: XF\Mvc\Entity\AbstractCollection::toWebhookResults(): Argument #1 ($options) must be of type array, int given, called in /var/www/src/XF/Api/Result/EntityResult.php on line 226 in src/XF/Mvc/Entity/AbstractCollection.php at line 72

    XF\Mvc\Entity\AbstractCollection->toWebhookResults() in src/XF/Api/Result/EntityResult.php...

Read more

Continue reading...