Bei Update Installation von 4.9 auf 5.3 Fehler in tl_page.php
Hallo,
folgender Fehler bei Installation des Updates von 4.9 auf 5.3
Frontend und Backend sind momentan nicht erreichbar.
Kann wer weiterhelfen?
Soll ich mal die /vendor/contao/core-bundle/contao/dca/tl_page.php posten?
danke!
Code:
$ /usr/bin/php8.5 -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/Vienna /www/rehazentrum/html/public/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
Deprecation Notice: ContaoCommunityAlliance\Composer\Plugin\Plugin::__construct(): Implicitly marking parameter $runonceManager as nullable is deprecated, the explicit nullable type must be used instead in /www/rehazentrum/html/vendor/contao-community-alliance/composer-plugin/src/Plugin.php:65
More deprecation notices were hidden, run again with `-v` to show them.
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package doctrine/annotations is abandoned, you should avoid using it. No replacement was suggested.
Package doctrine/cache is abandoned, you should avoid using it. No replacement was suggested.
Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
Generating optimized autoload files
contao/manager-plugin: Dumping generated plugins file...
contao/manager-plugin: ...done dumping generated plugins file
118 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php vendor/bin/contao-setup
Added the bin/console file.
Added the public/index.php file.
Added the public/preview.php file.
Trying to install assets as relative symbolic links.
--- ------------------------------- ------------------
Bundle Method / Error
--- ------------------------------- ------------------
? ContaoCoreBundle relative symlink
? RockSolidCustomElementsBundle relative symlink
? ContaoCookiebar relative symlink
? ContaoFaqBundle relative symlink
? RockSolidColumnsBundle relative symlink
? ContaoNewsBundle relative symlink
? ContaoCalendarBundle relative symlink
? ContaoNewsletterBundle relative symlink
? SoftleisterBackupDbBundle relative symlink
? ContaoCommentsBundle relative symlink
? RockSolidSliderBundle relative symlink
--- ------------------------------- ------------------
[OK] All assets were successfully installed.
--- ------------------------------------------- --------------------------------------------------
Symlink Target / Error
--- ------------------------------------------- --------------------------------------------------
? public/files/rzs/webfonts files/rzs/webfonts
? public/files/rzs/downloads files/rzs/downloads
? public/files/rzs/js files/rzs/js
? public/files/rzs/img files/rzs/img
? public/files/rzs/css files/rzs/css
? public/files/rzs/videos files/rzs/videos
? public/files/rzs/stellenangebote files/rzs/stellenangebote
? public/files/rzs/leaflet files/rzs/leaflet
? public/system/modules/mobile_menu/assets system/modules/mobile_menu/assets
? system/themes/flexible vendor/contao/core-bundle/contao/themes/flexible
? public/assets assets
? public/system/themes system/themes
? system/logs var/logs
? public/vendor/scrivo/highlight_php/styles vendor/scrivo/highlight.php/styles
--- ------------------------------------------- --------------------------------------------------
// Clearing the cache for the prod environment with debug false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
// Clearing the cache for the dev environment with debug true
[OK] Cache for the "dev" environment (debug=true) was successfully cleared.
// Warming up the cache for the prod environment with debug false
15:51:38 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "Class "Backend" not found" ["exception" => Error { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "Class "Backend" not found"]
In tl_page.php line 420:
Attempted to load class "Backend" from the global namespace.
Did you forget a "use" statement?
cache:warmup [--no-optional-warmers]
15:51:38 CRITICAL [console] An error occurred while using the console. Message: "An error occurred while executing the "/usr/bin/php8.5 -dmemory_limit=-1 /www/rehazentrum/html/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --no-ansi" command: 15:51:38 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "Class "Backend" not found" ["exception" => Error { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "Class "Backend" not found"]
In tl_page.php line 420:
Attempted to load class "Backend" from the global namespace.
Did you forget a "use" statement?
cache:warmup [--no-optional-warmers]
" ["exception" => RuntimeException { …},"message" => """ An error occurred while executing the "/usr/bin/php8.5 -dmemory_limit=-1 /www/rehazentrum/html/vendor/contao/manager-bundle/bin/contao-console cache:warmup --env=prod --no-ansi" command: 15:51:38 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "Class "Backend" not found" ["exception" => Error { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "Class "Backend" not found"]\n \n In tl_page.php line 420:\n \n Attempted to load class "Backend" from the global namespace. \n Did you forget a "use" statement? \n \n \n cache:warmup [--no-optional-warmers]\n \n """]
In ContaoSetupCommand.php line 142:
An error occurred while executing the "/usr/bin/php8.5 -dmemory_limit=-1 /w
ww/rehazentrum/html/vendor/contao/manager-bundle/bin/contao-console cache:w
armup --env=prod --no-ansi" command: 15:51:38 CRITICAL [console] Error thr
own while running command "cache:warmup --env=prod --no-ansi". Message: "Cl
ass "Backend" not found" ["exception" => Error { …},"command" => "cache:war
mup --env=prod --no-ansi","message" => "Class "Backend" not found"]
In tl_page.php line 420:
Attempted to load class "Backend" from the global namespace.
Did you forget a "use" statement?
cache:warmup [--no-optional-warmers]
contao:setup
Script @php vendor/bin/contao-setup handling the post-install-cmd event returned with error code 1
# Process terminated with exit code 1
# Result: General error