I have installed User directory which works fine until I installed Masquerade(which is used to create user profile).
Then I installed Masquerade and completed the questions and tested. It still works fine.
but later, when I want to go to the user directory and check users' profile.
Here it comes: 200 OK
GET http://coxxxxxty.xxxxxx.com/api/users
<br />
<b>Fatal error</b>: Declaration of FoF\Masquerade\Gambits\AnswerGambit::apply(Flarum\Search\AbstractSearch $search, $bit) must be compatible with Flarum\Search\AbstractRegexGambit::apply(Flarum\Search\SearchState $search, $bit) in <b>/www/wwwroot/coxxxxxty.xxxxxx.com/vendor/fof/masquerade/src/Gambits/AnswerGambit.php</b> on line <b>0</b><br />
Any one has the same issue?