kb: technical
Symptoms
-
In an attempt to add a local or remote repository using Plesk Git extension results in a blank page.
-
The following can be found at
/var/log/plesk/panel.log
with debug enabled:CONFIG_TEXT: DEBUG [extension/git] TypeError: Symfony\Component\Validator\Constraints\Choice::__construct(): Argument #7 (
$max) must be of type ?int, string given, called in /opt/psa/admin/plib/modules/git/library/DTO/API/AbstractRepositoryRequest.php on line 68 and defined in
/opt/psa/admin/plib/modules/git/vendor/symfony/validator/Constraints/Choice.php:54
Cause
Incompatibility with 3rd party updates required for PHP8.0.
Such behavior was considered a bug EXTGIT-315 which was fixed in Git extension version 2.4.6
Resolution
Update Git extension in Plesk
Comments
0 comments
Please sign in to leave a comment.