Exception thrown

WPBMap::addParam can be called only in default scope