SwagVatIdValidation 500er Fehler


Hallo Michael,

ich vermute die Frage bezieht sich auf das PS:

custom/plugins/SwagVatIdValidation/plugin.xml

<?xml version=”1.0″ encoding=”utf-8″?>
<plugin xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”
xsi:noNamespaceSchemaLocation=”https://raw.githubusercontent.com/shopware/shopware/5.6/engine/Shopware/Components/Plugin/schema/plugin.xsd”>

<label lang=”de”>Umsatzsteuer-ID Prüfung</label>
<label lang=”en”>Vat ID-Validation</label>
<version>2.0.9</version>

custom/plugins/SwagVatIdValidation/Components/ValidationService.php

private function getEmailAddress()
{
$emailNotification = $this->config->get(VatIdConfigReaderInterface::EMAIL_NOTIFICATION);

if (is_string($emailNotification)) {
$emailAddress = $emailNotification;
} elseif ($emailNotification) {
$emailAddress = $this->config->get(‘sMAIL’);
} else {
return false;
}

return filter_var($emailAddress, FILTER_VALIDATE_EMAIL);
}

die Datenbank speichert in der config unter „shopEmailNotification“

s:1:”1″;

also einen String „1“
Cache sollte es ja wohl nicht sein (hab ich aber gecleant). Vielleicht sollte ich das Plugin neu installieren?
Schöne Grüße aus Köln
Helmut Rieth