Support

Akeeba Backup for Joomla!

#25860 PHP Warning: array_merge(): Argument #1 is not an array in when running akeeba-check-failed.php cli script

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 on Thursday, 08 September 2016 17:20 CDT

hcc
opensource@php-joomla-lb1:/disk/site/hcc.nl/opensource/www/cli$ php akeeba-check-failed.php
Akeeba Backup Check failed backups CLI 5.1.4 (2016-08-04)
Copyright (c) 2006-2016 Akeeba Ltd / Nicholas K. Dionysopoulos
-------------------------------------------------------------------------------
Akeeba Backup is Free Software, distributed under the terms of the GNU General
Public License version 3 or, at your option, any later version.
This program comes with ABSOLUTELY NO WARRANTY as per sections 15 & 16 of the
license. See http://www.gnu.org/licenses/gpl-3.0.html for details.
-------------------------------------------------------------------------------
You are using PHP 5.5.9-1ubuntu4.19 (cli)

Checking for failed backups
PHP Warning: array_merge(): Argument #1 is not an array in /disk/site/hcc.nl/opensource/www/libraries/fof30/Container/Container.php on line 606
PHP Warning: array_merge(): Argument #1 is not an array in /disk/site/hcc.nl/opensource/www/libraries/fof30/Container/Container.php on line 606
No need to run: no failed backups or notifications were already sent.opensource@php-joomla-lb1:/disk/site/hcc.nl/opensource/www/cli$
 With kind regards,


Bas van den Dikkenberg

nicholas
Akeeba Staff
Manager
You can safely ignore that. That's PHP complaining about it passing an empty list of input arguments. It's only a cosmetic issue which will be addressed in a future version.

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!

hcc
How can i prevent them from showing in an e-mail from the cron job



 With kind regards,


Bas van den Dikkenberg

nicholas
Akeeba Staff
Manager
You can ask your host to edit the php.ini file for the PHP 5.5.9-1ubuntu4.19 CLI and set
error_reporting = E_ERROR

in it, replacing the existing line. This will prevent low priority warnings and notices from showing up when you are executing a CLI script.

You can also append --debug=1 to the command line you use on your script. It should suppress this message (I have not tested this).

Finally, you can always edit the akeeba-check-failed.php file and enter the following after the define('_JEXEC', 1); line:
define('AKEEBADEBUG',1);
error_reporting(E_ERROR);

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!