You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to set up this module, and have already installed the required dependency silverstripe/spamprotection
Following the instructions on your main readme, I add the following content to /app/_config/spamprotection.yml
The error I get when I try to dev/build or load any page is:
Fatal error: Uncaught Exception: More than one YAML document exists named 'spamprotection' in '/work/vendor/silverstripe/spamprotection/_config/spamprotection.yml' and '/work/app/_config/spam.yml' in /work/vendor/silverstripe/config/src/Transformer/YamlTransformer.php:216 Stack trace: #0 /work/vendor/silverstripe/config/src/Transformer/YamlTransformer.php(520): SilverStripe\Config\Transformer\YamlTransformer->getNamedYamlDocuments() #1 /work/vendor/silverstripe/config/src/Transformer/YamlTransformer.php(493): SilverStripe\Config\Transformer\YamlTransformer->filterByOnlyAndExcept() #2 /work/vendor/silverstripe/config/src/Transformer/YamlTransformer.php(103): SilverStripe\Config\Transformer\YamlTransformer->getSortedYamlDocuments() #3 /work/vendor/silverstripe/config/src/Collections/MemoryConfigCollection.php(73): SilverStripe\Config\Transformer\YamlTransformer->transform(Object(SilverStripe\Config\Collections\MemoryConfigCollection)) #4 /work/vendor/silverstripe/framework/src/Core/Config/CoreConfigFactory.php(91): SilverSt in /work/vendor/silverstripe/config/src/Transformer/YamlTransformer.php on line 216
I followed the docs to install/config this module... I'm not sure what went wrong.
The text was updated successfully, but these errors were encountered:
I'm using
"silverstripe/recipe-cms": "4.4.4",
I am trying to set up this module, and have already installed the required dependency
silverstripe/spamprotection
Following the instructions on your main readme, I add the following content to
/app/_config/spamprotection.yml
The error I get when I try to dev/build or load any page is:
Fatal error: Uncaught Exception: More than one YAML document exists named 'spamprotection' in '/work/vendor/silverstripe/spamprotection/_config/spamprotection.yml' and '/work/app/_config/spam.yml' in /work/vendor/silverstripe/config/src/Transformer/YamlTransformer.php:216 Stack trace: #0 /work/vendor/silverstripe/config/src/Transformer/YamlTransformer.php(520): SilverStripe\Config\Transformer\YamlTransformer->getNamedYamlDocuments() #1 /work/vendor/silverstripe/config/src/Transformer/YamlTransformer.php(493): SilverStripe\Config\Transformer\YamlTransformer->filterByOnlyAndExcept() #2 /work/vendor/silverstripe/config/src/Transformer/YamlTransformer.php(103): SilverStripe\Config\Transformer\YamlTransformer->getSortedYamlDocuments() #3 /work/vendor/silverstripe/config/src/Collections/MemoryConfigCollection.php(73): SilverStripe\Config\Transformer\YamlTransformer->transform(Object(SilverStripe\Config\Collections\MemoryConfigCollection)) #4 /work/vendor/silverstripe/framework/src/Core/Config/CoreConfigFactory.php(91): SilverSt in /work/vendor/silverstripe/config/src/Transformer/YamlTransformer.php on line 216
I followed the docs to install/config this module... I'm not sure what went wrong.
The text was updated successfully, but these errors were encountered: