Support

Akeeba Backup for Joomla!

#33309 Cron task PHP parse error with PHP 7.0

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by chrisvaughan on Thursday, 25 June 2020 01:25 CDT

chrisvaughan

Description of my issue:

Just to say that after the recent upgrade to 7.2.1 Pro my cron tasks started to fail if they were running PHP 7.0

This was easy to fix by changing them to run PHP 7.3

The error message the cron task gave was

PHP Parse error: syntax error, unexpected '=' in /home/sites/4a/0/0ff03f3f65/public_html/www01/libraries/fof30/Cli/Traits/CustomOptionsAware.php on line 104

thought you should know

nicholas
Akeeba Staff
Manager

The minimum PHP requirement for Akeeba Backup 7.2 is PHP 7.1. The fact that the minimum requirements changed was communicated in the Release Notes which are also displayed when Joomla detects the update. Here's the very top item of that page:

Minimum requirements raised to PHP 7.1, Joomla 3.9. In an effort to support the upcoming Joomla 4.0 we had to do major and far-reaching changes to our software. Some of the necessary changes were impossible while supporting older PHP versions such as 5.6 and 7.0 – versions of PHP which have been end of life for well over a year. As noted, we consider versions of PHP which went EOL over six months ago to be good candidates for removal. Further to that, our usage statistics show that less than 5% of total sites and less than 0.5% of current Joomla version sites use them, therefore we decided to drop support. On a similar note, Joomla versions lower than or equal to 3.8 represent less than 2% of the Joomla sites of our users so we decided to drop support for them to make it possible to prepare our software for Joomla 4.

Moreover, if you're even in doubt, please refer to our Compatibility page. This page is generated automatically from the compatibility information tagged with each release, taking into account each Joomla version's minimum requirement as well.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

chrisvaughan

Sorry about this, completely missed that the Minimum requirements had changed. Please close this ticket.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!