# BILLSAFE Fehler zerschießt Plugin

**URL:** <https://forum.shopware.com/t/billsafe-fehler-zerschiesst-plugin/39181>\
**Category:** Plugins\
**Tags:** offizielle-shopware-\
**Created:** [19. August 2016 um 07:37 UTC](https://forum.shopware.com/t/billsafe-fehler-zerschiesst-plugin/39181 "2016-08-19T07:37:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![exwe](https://avatars.discourse-cdn.com/v4/letter/e/3d9bf3/32.png) [@exwe](https://forum.shopware.com/u/exwe)\
**Post date:** [19. August 2016 um 07:37 UTC](https://forum.shopware.com/t/billsafe-fehler-zerschiesst-plugin/39181/1 "2016-08-19T07:37:52Z")

</div>

Hallo,

zuerst kamen wir in den Grundeinstellungen nicht mehr an die Billsafe-Einstellungen.  
Es kam ein Fehler, dass Doctrine eine Config Value aus der DB nicht parsen kann.  
Es ging um diese Value: s:79:„[https://www.xyz.de/media/image/5c/1a/28/cxz.pn](https://www.xyz.de/media/image/5c/1a/28/cxz.pn)“;

Habe daraufhin versucht das Plugin neu zu installieren. Dies scheiterte mit der gleichen Meldung und brach ab.  
Wenn man nun auf Neu Installieren klickt bekommen wir folgenden Fehler:

Error

Unable to install, got exception: An exception occurred while executing ‚INSERT INTO s\_core\_menu (name, onclick, style, class, position, active, pluginID, controller, action, shortcut, parent) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)‘ with params [„BillSAFE“, null, null, „ico2 date2“, 0, 1, 67, „PaymentBillsafe“, „Index“, null, 65]: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‚BillSAFE-65‘ for key ‚name‘

Kann man das irgendwie korrigieren und BILLSAFE erstmal wieder ganz rauswerfen?

Gruß Yuri

---

<div class="post-metadata">

**Author:** ![exwe](https://avatars.discourse-cdn.com/v4/letter/e/3d9bf3/32.png) [@exwe](https://forum.shopware.com/u/exwe)\
**Post date:** [19. August 2016 um 08:00 UTC](https://forum.shopware.com/t/billsafe-fehler-zerschiesst-plugin/39181/2 "2016-08-19T08:00:10Z")

</div>

Nachtrag: Shop 5.1.6  
Billsafe: 2.1.2

---

<div class="post-metadata">

**Author:** ![exwe](https://avatars.discourse-cdn.com/v4/letter/e/3d9bf3/32.png) [@exwe](https://forum.shopware.com/u/exwe)\
**Post date:** [19. August 2016 um 08:07 UTC](https://forum.shopware.com/t/billsafe-fehler-zerschiesst-plugin/39181/3 "2016-08-19T08:07:00Z")

</div>

Das Plugin wurde wohl nicht deinstalliert.

Habe es nun widerhergestellt, indem ich es in der DB aktiviert habe und den stempel für die Installation gesetzt habe.

Es kommt nun wieder der Ausgangsfehler:  
Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. Could not convert database value "s:79:„[https://www.ga](https://www.ga)…“ to Doctrine Type object in vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php on line 46 Stack trace: #0 vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ObjectType.php(59): Doctrine\DBAL\Types\ConversionException::conversionFailed(‚s:79:"[https://w](https://w)…‘, ‚object‘) #1 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php(297): Doctrine\DBAL\Types\ObjectType-\>convertToPHPValue(‚s:79:"[https://w](https://w)…‘, Object(Doctrine\DBAL\Platforms\MySqlPlatform)) #2 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ArrayHydrator.php(101): Doctrine\ORM\Internal\Hydration\AbstractHydrator-\>gatherRowData(Array, Array, Array) #3 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ArrayHydrator.php(87): Doctrine\ORM\Internal\Hydration\ArrayHydrator-\>hydrateRowData(Array, Array) #4 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php(147): Doctrine\ORM\Internal\Hydration\ArrayHydrator-\>hydrateAllData() #5 vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(978): Doctrine\ORM\Internal\Hydration\AbstractHydrator-\>hydrateAll(Object(PDOStatement), Object(Doctrine\ORM\Query\ResultSetMapping), Array) #6 vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(924): Doctrine\ORM\AbstractQuery-\>executeIgnoreQueryCache(NULL, 2) #7 vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(766): Doctrine\ORM\AbstractQuery-\>execute(NULL, 2) #8 Shopware/Controllers/Backend/Config.php(130): Doctrine\ORM\AbstractQuery-\>getOneOrNullResult(2) #9 Enlight/Controller/Action.php(158): Shopware\_Controllers\_Backend\_Config-\>getFormAction() #10 Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch(‚getFormAction‘) #11 Enlight/Controller/Front.php(226): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #12 Shopware/Kernel.php(153): Enlight\_Controller\_Front-\>dispatch() #13 vendor/symfony/http-kernel/HttpCache/HttpCache.php(492): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #14 Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #15 vendor/symfony/http-kernel/HttpCache/HttpCache.php(263): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #16 Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCUps! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. Could not convert database value "s:79:„[https://www.ga](https://www.ga)…“ to Doctrine Type object in vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ConversionException.php on line 46 Stack trace: #0 vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ObjectType.php(59): Doctrine\DBAL\Types\ConversionException::conversionFailed(‚s:79:"[https://w](https://w)…‘, ‚object‘) #1 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php(297): Doctrine\DBAL\Types\ObjectType-\>convertToPHPValue(‚s:79:"[https://w](https://w)…‘, Object(Doctrine\DBAL\Platforms\MySqlPlatform)) #2 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ArrayHydrator.php(101): Doctrine\ORM\Internal\Hydration\AbstractHydrator-\>gatherRowData(Array, Array, Array) #3 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ArrayHydrator.php(87): Doctrine\ORM\Internal\Hydration\ArrayHydrator-\>hydrateRowData(Array, Array) #4 vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php(147): Doctrine\ORM\Internal\Hydration\ArrayHydrator-\>hydrateAllData() #5 vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(978): Doctrine\ORM\Internal\Hydration\AbstractHydrator-\>hydrateAll(Object(PDOStatement), Object(Doctrine\ORM\Query\ResultSetMapping), Array) #6 vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(924): Doctrine\ORM\AbstractQuery-\>executeIgnoreQueryCache(NULL, 2) #7 vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php(766): Doctrine\ORM\AbstractQuery-\>execute(NULL, 2) #8 Shopware/Controllers/Backend/Config.php(130): Doctrine\ORM\AbstractQuery-\>getOneOrNullResult(2) #9 Enlight/Controller/Action.php(158): Shopware\_Controllers\_Backend\_Config-\>getFormAction() #10 Enlight/Controller/Dispatcher/Default.php(523): Enlight\_Controller\_Action-\>dispatch(‚getFormAction‘) #11 Enlight/Controller/Front.php(226): Enlight\_Controller\_Dispatcher\_Default-\>dispatch(Object(Enlight\_Controller\_Request\_RequestHttp), Object(Enlight\_Controller\_Response\_ResponseHttp)) #12 Shopware/Kernel.php(153): Enlight\_Controller\_Front-\>dispatch() #13 vendor/symfony/http-kernel/HttpCache/HttpCache.php(492): Shopware\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #14 Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #15 vendor/symfony/http-kernel/HttpCache/HttpCache.php(263): Shopware\Components\HttpCache\AppCache-\>forward(Object(Symfony\Component\HttpFoundation\Request), true) #16 Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\Http

…

&nbsp;

Ideen dazu?

---

<div class="post-metadata">

**Author:** ![Michael\_Telgmann](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michael_telgmann/32/20289_2.png) [@Michael\_Telgmann](https://forum.shopware.com/u/Michael_Telgmann)\
**Post date:** [19. August 2016 um 08:07 UTC](https://forum.shopware.com/t/billsafe-fehler-zerschiesst-plugin/39181/4 "2016-08-19T08:07:03Z")

</div>

Hi Yuri,

lösch mal die Zeile in der Tabelle s\_core\_menu in der Billsafe steht. Danach das Plugin erneut installieren.&nbsp;

Anscheindend wurde durch einen fehlerhaften Ablauf bei der Deinstallation des Plugins der Menü-Eintrag nicht richtig geöscht.

Viele Grüße aus Schöppingen

![cool](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/86c57fbace799dd4eb1f1b8a2d3bdc1733f0aea1.png "cool")&nbsp;Michael Telgmann

---

<div class="post-metadata">

**Author:** ![exwe](https://avatars.discourse-cdn.com/v4/letter/e/3d9bf3/32.png) [@exwe](https://forum.shopware.com/u/exwe)\
**Post date:** [19. August 2016 um 08:08 UTC](https://forum.shopware.com/t/billsafe-fehler-zerschiesst-plugin/39181/5 "2016-08-19T08:08:37Z")

</div>

Hallo Herr Telgmann,

ich hatte kur vor Ihrer Antwort schon etwas korrigiert. Das Plugin ist überall noch eingetragen. Da wurde im Grunde garnichts gelöscht. Wie gehe ich nun vor?  
Danke schonmal 🙂

---

<div class="post-metadata">

**Author:** ![exwe](https://avatars.discourse-cdn.com/v4/letter/e/3d9bf3/32.png) [@exwe](https://forum.shopware.com/u/exwe)\
**Post date:** [19. August 2016 um 08:19 UTC](https://forum.shopware.com/t/billsafe-fehler-zerschiesst-plugin/39181/6 "2016-08-19T08:19:13Z")

</div>

Hallo Herr Telgmann,

der Fehler kommt auch für einen Aufruf der Paypal Einstellungen, nichnur Billsafe.

Da wird s:75:“[https://www.ga…](https://www.ga..).” nicht gelesen…  
Also s75, anstatt s79 …  
&nbsp;

---

<div class="post-metadata">

**Author:** ![exwe](https://avatars.discourse-cdn.com/v4/letter/e/3d9bf3/32.png) [@exwe](https://forum.shopware.com/u/exwe)\
**Post date:** [24. August 2016 um 21:08 UTC](https://forum.shopware.com/t/billsafe-fehler-zerschiesst-plugin/39181/7 "2016-08-24T21:08:43Z")

</div>

Die Lösung bestand in der länge des Strings. Wenn dort steht 79:“xyz”, so muss xyz genau 79 Zeichen lang sein, damit der Parser die Variable verarbeiten kann.  
Bei uns war das leider nicht der Fall. Schnell die Zeichen gezählt und im String die Zahl angepasst, danach hat es geklappt!

Kann geschlossen werden.
