public function checkIsEnabled()
{
if (!$this->isEnabled()) {
$message = Piwik::translate('General_ExceptionReportNotEnabled');
if (Piwik::hasUserSuperUserAccess()) {
$message .= ' Most likely Ecommerce is not enabled for the requested site.';
}
throw new \Exception($message);
}
}