Tested on Flarum 2.0.0-beta.8 version, when the core does not install any extensions, an error occurs in search: Oops! Something went wrong. Please reload the page and try again.
/api/discussions?fil…CfirstPost%2Ctags:1
Failed to load resource: the server responded with a status of 400 (Bad Request)
(索引):1 Uncaught (in promise)
s
alert
:
{type: 'error', content: Array(1), controls: false}
options
:
{background: true, method: 'GET', url: 'http://www.hello.com/api/discussions', params: {…}, deserialize: ƒ, …}
response
:
{errors: Array(1)}
responseText
:
"{\"errors\":[{\"status\":\"400\",\"code\":\"validation_error\",\"title\":\"Bad Request\",\"detail\":\"Invalid include [tags]\",\"source\":{\"parameter\":\"include\"}}]}"
status
:
400
xhr
:
XMLHttpRequest {readyState: 4, timeout: 0, withCredentials: false, abort: ƒ, onreadystatechange: ƒ, …}
[[Prototype]]
:
Object