Support

Akeeba Backup for Joomla!

#38372 Akeeba Update Argument #2 ($parent) must be of type Joomla\CMS\Installer\Adapter\PackageAdapter, Joomla\CMS\Installer\Adapter\LibraryAdapter given

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
4.2.6
PHP version
8.0.26
Akeeba Backup version
9.4.8

Latest post by UglyEoin on Friday, 20 January 2023 09:39 CST

UglyEoin

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 10MiB, please upload it on your server and post a link to it.

 

I get this error when updating Akeeba Backup on J4.  

 

0 Pkg_AkeebabackupInstallerScript::postflight(): Argument #2 ($parent) must be of type Joomla\CMS\Installer\Adapter\PackageAdapter, Joomla\CMS\Installer\Adapter\LibraryAdapter given

 

The version number is correct so I assume the update worked but something postflight must have gone wrong, so I'm not sure if it's entirely updated or there will be a problem.

tampe125
Akeeba Staff

Hello,

this happens when you're trying to update more than one extension and one of them is not a Package. This is a bug in Joomla, we already have reported it.

As a rule of thumb, you should always update one extension at the time, to avoid issues.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

UglyEoin

Ah ok, got ya, thank you.

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!