We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Let's say API.php contains:
public function test($idSite = null) { }
Unless the method is called with idSite non-empty, Piwik returns:
<result> <error message="The parameters are not valid. The method called requires 0 parameters. Please check your URL and the method API."/> </result>
The text was updated successfully, but these errors were encountered:
why wontfix? it sounds like a bug..
Sorry, something went wrong.
The exception is generated in the check for null parameters. So, I assumed this was by design/intentional.
In [1466], fixes #953 - API doesn't handle default null parameters; remove checkParametersAreNotNull
No branches or pull requests
Let's say API.php contains:
Unless the method is called with idSite non-empty, Piwik returns:
The text was updated successfully, but these errors were encountered: