Unexpected website exception thrown while getting report with Request::processRequest(args) #11600
Labels
answered
For when a question was asked and we referred to forum or answered it.
c: Tests & QA
For issues related to automated tests or making it easier to QA & test issues.
I'm writing a new plugin using this short snippet of code querying VisitsSummary.get API method, but unluckly.
My unit test is throwing an exception:
I've also tried calling the API directly (but isn't a good practice as shown in docs):
In this case I got a more detailed backtrace:
Reading the code looks like idSite argument get lost (empty) in its road to Site.php:128 but I can't really say where, because at UnexpectedWebsiteFoundException idSite stills
1
.Any help is appreciated, ciao!
The text was updated successfully, but these errors were encountered: