- Status changed to Needs work
almost 2 years ago 3:21pm 31 March 2023
Storing the API keys in configs/git is not a recommended way. So often the overriding of configurations are used for this. For example, overriding part of config in settings.php. So the issue exists in DrupalClient class in the construct method. When you determine $this->config class property.
$this->config = $config_factory->getEditable('akismet.settings');
The ConfigFactoryInterface::getEditable() method is used for loading configs that you want to update and it doesn't take into account the overridden values.
https://www.drupal.org/node/2407153 →
1. Go to the configuration page of the Akismet and fill in all required settings except the API key.
2. Override this value in the settings.php file with $config['akismet.settings']['api_key'] = "[YOUR_API_KEY]";
Replace ConfigFactoryInterface::getEditable() method with ConfigFactoryInterface::get() for retrieving actual config values.
Needs work
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.