Symfony Console error Message: must be an instance of

Irgendwie stehe ich auf dem Schlauch.

bei jedem Aufruf der console kommt folgende Fehlermeldung:

Return value of Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch() must be an instance of Shopware\Core\Framework\Event\object, instance of Symfony\Component\Console\Event\ConsoleErrorEvent returned 

 

Hier der vollständige Aufruf:

 [~/public_html/stage]# bin/console --help
11:21:52 ERROR [console] Error thrown while running command "list". Message: "Return value of Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch() must be an instance of Shopware\Core\Framework\Event\object, instance of Symfony\Component\Console\Event\ConsoleCommandEvent returned" ["exception" => TypeError { …},"command" => "list","message" => "Return value of Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch() must be an instance of Shopware\Core\Framework\Event\object, instance of Symfony\Component\Console\Event\ConsoleCommandEvent returned"]

In BusinessEventDispatcher.php line 49:
                                                                                                                                                                                                                         
  Return value of Shopware\Core\Framework\Event\BusinessEventDispatcher::dispatch() must be an instance of Shopware\Core\Framework\Event\object, instance of Symfony\Component\Console\Event\ConsoleErrorEvent returned  
                                                                                                                                                                                                                         

help [--format FORMAT] [--raw] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] []

 

Was mache ich falsch?

 

Danke für die Unterstützung.

Du brauchst PHP 7.2

2 „Gefällt mir“

Danke für den Tip

kiwitaan@s001 [~/public_html/stage]# php -v
PHP 7.1.30 (cli) (built: May 30 2019 14:54:57) ( NTS )

Die PHP Version auf dem Directory habe ich auf 7.3.6 eingestellt. Shopware läuft auch darauf. Nur in der shell ist es noch auf 7.1.

kaum macht man es richtig geht es:

 

kiwitaan@s001 [~/public_html/stage]# php -v
PHP 7.3.6 (cli) (built: May 31 2019 03:35:10) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.6, Copyright (c) 1998-2018 Zend Technologies
    with the ionCube PHP Loader + ionCube24 v10.3.5, Copyright (c) 2002-2019, by ionCube Ltd.
    with Zend OPcache v7.3.6, Copyright (c) 1999-2018, by Zend Technologies
kiwitaan@s001 [~/public_html/stage]# bin/console --help
Description:
  Lists commands

Usage:
  list [options] [--] []

Arguments:
  namespace The namespace name

Options:
      --raw To output raw command list
      --format=FORMAT The output format (txt, xml, json, or md) [default: "txt"]

Help:
  The list command lists all commands:
  
    php bin/console list
  
  You can also display the commands for a specific namespace:
  
    php bin/console list test
  
  You can also output the information in other formats by using the --format option:
  
    php bin/console list --format=xml
  
  It's also possible to get raw list of commands (useful for embedding command runner):
  
    php bin/console list --raw