Hi,
I've updated to Unite 5.0.0 on a local environment with PHP 8.1.7. When I restore a backup with Unite 5, I'm getting this error:
Restoring Akeeba .jpa backup …
Configuring Unite: *.jpa, thesite, /app/www
Configuring Unite DB: thesitedb, thesitedb, thesitedb
Akeeba UNiTE 5.0.0 (2022-10-11)
Copyright ©2008-2022 Nicholas K. Dionysopoulos / Akeeba Ltd.
This program comes with ABSOLUTELY NO WARRANTY. This is Free Software and you
are welcome to redistribute it under certain conditions. Use command license
for details.
[INFO ] Parsing /app/www/joomla-unite.xml
[INFO ] Validating the source data
[ERROR ] array_merge(): Argument #1 must be of type array, Akeeba\UNiTE\DataShape\SiteInfo given
In Validator.php line 77:
array_merge(): Argument #1 must be of type array, Akeeba\UNiTE\DataShape\SiteInfo given
It looks like a PHP 8 compatibility bug when array_merge receives a parameter with a type mismatch.
Best Regards