Well, the search engine of my Flarum installation blocks the API and does not return results. So it is able to search for users but when searching in the discussions it returns an error.
I have looked in the Chrome console and the error is as follows:
Your browser tried to fetch data from the forum.es/api/discussions endpoint using a GET request. The server encountered an internal error (500) and couldn't fulfill the request. Your application's error handling mechanism (likely bialert) caught this error and displayed a generic message asking the user to reload the page.
This is the URL output: forumURL/api/discussions?filter%5Bq%5D=man%20&page%5Blimit%5D=3&include=mostRelevantPost
Any ideas?
I have tried uninstalling all extensions and the problem persists. Otherwise, the forum is working normally.