• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Issue Installing Composer dependencies Problems

Killug

New Pleskian
Server operating system version
Debian 12
Plesk version and microupdate number
18.0.73
Problems with Laravel installation

Hello,

My name is Michel and I have been a Plesk user for many years.

Unfortunately, I had to reinstall my server. I installed Debian 12 and then apt-get update && upgrade.
I can log in to Plesk without any problems and create mail accounts, databases, and websites—everything works fine.
Now I would like to install the Laravel extension. When I install the extension from the store, it works, but when I try to create the application on my website, I get the following message:

Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 0 installs, 0 updates, 35 removals
> Illuminate\Foundation\ComposerScripts::prePackageUninstall
PHP Fatal error: Illuminate\Console\Command::isHidden() has #[\Override] attribute, but no matching parent method exists in /var/www/vhosts/ggstatus.cloud/httpdocs/vendor/laravel/framework/src/Illuminate/Console/Command.php on line 289
PHP Fatal error: Declaration of Monolog\Logger::emergency(Stringable|string $message, array $context = []): void must be compatible with Psr\Log\LoggerInterface::emergency($message, array $context = []) in /var/www/vhosts/ggstatus.cloud/httpdocs/vendor/monolog/monolog/src/Monolog/Logger.php on line 683

I have already tried the help I found here in the forum, but unfortunately without success. All applications are up to date.

I hope you can help me.

I look forward to your reply.

Michel
 
Hello,

I'll try to describe my problem again. Unfortunately, my first post was deleted for no apparent reason.

I'm trying to install Laravel on a domain in Plesk. Unfortunately, the installation isn't working and I'm getting the following error message:

Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 0 installs, 1 update, 35 removals
- Downloading psr/log (3.0.2)
> Illuminate\Foundation\ComposerScripts::prePackageUninstall
PHP Fatal error: Illuminate\Console\Command::isHidden() has #[\Override] attribute, but no matching parent method exists in /var/www/vhosts/ggstatus.cloud/httpdocs/vendor/laravel/framework/src/Illuminate/Console/Command.php on line 289
PHP Fatal error: Declaration of Monolog\Logger::emergency(Stringable|string $message, array $context = []): void must be compatible with Psr\Log\LoggerInterface::emergency($message, array $context = []) in /var/www/vhosts/ggstatus.cloud/httpdocs/vendor/monolog/monolog/src/Monolog/Logger.php on line 683

I hope you can help me.

Both PHP and Composer are up to date.
 
Back
Top