# Plugins über Manager nicht mehr zu aktivieren

**URL:** <https://forum.shopware.com/t/plugins-uber-manager-nicht-mehr-zu-aktivieren/68044>\
**Category:** Administration\
**Created:** [1. Juli 2020 um 09:21 UTC](https://forum.shopware.com/t/plugins-uber-manager-nicht-mehr-zu-aktivieren/68044 "2020-07-01T09:21:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexGalax](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/alexgalax/32/9925_2.png) [@AlexGalax](https://forum.shopware.com/u/AlexGalax)\
**Post date:** [1. Juli 2020 um 09:21 UTC](https://forum.shopware.com/t/plugins-uber-manager-nicht-mehr-zu-aktivieren/68044/1 "2020-07-01T09:21:01Z")

</div>

Ich habe alle Plugins deinstalliert und aus dem Pluginordner entfernt. Habe für den Anfang nur das Klarna Zahlungsplugin hochgeladen und installiert. Beim Versuch das Plugin zu aktivieren, kommt nur die Fehlermeldung:

> Plugin konnte auf Grund der Fehlermeldung „Type is not supported“ nicht aktiviert werden

Request: `api/v1/_action/plugin/activate?pluginName=KlarnaPayment`

Antwort:

```
{
  "errors": [{
    "code": "0",
    "status": "500",
    "title": "Internal Server Error",
    "detail": "Type is not supported",
    "meta": {
      "trace": [{
        "file": "/home/apps/zzuqhvrzye/public_html/vendor/shopware/core/Framework/Api/EventListener/ErrorResponseFactory.php",
        "line": 22,
        "function": "setData",
        "class": "Symfony\\Component\\HttpFoundation\\JsonResponse",
        "type": "->",
        "args": [false]
      }, {
        "file": "/home/apps/zzuqhvrzye/public_html/vendor/shopware/core/Framework/Api/EventListener/ResponseExceptionListener.php",
        "line": 39,
        "function": "getResponseFromException",
        "class": "Shopware\\Core\\Framework\\Api\\EventListener\\ErrorResponseFactory",
        "type": "->",
        "args": [{}, true]
      }, {
        "file": "/home/apps/zzuqhvrzye/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php",
        "line": 126,
        "function": "onKernelException",
        "class": "Shopware\\Core\\Framework\\Api\\EventListener\\ResponseExceptionListener",
        "type": "->",
        "args": [{}, "kernel.exception", {}]
      }, {
        "file": "/home/apps/zzuqhvrzye/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php",
        "line": 264,
        "function": "__invoke",
        "class": "Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener",
        "type": "->",
        "args": [{}, "kernel.exception", {}]
      }, {
        "file": "/home/apps/zzuqhvrzye/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php",
        "line": 239,
        "function": "doDispatch",
        "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
        "type": "->",
        "args": [
          [{}, {}, {}, {}, {}, {}, {}, {}, {}], "kernel.exception", {}
        ]
      }, {
        "file": "/home/apps/zzuqhvrzye/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php",
        "line": 73,
        "function": "callListeners",
        "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
        "type": "->",
        "args": [
          [{}, {}, {}, {}, {}, {}, {}, {}, {}], "kernel.exception", {}
        ]
      }, {
        "file": "/home/apps/zzuqhvrzye/public_html/vendor/shopware/core/Framework/Event/BusinessEventDispatcher.php",
        "line": 43,
        "function": "dispatch",
        "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
        "type": "->",
        "args": [{}, "kernel.exception"]
      }, {
        "file": "/home/apps/zzuqhvrzye/public_html/vendor/shopware/core/Framework/Event/NestedEventDispatcher.php",
        "line": 32,
        "function": "dispatch",
        "class": "Shopware\\Core\\Framework\\Event\\BusinessEventDispatcher",
        "type": "->",
        "args": [{}, "kernel.exception"]
      }, {
        "file": "/home/apps/zzuqhvrzye/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php",
        "line": 168,
        "function": "dispatch",
        "class": "Shopware\\Core\\Framework\\Event\\NestedEventDispatcher",
        "type": "->",
        "args": [{}, "kernel.exception"]
      }, {
        "file": "/home/apps/zzuqhvrzye/public_html/vendor/symfony/http-kernel/HttpKernel.php",
        "line": 207,
        "function": "dispatch",
        "class": "Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher",
        "type": "->",
        "args": [{}, "kernel.exception"]
      }, {
        "file": "/home/apps/zzuqhvrzye/public_html/vendor/symfony/http-kernel/HttpKernel.php",
        "line": 79,
        "function": "handleThrowable",
        "class": "Symfony\\Component\\HttpKernel\\HttpKernel",
        "type": "->",
        "args": [{}, {
          "attributes": {},
          "request": {},
          "query": {},
          "server": {},
          "files": {},
          "cookies": {},
          "headers": {}
        }, 1]
      }, {
        "file": "/home/apps/zzuqhvrzye/public_html/vendor/symfony/http-kernel/Kernel.php",
        "line": 201,
        "function": "handle",
        "class": "Symfony\\Component\\HttpKernel\\HttpKernel",
        "type": "->",
        "args": [{
          "attributes": {},
          "request": {},
          "query": {},
          "server": {},
          "files": {},
          "cookies": {},
          "headers": {}
        }, 1, true]
      }, {
        "file": "/home/apps/zzuqhvrzye/public_html/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php",
        "line": 85,
        "function": "handle",
        "class": "Symfony\\Component\\HttpKernel\\Kernel",
        "type": "->",
        "args": [{
          "attributes": {},
          "request": {},
          "query": {},
          "server": {},
          "files": {},
          "cookies": {},
          "headers": {}
        }, 1, true]
      }, {
        "file": "/home/apps/zzuqhvrzye/public_html/vendor/symfony/http-kernel/HttpCache/HttpCache.php",
        "line": 477,
        "function": "handle",
        "class": "Symfony\\Component\\HttpKernel\\HttpCache\\SubRequestHandler",
        "type": "::",
        "args": [{}, {
          "attributes": {},
          "request": {},
          "query": {},
          "server": {},
          "files": {},
          "cookies": {},
          "headers": {}
        }, 1, true]
      }, {
        "file": "/home/apps/zzuqhvrzye/public_html/vendor/symfony/http-kernel/HttpCache/HttpCache.php",
        "line": 267,
        "function": "forward",
        "class": "Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache",
        "type": "->",
        "args": [{
          "attributes": {},
          "request": {},
          "query": {},
          "server": {},
          "files": {},
          "cookies": {},
          "headers": {}
        }, true]
      }, {
        "file": "/home/apps/zzuqhvrzye/public_html/vendor/symfony/http-kernel/HttpCache/HttpCache.php",
        "line": 283,
        "function": "pass",
        "class": "Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache",
        "type": "->",
        "args": [{
          "attributes": {},
          "request": {},
          "query": {},
          "server": {},
          "files": {},
          "cookies": {},
          "headers": {}
        }, true]
      }, {
        "file": "/home/apps/zzuqhvrzye/public_html/vendor/symfony/http-kernel/HttpCache/HttpCache.php",
        "line": 211,
        "function": "invalidate",
        "class": "Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache",
        "type": "->",
        "args": [{
          "attributes": {},
          "request": {},
          "query": {},
          "server": {},
          "files": {},
          "cookies": {},
          "headers": {}
        }, true]
      }, {
        "file": "/home/apps/zzuqhvrzye/public_html/vendor/shopware/core/HttpKernel.php",
        "line": 148,
        "function": "handle",
        "class": "Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache",
        "type": "->",
        "args": [{
          "attributes": {},
          "request": {},
          "query": {},
          "server": {},
          "files": {},
          "cookies": {},
          "headers": {}
        }, 1, true]
      }, {
        "file": "/home/apps/zzuqhvrzye/public_html/vendor/shopware/core/HttpKernel.php",
        "line": 77,
        "function": "doHandle",
        "class": "Shopware\\Core\\HttpKernel",
        "type": "->",
        "args": [{
          "attributes": {},
          "request": {},
          "query": {},
          "server": {},
          "files": {},
          "cookies": {},
          "headers": {}
        }, 1, true]
      }, {
        "file": "/home/apps/zzuqhvrzye/public_html/public/index.php",
        "line": 83,
        "function": "handle",
        "class": "Shopware\\Core\\HttpKernel",
        "type": "->",
        "args": [{
          "attributes": {},
          "request": {},
          "query": {},
          "server": {},
          "files": {},
          "cookies": {},
          "headers": {}
        }]
      }],
      "file": "/home/apps/zzuqhvrzye/public_html/vendor/symfony/http-foundation/JsonResponse.php",
      "line": 167
    }
  }]
}

```

Keine Ahung was da jetzt wieder nicht passt irgendwo.

&nbsp;

---

<div class="post-metadata">

**Author:** ![Klarna\_Admin](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@Klarna\_Admin](https://forum.shopware.com/u/Klarna_Admin)\
**Post date:** [1. Juli 2020 um 09:38 UTC](https://forum.shopware.com/t/plugins-uber-manager-nicht-mehr-zu-aktivieren/68044/2 "2020-07-01T09:38:49Z")

</div>

Hallo AlexGalax,

hast Du den Shopware-Cache bereits geleert? Das geht&nbsp;bspw. über _bin/console cache:clear_.

Falls das nicht hilft benötigen wir noch die Information von Deinen eingesetzten Versionen (Shopware und Plugin) um den Fehler gemeinsam lösen zu können.

Viele Grüße  
Jan vom Klarna-Support&nbsp;

---

<div class="post-metadata">

**Author:** ![AlexGalax](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/alexgalax/32/9925_2.png) [@AlexGalax](https://forum.shopware.com/u/AlexGalax)\
**Post date:** [2. Juli 2020 um 05:09 UTC](https://forum.shopware.com/t/plugins-uber-manager-nicht-mehr-zu-aktivieren/68044/3 "2020-07-02T05:09:10Z")

</div>

Hallo Jan,

ja den Cache habe ich geleert und gelöscht. Tut mir leid für das Missverständniss aber das ist bei allen Plugins so, Klarna habe ich nur als Beispiel genommen.

---

<div class="post-metadata">

**Author:** ![TimTimTim](https://avatars.discourse-cdn.com/v4/letter/t/eb9ed0/32.png) [@TimTimTim](https://forum.shopware.com/u/TimTimTim)\
**Post date:** [2. Juli 2020 um 06:49 UTC](https://forum.shopware.com/t/plugins-uber-manager-nicht-mehr-zu-aktivieren/68044/4 "2020-07-02T06:49:31Z")

</div>

Hi, bist du in der DEV-Umgebung unterwegs? Wenn ja, hier lassen sich die Plugins nicht über den Admin aktivieren.

Über die Konsole geht es:  
bin/console plugin:activate PluginName

---

<div class="post-metadata">

**Author:** ![AlexGalax](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/alexgalax/32/9925_2.png) [@AlexGalax](https://forum.shopware.com/u/AlexGalax)\
**Post date:** [2. Juli 2020 um 07:12 UTC](https://forum.shopware.com/t/plugins-uber-manager-nicht-mehr-zu-aktivieren/68044/5 "2020-07-02T07:12:06Z")

</div>

Ja, bin in der dev Umgebung. Über `php bin/console system:install --force` habe ich Shopware jetzt einmal neu initialisiert. Das hat den Fehler behoben und ich kann wieder über den Manager Plugins aktivieren (weiß nicht warum das in der dev env nicht gehen soll). Vermutlich wurde bei einer meiner Pluginentwicklungen irgendwo ein Wert falsch gespeichert/nicht richtig gelöscht o.ä.

---

<div class="post-metadata">

**Author:** ![AlexGalax](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/alexgalax/32/9925_2.png) [@AlexGalax](https://forum.shopware.com/u/AlexGalax)\
**Post date:** [3. Juli 2020 um 05:55 UTC](https://forum.shopware.com/t/plugins-uber-manager-nicht-mehr-zu-aktivieren/68044/6 "2020-07-03T05:55:14Z")

</div>

Ach man, jetzt habe ich das gleiche Problem schon wieder…

---

<div class="post-metadata">

**Author:** ![FragenAnsForum](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/fragenansforum/32/7849_2.png) [@FragenAnsForum](https://forum.shopware.com/u/FragenAnsForum)\
**Post date:** [3. Juli 2020 um 07:41 UTC](https://forum.shopware.com/t/plugins-uber-manager-nicht-mehr-zu-aktivieren/68044/7 "2020-07-03T07:41:15Z")

</div>

Hi,

sind die types der Plugins in verschiedenen composer.json wirklich&nbsp;“shopware-platform-plugin” oder “theme”?&nbsp;

```
{
  "errors": [{
    "code": "0",
    "status": "500",
    "title": "Internal Server Error",
    "detail": "Type is not supported",
    "meta": {
      "trace": [{
        "file": "/home/apps/zzuqhvrzye/public_html/vendor/shopware/core/Framework/Api/EventListener/ErrorResponseFactory.php",
        "line": 22,
        "function": "setData",
        "class": "Symfony\\Component\\HttpFoundation\\JsonResponse",
        "type": "->",
        "args": [false]
      }, 

```

&nbsp;

---

<div class="post-metadata">

**Author:** ![AlexGalax](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/alexgalax/32/9925_2.png) [@AlexGalax](https://forum.shopware.com/u/AlexGalax)\
**Post date:** [3. Juli 2020 um 07:53 UTC](https://forum.shopware.com/t/plugins-uber-manager-nicht-mehr-zu-aktivieren/68044/8 "2020-07-03T07:53:10Z")

</div>

wie kommst du darauf das da eins “theme” sein könnte?

Alle Plugins (inkl. custom Theme) haben `"type": "shopware-platform-plugin"`

---

<div class="post-metadata">

**Author:** ![FragenAnsForum](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/fragenansforum/32/7849_2.png) [@FragenAnsForum](https://forum.shopware.com/u/FragenAnsForum)\
**Post date:** [3. Juli 2020 um 10:14 UTC](https://forum.shopware.com/t/plugins-uber-manager-nicht-mehr-zu-aktivieren/68044/9 "2020-07-03T10:14:57Z")

</div>

Wegen des Fehlermeldungstexts “type”: “-\>” hatte ich angenommen/gehofft, das er sich hier verschluckt hat…

Vielleicht (!) beisst es sich, dass das custom Theme als Plugin gekennzeichnet ist, und nicht als Theme…

Ich habe im Hinterkopf, dass bei Theme ein anderer Type gesetzt ist, finde es aber gerade nicht. Auch nicht bei:

> **[Shopware 6: Theme configuration](https://docs.shopware.com/en/shopware-platform-dev-en/theme-guide/configuration)**

[Shopware 6: Creating a new theme](https://docs.shopware.com/en/shopware-platform-dev-en/theme-guide/theme-create?category=shopware-platform-dev-en/theme-guide)  
&nbsp;
