Problem (Output von Upgrade Status):
web/PHPStan failed 0
PHPStan command failed:
/opt/php/8.1/bin/php /var/www/vendor/bin/phpstan analyse --memory-limit=1500M --error-format=json --configuration=/var/www/tmp/upgrade_status/deprecation_testing.neon /var/www/web/modules/custom/my_tools
Command output:
Empty.
Command error:
PHP Fatal error: Trait "Symfony\Bridge\PhpUnit\Legacy\PolyfillAssertTrait" not found in /var/www/web/sites/simpletest/Assert.php on line 92 Fatal error: Trait "Symfony\Bridge\PhpUnit\Legacy\PolyfillAssertTrait" not found in /var/www/web/sites/simpletest/Assert.php on line 92
Comments
Das hilft: symfony/phpunit-bridge + chmod 777 Di, 08/29/2023 - 18:33
Das hat mit geholfen:
chmod 777 tmp/upgrade_status composer require symfony/phpunit-bridge
Plesk Mi, 08/30/2023 - 13:43
Wenn es um Plesk geht, brauch man manchmal diese Änderung in Admin >> Websites & Domains >> my_domain >> PHP Settings :
open_basedir : {WEBSPACEROOT}{/}{:}{TMP}{/}{:}/opt/plesk/php
Es kommt
/opt/plesk/php
dazuNeuen Kommentar schreiben