Help setting components values

Please i need help setting the values needed for my component off the admin page as it needs to get the values from a database and i am getting an error

‘components’ => [
‘db’ => [
‘class’ => ‘yii\db\Connection’,
‘dsn’ => ‘mysql:host=localhost;dbname=card’,
‘username’ => ‘root’,
‘password’ => ‘mysql’,
‘charset’ => ‘utf8’,
],
‘mailer’ => [
‘class’ => ‘yii\swiftmailer\Mailer’,
‘viewPath’ => ‘@common/mail’,
// send all mails to a file by default. You have to set
// ‘useFileTransport’ to false and configure a transport
// for the mailer to send real emails.
‘useFileTransport’ => true,
],
‘clubkonnect’ => [
‘class’ => ‘netesy\vtpass\ClubKonnect’,
‘url’ => \common\components\SettingsComponent::getUrl(),
‘username’ => \common\components\SettingsComponent::getAPIUser(),
‘password’ => \common\components\SettingsComponent::getAPIKey(),
],
],

Hi,
Could you post the error?