Cannot log into Plesk: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0".

Comments

9 comments

  • Avatar
    Andrei Pop (Edited )

    This does not apply. I don't have any monitoring installed. This was fine a few days ago, just started without any human intervention. Why Plesk is doing backgrond thinks and fsck up servers?

    plesk bin extension --list
    advisor - Advisor
    bacula4hosts - Module bacula4hosts
    configurations-troubleshooter - Webserver Configurations Troubleshooter
    dropbox-backup - Dropbox Backup
    git - Git
    heavy-metal-skin - Skins and Color Schemes
    letsencrypt - Let's Encrypt
    log-browser - Mail Log Browser
    monitoring - Monitoring
    nodejs - Node.js
    panel-ini-editor - Panel.ini Editor
    panel-migrator - Plesk Migrator
    plesk-cagefs - CageFS
    plesk-lvemanager - CloudLinux Manager
    rblcheckmaster - RBL Check (Linux)
    repair-kit - Repair Kit
    revisium-antivirus - ImunifyAV
    servershield - ServerShield by Cloudflare
    sslit - SSL It!
    wp-toolkit - WordPress Toolkit

    I have disabled all extensions and still get the same error:

    [2023-05-23 01:49:06.435] ERR [panel] PHP User Error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0". You are running 7.3.22.; File: /usr/local/psa/admin/plib/modules/catalog/vendor/composer/platform_check.php, Line: 24

    Any workaround?

    1
  • Avatar
    Ben teo

    Same issue!

    I tried disabling monitoring but didnt work. I am using older version of Plesk. Unable to update plesk due to some versioning issue. Anyone can help?

    0
  • Avatar
    Giancarlo Lievore

    Same issue!

    i have ubuntu 16.04 and plesk 18.0.34

    plesk bin extension --list

    advisor - Advisor
    configurations-troubleshooter - Webserver Configurations Troubleshooter
    firewall - Firewall
    letsencrypt - Let's Encrypt
    panel-migrator - Plesk Migrator
    repair-kit - Repair Kit
    revisium-antivirus - ImunifyAV
    slave-dns-manager - Slave DNS Manager
    sslit - SSL It!
    sucuri-scanner - Sucuri Security Scanner
    watchdog - Watchdog
    wp-toolkit - WordPress Toolkit

     

    Please help

    0
  • Avatar
    Andrei Pop

    I fixed from  https://talk.plesk.com/threads/composer-dependencies-require-on-plesk.366797/ 

    Open /usr/local/psa/admin/plib/modules/catalog/vendor/composer/platform_check.php

    Edit (change the 4 with 1)
    if (!(PHP_VERSION_ID >= 70400)) {

    into:
    if (!(PHP_VERSION_ID >= 70100)) {

    3
  • Avatar
    Michel vd Lingen

    Same here... We got a ton of support tickets, emails and phone calls about this issue... And I can only hope that Plesk will resolve this asap.

    0
  • Avatar
    Anton Kuznetsov

    The issue with /usr/local/psa/admin/plib/modules/catalog/vendor/composer/platform_check.php is separate and is not related to monitoring extension. It should be fixed by now. Please look at the following article for details:

    https://support.plesk.com/hc/en-us/articles/14778146184727

    0
  • Avatar
    Unknown User

    For us it was letsencrypt in version 3.1.13-870

    change 80002 to 70400 in
    /usr/local/psa/admin/plib/modules/letsencrypt/vendor/composer/platform_check.php

    letsencrypt works just fine after this.

    0
  • Avatar
    Unknown User

    I got this error today (again). Here's my fix:

    in file

    /usr/local/psa/admin/plib/modules/sectigo/vendor/composer/platform_check.php

    change 

    if (!(PHP_VERSION_ID >= 70400)) {

    to

    if (!(PHP_VERSION_ID >= 70100)) {

    After that I could login into my Plesk panel again.

     

    0
  • Avatar
    Steve S (Edited )

    Modifying the platform_check.php worked for us but in the following folder as directly above --> /usr/local/psa/admin/plib/modules/sectigo/vendor/composer

    We are on Obsidian 18.0.30 in case that helps anyone else.

    We did try the work around, but we don't have monitoring installed.

    0

Please sign in to leave a comment.

Have more questions? Submit a request