fix fatal Cannot use Piwik\Plugins\API\API as API