You have requested a non-existent parameter "setono_sylius_analytics.model.property.class"
x-wf opened this issue · comments
Installed
composer require setono/sylius-analytics-plugin
Config
<?php
# config/bundle.php
return [
...
Setono\TagBagBundle\SetonoTagBagBundle::class => ['all' => true],
Setono\SyliusAnalyticsPlugin\SetonoSyliusAnalyticsPlugin::class => ['all' => true],
Sylius\Bundle\GridBundle\SyliusGridBundle::class => ['all' => true],
];
# config/routes/setono_sylius_analytics.yaml
setono_sylius_analytics:
resource: "@SetonoSyliusAnalyticsPlugin/Resources/config/routing.yaml"
# config/packages/_sylius.yaml
imports:
...
- { resource: "@SetonoSyliusAnalyticsPlugin/Resources/config/app/config.yaml" }
Symptom
When I execute php bin/console doctrine:migrations:diff
I get the following error:
$ php bin/console doctrine:migrations:diff
In ParameterBag.php line 100:
You have requested a non-existent parameter "setono_sylius_analytics.model.property.class".
Did you put the plugin before the grid bundle as mentioned here?
https://github.com/Setono/SyliusAnalyticsPlugin#step-2-enable-the-plugin