Ergebnis 1 bis 22 von 22

Thema: Fehler beim Update via Contao Manager: In Process.php line 143: [TypeError] …

  1. #1
    Contao-Fan Avatar von Webstylerin
    Registriert seit
    24.08.2009.
    Ort
    Schlüsselfeld, Bayern
    Beiträge
    403
    Partner-ID
    6232
    Contao-Projekt unterstützen

    Support Contao

    Standard Fehler beim Update via Contao Manager: In Process.php line 143: [TypeError] …

    Hi,

    ich weiß, wenn man Contao 4.4 liest, fühlt man sich zurück in die Steinzeit versetzt, nichts desto trotz hoffe ich, es gibt eine Lösung.

    Die Seite soll etwas erweitert werden, dafür benötige ich eine neue Erweiterung, aber der Manager läuft nicht durch. Fehlermeldung:

    PHP-Code:
    In Process.php line 143:
                                                                                   
      [
    TypeError]                                                                  
      
    Argument 1 passed to Symfony\Component\Process\Process::__construct() must be of the type array, string givencalled in /var/www/vhosts//vendor/contao/manager-bundle/src/Composer/ScriptHandler.php on line 99 
    Ich finde nicht viel dazu, was ich gefunden habe ist die Info, dass 4.4 nicht mit der neusten Composer-Version kompatibel ist und man eben updaten muss oder bei Composer 2.2 bleiben soll.

    Wenn der Kunde einverstanden ist, mache ich natürlich das Update, was ich mich aber frage ist, wie kann ich den Fehler verhindern wenn ich nicht updaten "darf"? Also wie stelle ich sicher, dass nur Composer 2.2 verwendet wird?

    VG
    Nicole

  2. #2
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.109
    Partner-ID
    10107

    Standard

    Der Contao Manager aktualisiert sich selbst auf die jeweils richtige Version. Es kann aber sein, dass deine Contao 4.4 Installation nicht up to date ist.
    » sponsor me via GitHub or PayPal or Revolut

  3. #3
    Contao-Fan Avatar von Webstylerin
    Registriert seit
    24.08.2009.
    Ort
    Schlüsselfeld, Bayern
    Beiträge
    403
    Partner-ID
    6232
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Ein Composer-Update über die Systemwartung hab ich auch schon gemacht, gleicher Fehler.

    Wie bekomme die Installation up-to-date wenn alles, was ich im Zuge einer Aktualsierung machen, mit einem Fehler endet?

  4. #4
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.109
    Partner-ID
    10107

    Standard

    Poste mal die gesamte Konsolenausgabe und welche Version des Contao Managers im Einsatz ist.
    » sponsor me via GitHub or PayPal or Revolut

  5. #5
    Contao-Fan Avatar von Webstylerin
    Registriert seit
    24.08.2009.
    Ort
    Schlüsselfeld, Bayern
    Beiträge
    403
    Partner-ID
    6232
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Contao Manager 1.7.0, Contao 4.4.57, PHP 7.4

    PHP-Code:
    Resolving dependencies using Composer Cloud v3.6.0-1-g9d9036c

    [5.8MiB/0.36sLoading composer repositories with package information
    [100.4MiB/13.66sUpdating dependencies
    [44.1MiB/23.09sLock file operations1 install55 updates0 removals
    [44.1MiB/23.10s]   - Upgrading bugbuster/contao-mobiledetection-bundle (1.0.1 => 1.0.2)
    [
    44.1MiB/23.10s]   - Upgrading christianbarkowsky/extended_checkbox (1.2.2 => 1.2.5)
    [
    44.1MiB/23.10s]   - Upgrading christianbarkowsky/rel-canonical (3.3.10 => 3.3.11)
    [
    44.1MiB/23.10s]   - Upgrading codefog/contao-haste (4.25.12 => 4.25.27)
    [
    44.1MiB/23.10s]   - Upgrading composer/ca-bundle (1.3.1 => 1.3.6)
    [
    44.1MiB/23.10s]   - Upgrading contao-components/ace (1.4.14 => 1.24.1)
    [
    44.1MiB/23.10s]   - Upgrading contao-components/chosen (1.2.4 => 1.2.5)
    [
    44.1MiB/23.10s]   - Upgrading contao-components/jquery-ui (1.13.1 => 1.13.2)
    [
    44.1MiB/23.10s]   - Upgrading contao-components/mootools (1.6.0.6 => 1.6.0.7)
    [
    44.1MiB/23.10s]   - Upgrading contao/conflicts (dev-main 7d81391 => dev-main 3fa878b)
    [
    44.1MiB/23.10s]   - Upgrading contao/manager-plugin (2.11.1 => 2.12.0)
    [
    44.1MiB/23.10s]   - Upgrading doctrine/annotations (1.13.2 => 1.14.3)
    [
    44.1MiB/23.10s]   - Upgrading doctrine/cache (1.12.1 => 1.13.0)
    [
    44.1MiB/23.11s]   - Upgrading doctrine/collections (1.6.8 => 1.8.0)
    [
    44.1MiB/23.11s]   - Upgrading doctrine/data-fixtures (1.3.3 => 1.5.4)
    [
    44.1MiB/23.11s]   - Upgrading doctrine/dbal (2.13.8 => 2.13.9)
    [
    44.1MiB/23.11s]   - Upgrading doctrine/deprecations (v0.5.3 => v1.1.1)
    [
    44.1MiB/23.11s]   - Upgrading doctrine/event-manager (1.1.1 => 1.2.0)
    [
    44.1MiB/23.11s]   - Upgrading doctrine/instantiator (1.4.1 => 1.5.0)
    [
    44.1MiB/23.11s]   - Upgrading doctrine/reflection (1.2.2 => 1.2.4)
    [
    44.1MiB/23.11s]   - Upgrading friendsofsymfony/http-cache (2.9.2 => 2.12.1)
    [
    44.1MiB/23.11s]   - Upgrading friendsofsymfony/http-cache-bundle (2.7.2 => 2.11.2)
    [
    44.1MiB/23.11s]   - Upgrading guzzlehttp/guzzle (6.5.5 => 6.5.8)
    [
    44.1MiB/23.11s]   - Upgrading guzzlehttp/promises (1.5.1 => 1.5.3)
    [
    44.1MiB/23.11s]   - Upgrading guzzlehttp/psr7 (1.8.5 => 1.9.1)
    [
    44.1MiB/23.11s]   - Upgrading imagine/imagine (1.3.2 => 1.3.5)
    [
    44.1MiB/23.11s]   - Upgrading matthiasmullie/minify (1.3.67 => 1.3.71)
    [
    44.1MiB/23.11s]   - Upgrading mobiledetect/mobiledetectlib (2.8.39 => 2.8.41)
    [
    44.1MiB/23.11s]   - Upgrading monolog/monolog (1.27.0 => 1.27.1)
    [
    44.1MiB/23.11s]   - Upgrading php-http/discovery (1.14.1 => 1.19.1)
    [
    44.1MiB/23.11s]   - Upgrading php-http/message (1.13.0 => 1.16.0)
    [
    44.1MiB/23.11s]   - Upgrading php-http/message-factory (v1.0.2 => 1.1.0)
    [
    44.1MiB/23.11s]   - Upgrading psr/container (1.0.0 => 1.1.2)
    [
    44.1MiB/23.11s]   - Upgrading psr/http-message (1.0.1 => 1.1)
    [
    44.1MiB/23.11s]   - Upgrading scssphp/scssphp (v1.10.2 => v1.11.0)
    [
    44.1MiB/23.12s]   - Upgrading simplepie/simplepie (1.6.0 => 1.8.0)
    [
    44.1MiB/23.12s]   - Locking symfony/deprecation-contracts (v2.5.2)
    [
    44.1MiB/23.12s]   - Upgrading symfony/http-client (v4.4.41 => v5.4.26)
    [
    44.1MiB/23.12s]   - Upgrading symfony/http-client-contracts (v1.1.12 => v2.5.2)
    [
    44.1MiB/23.12s]   - Upgrading symfony/mime (v4.4.41 => v5.4.13)
    [
    44.1MiB/23.12s]   - Upgrading symfony/polyfill-apcu (v1.25.0 => v1.28.0)
    [
    44.1MiB/23.12s]   - Upgrading symfony/polyfill-ctype (v1.25.0 => v1.28.0)
    [
    44.1MiB/23.12s]   - Upgrading symfony/polyfill-intl-icu (v1.25.0 => v1.28.0)
    [
    44.1MiB/23.12s]   - Upgrading symfony/polyfill-intl-idn (v1.25.0 => v1.28.0)
    [
    44.1MiB/23.12s]   - Upgrading symfony/polyfill-intl-normalizer (v1.25.0 => v1.28.0)
    [
    44.1MiB/23.12s]   - Upgrading symfony/polyfill-mbstring (v1.25.0 => v1.28.0)
    [
    44.1MiB/23.12s]   - Upgrading symfony/polyfill-php72 (v1.25.0 => v1.28.0)
    [
    44.1MiB/23.12s]   - Upgrading symfony/polyfill-php73 (v1.25.0 => v1.28.0)
    [
    44.1MiB/23.12s]   - Upgrading symfony/polyfill-php80 (v1.25.0 => v1.28.0)
    [
    44.1MiB/23.12s]   - Upgrading symfony/service-contracts (v1.1.12 => v2.5.2)
    [
    44.1MiB/23.12s]   - Upgrading tecnickcom/tcpdf (6.4.4 => 6.6.2)
    [
    44.1MiB/23.12s]   - Upgrading terminal42/dcawizard (2.5.0 => 2.7.4)
    [
    44.1MiB/23.12s]   - Upgrading terminal42/notification_center (1.6.9 => 1.6.14)
    [
    44.1MiB/23.12s]   - Upgrading twig/twig (v1.43.1 => v1.44.7)
    [
    44.1MiB/23.12s]   - Upgrading ua-parser/uap-php (v3.9.7 => v3.9.14)
    [
    44.1MiB/23.12s]   - Upgrading webmozart/assert (1.9.1 => 1.11.0)
    [
    43.6MiB/23.13sWriting lock file
    [18.7MiB/23.15s] <warning>Package ausi/contao-slug-backport is abandonedyou should avoid using it. Use contao/core-bundle instead.</warning>
    [
    18.7MiB/23.15s] <warning>Package christianbarkowsky/extended_checkbox is abandonedyou should avoid using it. Use https://github.com/plenta/contao-extended-checkbox instead.</warning>
    [18.7MiB/23.15s] <warning>Package contao-components/compass is abandonedyou should avoid using itNo replacement was suggested.</warning>
    [
    18.7MiB/23.15s] <warning>Package contao-components/highlight is abandonedyou should avoid using itNo replacement was suggested.</warning>
    [
    18.7MiB/23.15s] <warning>Package contao-components/html5shiv is abandonedyou should avoid using itNo replacement was suggested.</warning>
    [
    18.7MiB/23.15s] <warning>Package contao-components/mediaelement is abandonedyou should avoid using itNo replacement was suggested.</warning>
    [
    18.7MiB/23.15s] <warning>Package contao-components/respimage is abandonedyou should avoid using itNo replacement was suggested.</warning>
    [
    18.7MiB/23.15s] <warning>Package doctrine/doctrine-cache-bundle is abandonedyou should avoid using itNo replacement was suggested.</warning>
    [
    18.7MiB/23.15s] <warning>Package doctrine/reflection is abandonedyou should avoid using it. Use roave/better-reflection instead.</warning>
    [
    18.7MiB/23.15s] <warning>Package lexik/maintenance-bundle is abandonedyou should avoid using itNo replacement was suggested.</warning>
    [
    18.7MiB/23.15s] <warning>Package menatwork/contao-multicolumnwizard is abandonedyou should avoid using it. Use menatwork/contao-multicolumnwizard-bundle instead.</warning>
    [
    18.7MiB/23.15s] <warning>Package oyejorge/less.php is abandonedyou should avoid using itNo replacement was suggested.</warning>
    [
    18.7MiB/23.15s] <warning>Package patchwork/utf8 is abandonedyou should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.</warning>
    [
    18.7MiB/23.15s] <warning>Package php-http/message-factory is abandonedyou should avoid using it. Use psr/http-factory instead.</warning>
    [
    18.7MiB/23.15s] <warning>Package phpunit/php-token-stream is abandonedyou should avoid using itNo replacement was suggested.</warning>
    [
    18.7MiB/23.15s] <warning>Package sensio/distribution-bundle is abandonedyou should avoid using itNo replacement was suggested.</warning>
    [
    18.7MiB/23.15s] <warning>Package sensiolabs/security-checker is abandonedyou should avoid using it. Use https://github.com/fabpot/local-php-security-checker instead.</warning>
    [18.7MiB/23.15s] <warning>Package swiftmailer/swiftmailer is abandonedyou should avoid using it. Use symfony/mailer instead.</warning>
    [
    18.7MiB/23.15s] <warning>Package symfony/swiftmailer-bundle is abandonedyou should avoid using it. Use symfony/mailer instead.</warning>
    [
    18.7MiB/23.15s] <warning>Package terminal42/header-replay-bundle is abandonedyou should avoid using itNo replacement was suggested.</warning>
    [
    18.7MiB/23.16s] <warning>Package true/punycode is abandonedyou should avoid using itNo replacement was suggested.</warning>
    [
    18.7MiB/23.16s] <warning>Package webmozart/path-util is abandonedyou should avoid using it. Use symfony/filesystem instead.</warning>
    [
    18.9MiB/23.31s] <warning>Found 3 security vulnerability advisories affecting 2 packages.</warning>
    [
    18.9MiB/23.31sRun composer audit for a full list of advisories.
    [
    19.3MiB/23.31sMemory usage19.28MB (peak281.43MB), time23.32s.
    [
    19.3MiB/23.32sFinished Composer Cloud resolving.


    # Job ID QhsabMqwjl5J7xvkJdBoVDboZClRBY5BdrU8vull5kpGW7J7iOWelCL20g5qsQTyJ1U completed in 24 seconds
    # Memory usage: 19.28MB (peak: 281.43MB), time: 23.32s.

    $ /opt/plesk/php/7.4/bin/php --dmax_execution_time=-dmemory_limit=--ddisplay_errors=-ddisplay_startup_errors=-derror_reporting=-dallow_url_fopen=-ddisable_functions= -ddate.timezone=UTC /var/www/vhosts//web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader

    Installing dependencies from lock file
    Verifying lock file contents can be installed on current platform
    .
    Nothing to installupdate or remove
    Package ausi
    /contao-slug-backport is abandonedyou should avoid using it. Use contao/core-bundle instead.
    Package christianbarkowsky/extended_checkbox is abandonedyou should avoid using it. Use https://github.com/plenta/contao-extended-checkbox instead.
    Package contao-components/compass is abandonedyou should avoid using itNo replacement was suggested.
    Package contao-components/highlight is abandonedyou should avoid using itNo replacement was suggested.
    Package contao-components/html5shiv is abandonedyou should avoid using itNo replacement was suggested.
    Package contao-components/mediaelement is abandonedyou should avoid using itNo replacement was suggested.
    Package contao-components/respimage is abandonedyou should avoid using itNo replacement was suggested.
    Package doctrine/doctrine-cache-bundle is abandonedyou should avoid using itNo replacement was suggested.
    Package doctrine/reflection is abandonedyou should avoid using it. Use roave/better-reflection instead.
    Package lexik/maintenance-bundle is abandonedyou should avoid using itNo replacement was suggested.
    Package menatwork/contao-multicolumnwizard is abandonedyou should avoid using it. Use menatwork/contao-multicolumnwizard-bundle instead.
    Package oyejorge/less.php is abandonedyou should avoid using itNo replacement was suggested.
    Package patchwork/utf8 is abandonedyou should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
    Package php-http/message-factory is abandonedyou should avoid using it. Use psr/http-factory instead.
    Package phpunit/php-token-stream is abandonedyou should avoid using itNo replacement was suggested.
    Package sensio/distribution-bundle is abandonedyou should avoid using itNo replacement was suggested.
    Package sensiolabs/security-checker is abandonedyou should avoid using it. Use https://github.com/fabpot/local-php-security-checker instead.
    Package swiftmailer/swiftmailer is abandonedyou should avoid using it. Use symfony/mailer instead.
    Package symfony/swiftmailer-bundle is abandonedyou should avoid using it. Use symfony/mailer instead.
    Package terminal42/header-replay-bundle is abandonedyou should avoid using itNo replacement was suggested.
    Package true/punycode is abandonedyou should avoid using itNo replacement was suggested.
    Package webmozart/path-util is abandonedyou should avoid using it. Use symfony/filesystem instead.
    Generating optimized autoload files
    composer
    /package-versions-deprecatedGenerating version class...
    composer/package-versions-deprecated: ...done generating version class
    contao/manager-pluginDumping generated plugins file...
    contao/manager-plugin: ...done dumping generated plugins file
    Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standardSkipping.
    49 packages you are using are looking for funding.
    Use 
    the `composer fundcommand to find out more!
    Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication

    In Process
    .php line 143:
                                                                                   
      [
    TypeError]                                                                  
      
    Argument 1 passed to Symfony\Component\Process\Process::__construct() must   
      be of the type 
    array, string givencalled in /var/www/vhosts//vendor/contao/manager-bundle/src/Compo  
      ser
    /ScriptHandler.php on line 99                                             
                                                                                   

    Exception trace
    :
      
    at phar:///var/www/vhosts/…/web/contao-manager.phar.php/vendor/symfony/process/Process.php:143
     
    Symfony\Component\Process\Process->__construct() at /var/www/vhosts//vendor/contao/manager-bundle/src/Composer/ScriptHandler.php:99
     Contao
    \ManagerBundle\Composer\ScriptHandler::executeCommand() at /var/www/vhosts//vendor/contao/manager-bundle/src/Composer/ScriptHandler.php:72
     Contao
    \ManagerBundle\Composer\ScriptHandler::addWebEntryPoints() at /var/www/vhosts//vendor/contao/manager-bundle/src/Composer/ScriptHandler.php:35
     Contao
    \ManagerBundle\Composer\ScriptHandler::initializeApplication() at phar:///var/www/vhosts/…/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/EventDispatcher/EventDispatcher.php:447
     
    Composer\EventDispatcher\EventDispatcher->executeEventPhpScript() at phar:///var/www/vhosts/…/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/EventDispatcher/EventDispatcher.php:257
     
    Composer\EventDispatcher\EventDispatcher->doDispatch() at phar:///var/www/vhosts/…/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/EventDispatcher/EventDispatcher.php:129
     
    Composer\EventDispatcher\EventDispatcher->dispatchScript() at phar:///var/www/vhosts/…/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Installer.php:380
     
    Composer\Installer->run() at phar:///var/www/vhosts/…/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Command/InstallCommand.php:146
     
    Composer\Command\InstallCommand->execute() at phar:///var/www/vhosts/…/web/contao-manager.phar.php/vendor/symfony/console/Command/Command.php:298
     
    Symfony\Component\Console\Command\Command->run() at phar:///var/www/vhosts/…/web/contao-manager.phar.php/vendor/symfony/console/Application.php:1040
     
    Symfony\Component\Console\Application->doRunCommand() at phar:///var/www/vhosts/…/web/contao-manager.phar.php/vendor/symfony/console/Application.php:301
     
    Symfony\Component\Console\Application->doRun() at phar:///var/www/vhosts/…/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Console/Application.php:378
     
    Composer\Console\Application->doRun() at phar:///var/www/vhosts/…/web/contao-manager.phar.php/vendor/symfony/console/Application.php:171
     
    Symfony\Component\Console\Application->run() at phar:///var/www/vhosts/…/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Console/Application.php:141
     
    Composer\Console\Application->run() at phar:///var/www/vhosts/…/web/contao-manager.phar.php/api/console:85
     
    require() at /var/www/vhosts//web/contao-manager.phar.php:41

    install 
    [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--download-only] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [--audit] [--audit-format AUDIT-FORMAT] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]


    # Process terminated with exit code 1
    # Result: General error 

  6. #6
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.109
    Partner-ID
    10107

    Standard

    Zitat Zitat von Webstylerin Beitrag anzeigen
    Contao Manager 1.7.0
    Das ist zu neu - eigentlich sollte sich der Contao Manager automatisch downgraden.
    » sponsor me via GitHub or PayPal or Revolut

  7. #7
    Contao-Fan Avatar von Webstylerin
    Registriert seit
    24.08.2009.
    Ort
    Schlüsselfeld, Bayern
    Beiträge
    403
    Partner-ID
    6232
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Der hat sich heute erst automatisch geupdatet…

  8. #8
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.109
    Partner-ID
    10107

    Standard

    Welche PHP Version hast du aktuell für diese Domain eingestellt und im Contao Manager konfiguriert?
    » sponsor me via GitHub or PayPal or Revolut

  9. #9
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.109
    Partner-ID
    10107

    Standard

    Contao 4.4 wird nicht mehr supported, auch nicht mehr vom Contao Manager. Du musst auf Contao 4.13 aktualisieren. Ein Update von Contao 4.4 auf Contao 4.13 ist über den Contao Manager weiterhin möglich.
    » sponsor me via GitHub or PayPal or Revolut

  10. #10
    Contao-Fan Avatar von Webstylerin
    Registriert seit
    24.08.2009.
    Ort
    Schlüsselfeld, Bayern
    Beiträge
    403
    Partner-ID
    6232
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Welche PHP Version hast du aktuell für diese Domain eingestellt und im Contao Manager konfiguriert?
    PHP 7.4.33 ist aktiv.

  11. #11
    Contao-Fan Avatar von Webstylerin
    Registriert seit
    24.08.2009.
    Ort
    Schlüsselfeld, Bayern
    Beiträge
    403
    Partner-ID
    6232
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Contao 4.4 wird nicht mehr supported, auch nicht mehr vom Contao Manager. Du musst auf Contao 4.13 aktualisieren. Ein Update von Contao 4.4 auf Contao 4.13 ist über den Contao Manager weiterhin möglich.
    Also das heißt für alle Contao 4.4-Installationen ein Zwangsupdate, sobald sie irgendwas über den Manager aktualisieren wollen? Hm...

  12. #12
    Contao-Nutzer Avatar von quenn
    Registriert seit
    28.03.2013.
    Ort
    Köln
    Beiträge
    133

    Standard

    Habe heute die gleiche Fehlermeldung. Eine ältere Contao 4.9 mit vielen Erweiterungen lässt sich nicht upgraden nachdem sich der Manager auf 1.7.0 geupdatet hat. Leider auch kein SSH Zugriff vorhanden auf dem Hosting

    Muss wohl eine Staging Umgebung aufsetzen und dort alles updaten.

  13. #13
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.109
    Partner-ID
    10107

    Standard

    Zitat Zitat von quenn Beitrag anzeigen
    Eine ältere Contao 4.9
    Du musst auf Contao 4.9.42 aktualisieren.
    » sponsor me via GitHub or PayPal or Revolut

  14. #14
    Contao-Nutzer Avatar von quenn
    Registriert seit
    28.03.2013.
    Ort
    Köln
    Beiträge
    133

    Standard

    OK, mal wieder vielen Dank, Spooky. So hat es funktioniert.

  15. #15
    Contao-Nutzer
    Registriert seit
    24.04.2018.
    Beiträge
    107

    Standard

    was ist wenn man nicht auf 4.9 Upgraden kann weil der selbe Fehler kommt? Ich kann über den ContaoManager jetzt weder composerupdate noch Contao oder eines der Pakete updaten.
    Matthias Honisch
    LocalBranding

  16. #16
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.109
    Partner-ID
    10107

    Standard

    Poste die Konsolenausgabe.
    » sponsor me via GitHub or PayPal or Revolut

  17. #17
    Contao-Nutzer
    Registriert seit
    24.04.2018.
    Beiträge
    107

    Standard

    Wenn ich das ComposerUpdate mache bekomme ich diese Ausgabe
    Code:
    In Process.php line 143:
                                                                                   
      [TypeError]                                                                  
      Argument 1 passed to Symfony\Component\Process\Process::__construct() must   
      be of the type array, string given, called in /html/contao/vendor/contao/ma  
      nager-bundle/src/Composer/ScriptHandler.php on line 99
    Wenn ich versuche Contao zu Updaten bekomme ich diese Ausgabe
    Code:
    In Process.php line 143:
                                                                                   
      [TypeError]                                                                  
      Argument 1 passed to Symfony\Component\Process\Process::__construct() must   
      be of the type array, string given, called in /html/contao/vendor/contao/ma  
      nager-bundle/src/Composer/ScriptHandler.php on line 99
    Matthias Honisch
    LocalBranding

  18. #18
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.109
    Partner-ID
    10107

    Standard

    Beschreibe genauer was du versuchst zu machen.
    » sponsor me via GitHub or PayPal or Revolut

  19. #19
    Contao-Nutzer
    Registriert seit
    24.04.2018.
    Beiträge
    107

    Standard

    Ich habe eine Contao 4.4.57 Seite die ich Updaten Will auf 4.13 und PHP 8.2 . Ich habe die PHP Version auf 7.4 geändert und jetzt wollte ich erstmal auf Contao 4.9 Updaten( Wegen der PHP version) und dann auf 4.13(und PHP 8.2).
    Beim Contao Update habe ich die Fehlermeldung bekommen. Dann habe ich nach der Fehlermeldung im Netz gesucht und versucht ein Composer Update (Über den Contao Manager) zu machen. Da kam dann aber die selbe Meldung.
    Matthias Honisch
    LocalBranding

  20. #20
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.109
    Partner-ID
    10107

    Standard

    Ich meinte du solltest beschreiben, welche exakten Schritte du genau tätigst. Was du wo eingibst, wo du hinklickst, etc.

    Das was du tun musst ist folgendes:

    1. Die Contao Version auf 4.13.* ändern (4.9 ist bald EoL)
    2. Nicht auf "Anwenden" klicken!
    3. Stattdessen auf "Alle Pakete aktualisieren" klicken.


    Davon dann die gesamte Konsolenausgabe posten.
    » sponsor me via GitHub or PayPal or Revolut

  21. #21
    Contao-Nutzer
    Registriert seit
    24.04.2018.
    Beiträge
    107

    Standard

    Code:
    $ /usr/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /html/contao/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod
     // Warming up the cache for the prod environment with debug                    
     // false                                                                       
    16:17:54 CRITICAL  [console] Error thrown while running command "cache:warmup --env=prod". Message: "Class 'Symfony\Bundle\FrameworkBundle\Controller\Controller' not found" ["exception" => Error { …},"command" => "cache:warmup --env=prod","message" => "Class 'Symfony\Bundle\FrameworkBundle\Controller\Controller' not found"]
    In BaseController.php line 25:
                                                                                   
      Attempted to load class "Controller" from namespace "Symfony\Bundle\Framewo  
      rkBundle\Controller".                                                        
      Did you forget a "use" statement for another namespace?                      
                                                                                   
    cache:warmup [--no-optional-warmers]
    # Process terminated with exit code 255
    # Result: Unknown error
    Matthias Honisch
    LocalBranding

  22. #22
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.109
    Partner-ID
    10107

    Standard

    Du dürftest noch eine Extension oder Applikationsanpassung haben, die nicht mit Contao 4.13 (bzw. Symfony 5) kompatibel ist. Das hat aber nichts mehr mit dem ursprünglichen Thema hier zu tun.
    » sponsor me via GitHub or PayPal or Revolut

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •