Liste der Anhänge anzeigen (Anzahl: 1)
Contao Manager 1.3.1 wirft Fehler
Servus beisammen,
ich habe gerade bei zwei Installationen auf den CM 1.3.1 geupdated und wenn ich jetzt Pakete aktualisieren will kommt:
Zitat:
Argument 1 passed to Contao\ManagerApi\Composer\CloudJob::__construct() must be of the type array, null given, called in phar:///homepages/46/d346729057/htdocs/xxx-dev/web/contao-manager.phar.php/api/TaskOperation/Composer/CloudOperation.php on line 321
Es scheint ein unbekannter Fehler aufgetreten zu sein. Prüfe die Log-Dateien deines Webservers (Apache/Nginx) und des Contao Managers im Ordner "contao-manager/logs"
Errorlog im contao-manager Verzeichnis
Code:
[29-Sep-2020 18:00:28 Europe/Berlin] [2020-09-29 18:00:28] request.INFO: Matched route "contao_managerapi_task__invoke". {"route":"contao_managerapi_task__invoke","route_parameters":{"_route":"contao_managerapi_task__invoke","_controller":"Contao\\ManagerApi\\Controller\\TaskController"},"request_uri":"http://dev.xxx.de/contao-manager.phar.php/api/task","method":"GET"} []
[29-Sep-2020 18:00:28 Europe/Berlin] [2020-09-29 18:00:28] security.DEBUG: Checking for guard authentication credentials. {"firewall_key":"api","authenticators":3} []
[29-Sep-2020 18:00:28 Europe/Berlin] [2020-09-29 18:00:28] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\LoginAuthenticator"} []
[29-Sep-2020 18:00:28 Europe/Berlin] [2020-09-29 18:00:28] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\LoginAuthenticator"} []
[29-Sep-2020 18:00:28 Europe/Berlin] [2020-09-29 18:00:28] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[29-Sep-2020 18:00:28 Europe/Berlin] [2020-09-29 18:00:28] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\JwtAuthenticator"} []
[29-Sep-2020 18:00:28 Europe/Berlin] [2020-09-29 18:00:28] security.DEBUG: Checking support on guard authenticator. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\TokenAuthenticator"} []
[29-Sep-2020 18:00:28 Europe/Berlin] [2020-09-29 18:00:28] security.DEBUG: Guard authenticator does not support the request. {"firewall_key":"api","authenticator":"Contao\\ManagerApi\\Security\\TokenAuthenticator"} []
[29-Sep-2020 18:00:28 Europe/Berlin] [2020-09-29 18:00:28] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[29-Sep-2020 18:00:28 Europe/Berlin] [2020-09-29 18:00:28] app.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException: "Access Denied." at phar:///homepages/46/d346729057/htdocs/xxx-dev/web/contao-manager.phar.php/api/EventListener/ExceptionListener.php line 110 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\AccessDeniedHttpException(code: 0): Access Denied. at phar:///homepages/46/d346729057/htdocs/xxx-dev/web/contao-manager.phar.php/api/EventListener/ExceptionListener.php:110, Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException(code: 403): Access Denied. at phar:///homepages/46/d346729057/htdocs/xxx-dev/web/contao-manager.phar.php/vendor/symfony/security-http/Firewall/AccessListener.php:91)"} []
VG
Deinstallation von Erweiterung
Ich habe nach wie vor das Problem einer Deinstallation.
CM Version 1.3.2
Ich möchte bei einer bestehenden Installation gerne die Erweiterung Instagram von CF entfernen. Da erhalte ich folgende Fehlermeldung.
PHP-Code:
Hintergrund-Prozess
Ein Hintergrund-Prozess wurde unerwartet beendet. Bitte prüfe die Konsolen-Ausgabe.
Pakete werden aktualisiert
composer update codefog/contao-instagram contao/conflicts
$ /opt/plesk/php/7.3/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Zurich /home/httpd/vhosts/pizzerianapule.ch/httpdocs/manager/web/contao-manager.phar.php composer update codefog/contao-instagram contao/conflicts --with-dependencies --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
ocramius/package-versions: Generating version class...
ocramius/package-versions: ...done generating version class
contao/manager-plugin: Generating plugin class...
contao/manager-plugin: ...done generating plugin class
Added the web/index.php file.
Added the web/app.php file.
Added the web/preview.php file.
// Clearing the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
// Warming up the cache for the prod environment with debug
// false
06:35:46 ERROR [console] Error thrown while running command "cache:warmup --env=prod". Message: "Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct() must implement interface Symfony\Contracts\Translation\TranslatorInterface, instance of Contao\CoreBundle\Translation\Translator given, called in /home/httpd/vhosts/pizzerianapule.ch/httpdocs/manager/var/cache/prod/ContainerB92Z4bV/getTwigService.php on line 105" ["exception" => TypeError { …},"command" => "cache:warmup --env=prod","message" => "Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct() must implement interface Symfony\Contracts\Translation\TranslatorInterface, instance of Contao\CoreBundle\Translation\Translator given, called in /home/httpd/vhosts/pizzerianapule.ch/httpdocs/manager/var/cache/prod/ContainerB92Z4bV/getTwigService.php on line 105"]
In DateTimeFormatter.php line 18:
Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct()
must implement interface Symfony\Contracts\Translation\TranslatorInterface
, instance of Contao\CoreBundle\Translation\Translator given, called in /ho
me/httpd/vhosts/pizzerianapule.ch/httpdocs/manager/var/cache/prod/Container
B92Z4bV/getTwigService.php on line 105
cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--] <command>
Loading composer repositories with package information
Updating dependencies
Nothing to install or update
Package oyejorge/less.php is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Package zendframework/zend-code is abandoned, you should avoid using it. Use laminas/laminas-code instead.
Package zendframework/zend-eventmanager is abandoned, you should avoid using it. Use laminas/laminas-eventmanager instead.
Writing lock file
Generating optimized autoload files
Deprecation Notice: Class League\Uri\Schemes\AbstractUri located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///home/httpd/vhosts/pizzerianapule.ch/httpdocs/manager/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\Data located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///home/httpd/vhosts/pizzerianapule.ch/httpdocs/manager/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\File located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///home/httpd/vhosts/pizzerianapule.ch/httpdocs/manager/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\Ftp located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///home/httpd/vhosts/pizzerianapule.ch/httpdocs/manager/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\Http located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///home/httpd/vhosts/pizzerianapule.ch/httpdocs/manager/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\Uri located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///home/httpd/vhosts/pizzerianapule.ch/httpdocs/manager/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\UriException located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///home/httpd/vhosts/pizzerianapule.ch/httpdocs/manager/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\Ws located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///home/httpd/vhosts/pizzerianapule.ch/httpdocs/manager/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Warning: Ambiguous class resolution, "ProxyManager\Generator\Util\ProxiedMethodReturnExpression" was found 2x: in "/home/httpd/vhosts/pizzerianapule.ch/httpdocs/manager/vendor/symfony/proxy-manager-bridge/Legacy/ProxiedMethodReturnExpression.php" and "/home/httpd/vhosts/pizzerianapule.ch/httpdocs/manager/vendor/ocramius/proxy-manager/src/ProxyManager/Generator/Util/ProxiedMethodReturnExpression.php", the first will be used.
37 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-update-cmd event terminated with an exception
In ScriptHandler.php line 88:
An error occurred while executing the "cache:warmup" command: 06:35:46 ERRO
R [console] Error thrown while running command "cache:warmup --env=prod
". Message: "Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::
__construct() must implement interface Symfony\Contracts\Translation\Transl
atorInterface, instance of Contao\CoreBundle\Translation\Translator given,
called in /home/httpd/vhosts/pizzerianapule.ch/httpdocs/manager/var/cache/p
rod/ContainerB92Z4bV/getTwigService.php on line 105" ["exception" => TypeEr
ror { …},"command" => "cache:warmup --env=prod","message" => "Argument 1 pa
ssed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct() must impleme
nt interface Symfony\Contracts\Translation\TranslatorInterface, instance of
Contao\CoreBundle\Translation\Translator given, called in /home/httpd/vhos
ts/pizzerianapule.ch/httpdocs/manager/var/cache/prod/ContainerB92Z4bV/getTw
igService.php on line 105"]
In DateTimeFormatter.php line 18:
Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct
()
must implement interface Symfony\Contracts\Translation\TranslatorInterfa
ce
, instance of Contao\CoreBundle\Translation\Translator given, called in /
ho
me/httpd/vhosts/pizzerianapule.ch/httpdocs/manager/var/cache/prod/Contain
er
B92Z4bV/getTwigService.php on line 105
cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--
verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--en
v ENV] [--] <command>
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>...]
# Process terminated with exit code 1
# Result: General error
Contao Manager 1.3.2
Kann mir hier evt jemand weiterhelfen? Es gelingt mir weder die Erweiterung zu aktualisieren noch die Erweiterung zu löschen, um sie neu zu installieren. Ich habe nun die Installation bereits zum 6. Mal abgeschossen.
Liste der Anhänge anzeigen (Anzahl: 1)
Ich habe nun die Installation nun auf einer Sub-Domain komplett neu aufgesetzt und gleich von Beginn weg die Erweiterung weggelassen.
Bei dem Hinzufügen der restlichen Erweiterungen habe ich folgende Fehlermeldung erhalten:
Anhang 23900
Nachdem ich einen Reload ausführt habe, funktioniert die Installation normal. Ich werde nun daran weiterabeiten und die andere Installation nachher damit ersetzen.