Hallo zusammen,
ich hoffe hier kann jemand helfen. Szenario: frische Installation von Contao 4.13, pct_theme_installer und Isotope E-Commerce 2.8.5 unter PHP 7.4. Alles prima, bis im Contao-Backend Eclipse X mit dem Theme-Installer installiert wird. Ab diesem Zeitpunkt kann der Contao Manager kein Cache Warm-Up mehr durchführen:
Aus dem Logfile:
Freue mich über jeden Hinweis...
Beste Grüße,
Käptn-K
ich hoffe hier kann jemand helfen. Szenario: frische Installation von Contao 4.13, pct_theme_installer und Isotope E-Commerce 2.8.5 unter PHP 7.4. Alles prima, bis im Contao-Backend Eclipse X mit dem Theme-Installer installiert wird. Ab diesem Zeitpunkt kann der Contao Manager kein Cache Warm-Up mehr durchführen:
Code:
$ /bin/php74 -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /www/htdocs/path-to-contao/vendor/contao/manager-bundle/bin/contao-console cache:clear --env=prod --no-warmup
// Clearing the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
# Process terminated with exit code 0
# Result: OK
$ /bin/php74 -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /www/htdocs/path-to-contao/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod
// Warming up the cache for the prod environment with debug
// false
Warning: Cannot declare class Module, because the name is already in use in /www/htdocs/path-to-contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/ClassLoader.php on line 177
PHP Warning: Cannot declare class Module, because the name is already in use in /www/htdocs/path-to-contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/ClassLoader.php on line 177
19:25:09 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod". Message: "Failed to start the session because headers have already been sent by "/www/htdocs/path-to-contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/ClassLoader.php" at line 177." ["exception" => RuntimeException { …},"command" => "cache:warmup --env=prod","message" => "Failed to start the session because headers have already been sent by "/www/htdocs/path-to-contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/ClassLoader.php" at line 177."]
In NativeSessionStorage.php line 145:
Failed to start the session because headers have already been sent by "/www /htdocs/path-to-contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/ClassLoader.php" at line 177.
cache:warmup [--no-optional-warmers]
# Process terminated with exit code 1
# Result: General error
Code:
[2022-07-27T19:25:09.269325+02:00] console.CRITICAL: Error thrown while running command "cache:warmup --env=prod".
Message: "Failed to start the session because headers have already been sent by "/www/htdocs/path-to-contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/ClassLoader.php" at line 177." {"exception":"[object] (RuntimeException(code: 0):
Failed to start the session because headers have already been sent by \"/www/htdocs/path-to-contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/ClassLoader.php\" at line 177. at /www/htdocs/path-to-contao/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:145)","command":"cache:warmup --env=prod",
"message":"Failed to start the session because headers have already been sent by \"/www/htdocs/path-to-contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/ClassLoader.php\" at line 177."} []
Freue mich über jeden Hinweis...
Beste Grüße,
Käptn-K

Kommentar