You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ciao,
I'm writing a plugin that should query VisitsSummary plugin and writedown results, this plugin should be run after and before 3.x migration to assure migration was flawless.
I'm testing the plugin class but I'm getting a General_ExceptionPrivilegeAccessWebsite exception thrown while it does the Request::processRequest so I enveloped it inside the callable Piwik::doAsSuperuser (either inside Access::doAsSuperuser) but with no results, looks like I have no privileges querying idSite.
Any support is welcome, thank you
The text was updated successfully, but these errors were encountered:
doAsSuperuser is no good, I solved with Access::getInstance()->setSuperUserAccess();
Now the problem is another, processRequest can't run the API request because «an unexpected idsite: 1»
Ciao,
I'm writing a plugin that should query VisitsSummary plugin and writedown results, this plugin should be run after and before 3.x migration to assure migration was flawless.
I'm testing the plugin class but I'm getting a
General_ExceptionPrivilegeAccessWebsite
exception thrown while it does theRequest::processRequest
so I enveloped it inside the callablePiwik::doAsSuperuser
(either insideAccess::doAsSuperuser
) but with no results, looks like I have no privileges querying idSite.Any support is welcome, thank you
The text was updated successfully, but these errors were encountered: