ISSUE: onAddVariables(ThemeCompilerEnrichScssVariablesEvent $event)

https://docs.shopware.com/en/shopware-platform-dev-en/how-to/plugin-scss-variables

$event->addVariable($variableName, $value);

arguments: {
        $name: “paul-raiting-overview-show-sidebar”
        $value: true
}

 #message: "Argument 2 passed to Shopware\Storefront\Event\ThemeCompilerEnrichScssVariablesEvent::addVariable() must be of the type string, boolean given, called in /var/www/vhosts/paulgurkesshop.de/dev6.paulgurkesshop.de/custom/plugins/PaulRaitingOverview/src/Subscriber/ThemeVariablesSubscriber.php on line 40"

 

 

Gelöst:

Der Configeintrag wurde nicht aus der Tabelle system_config entfernt…