I have updated OSTicket from 1.17.3 to 1.18

There are three email boxes configured for FETCH activities via external CRON command osticket\api\cron.php

Since this update was made, none of the three mailboxes are read anymore.
Enabling "retrieve with auto-cron" works normally.
But the CRON command external to the application does not work.

The LOG reports something strange:

_```
Your Composer dependencies require a PHP version ">= 8.1.0". You are running 7.4.33.

PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". You are running 7.4.33. in /var/www/vhosts/cpbesana.it/other/osticket/include/laminas-mail/vendor/composer/platform_check.php on line 24


The application is running smoothly and the PHP version in use is: **8.2.11**

Any ideas?
Thanks

    cpbesana

    Your issue is you have multiple versions of PHP installed on your server and the PHP version running the cron job is old. You need to update your cron job command to include the path to the latest PHP 8.2 executable.

    Cheers.

    Write a Reply...