hey everyone,
I have encountered the following 2 issues while testing this extension on Flarum 0.1.0-beta.8.1:
- While trying to update an already created pool:
[2019-01-26 11:35:19] production.ERROR: InvalidArgumentException: Zend\Diactoros\ServerRequest::withParsedBody expects a null, array, or object argument; received string in /var/www/html/vendor/zendframework/zend-diactoros/src/ServerRequest.php:184
Stack trace:
#0 /var/www/html/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(26): Zend\Diactoros\ServerRequest->withParsedBody('1')
#1 /var/www/html/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\ParseJsonBody->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#2 /var/www/html/vendor/flarum/core/src/Api/Middleware/HandleErrors.php(42): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
- While opening the dialog with pool results as another user (i.e. not the pool creator) once voted:
Uncaught TypeError: n.id is not a function
at ShowVotersModal.js:31
at Array.map (<anonymous>)
at e.a.getUsers (ShowVotersModal.js:26)
...
Thanks a lot for help / ideas, please let me know if further information is needed.