Open the file
plugins/console/akeebabackup/src/Extension/AkeebaBackup.php. If there are less than 210 lines it means that your host is doing something stupid (they have enabled PHP OPcache with a huge caching time, i.e. your server does not "see" updated core Joomla! and third party extensions'
.php files). If this is the case, go directly to the last paragraph in this reply.
If you see more than 210 lines then the problem is that Joomla failed to update one of the plugins included with Akeeba Backup, namely the one in the
console group which handles the Joomla! CLI integration, without actually telling you anything about it. I have been reporting this issue with Joomla's extensions updater since 2014. Anyway, it's pretty simple to fix. Here's how (please note that all instructions are necessary, even though they seem to not be, and the order you carry them out matters as well):
- Delete the folder
plugins/console/akeebabackup from your site.
- Download Akeeba Backup 9's ZIP file from our Downloads page. This is to make sure that Joomla is trying to install the correct version.
- Go to System, Extensions, Install and install the ZIP file you downloaded in the previous step without uninstalling Akeeba Backup before.
- Repeat the previous step a second time. Yes, it is necessary; it's what works around the problem in Joomla's integrated extensions updater (which is the same code as the extensions installer we are using here).
Now open the file
plugins/console/akeebabackup/src/Extension/AkeebaBackup.php It should have about 129 lines. There should no longer be a line 232 (the one referenced in the error message you sent us). If this is not the case, delete the contents of the
tmp folder on your site and retry the numbered instructions above.
If you get the same error, despite the fact that the line referenced in the message no longer exists, please contact your host and ask them to reset the PHP OPcache for your site. They should know what that means and be able to do it for you. This would mean that you have to ask them to do that every time you update Joomla or one of its extensions since the server does not "see" the changes made in the updated Joomla and third party extension files.
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!