[horde] Argument is not an array.

Simon Brereton simon.buongiorno at gmail.com
Fri Oct 26 21:25:54 UTC 2012


Hi

I have these errors in the log on my H5-beta install:


2012-10-26T21:03:30+00:00 NOTICE: HORDE-BETA [ingo] PHP ERROR:
Undefined index: spam [pid 4853 on line 45 of
"/usr/share/horde-beta/ingo/lib/Factory/Script.php"]
2012-10-26T21:03:30+00:00 NOTICE: HORDE-BETA [ingo] PHP ERROR:
Undefined index: spam [pid 4853 on line 48 of
"/usr/share/horde-beta/ingo/lib/Factory/Script.php"]
2012-10-26T21:03:30+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #1 is not an array [pid 4853 on line 68 of
"/usr/share/horde-beta/ingo/lib/Factory/Transport.php"]
2012-10-26T21:03:30+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #2 is not an array [pid 4853 on line 41 of
"/usr/share/horde-beta/ingo/lib/Transport.php"]
2012-10-26T21:03:43+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #1 is not an array [pid 4853 on line 68 of
"/usr/share/horde-beta/ingo/lib/Factory/Transport.php"]
2012-10-26T21:03:43+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #2 is not an array [pid 4853 on line 41 of
"/usr/share/horde-beta/ingo/lib/Transport.php"]
2012-10-26T21:03:45+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #1 is not an array [pid 4853 on line 68 of
"/usr/share/horde-beta/ingo/lib/Factory/Transport.php"]
2012-10-26T21:03:45+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #2 is not an array [pid 4853 on line 41 of
"/usr/share/horde-beta/ingo/lib/Transport.php"]
2012-10-26T21:03:49+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #1 is not an array [pid 4853 on line 68 of
"/usr/share/horde-beta/ingo/lib/Factory/Transport.php"]
2012-10-26T21:03:49+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #2 is not an array [pid 4853 on line 41 of
"/usr/share/horde-beta/ingo/lib/Transport.php"]
2012-10-26T21:03:53+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #1 is not an array [pid 4853 on line 68 of
"/usr/share/horde-beta/ingo/lib/Factory/Transport.php"]
2012-10-26T21:03:53+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #2 is not an array [pid 4853 on line 41 of
"/usr/share/horde-beta/ingo/lib/Transport.php"]
2012-10-26T21:03:55+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #1 is not an array [pid 4853 on line 68 of
"/usr/share/horde-beta/ingo/lib/Factory/Transport.php"]
2012-10-26T21:03:55+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #2 is not an array [pid 4853 on line 41 of
"/usr/share/horde-beta/ingo/lib/Transport.php"]
2012-10-26T21:04:31+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #1 is not an array [pid 4863 on line 68 of
"/usr/share/horde-beta/ingo/lib/Factory/Transport.php"]
2012-10-26T21:04:31+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #2 is not an array [pid 4863 on line 41 of
"/usr/share/horde-beta/ingo/lib/Transport.php"]
2012-10-26T21:04:39+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #1 is not an array [pid 4863 on line 68 of
"/usr/share/horde-beta/ingo/lib/Factory/Transport.php"]
2012-10-26T21:04:39+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #2 is not an array [pid 4863 on line 41 of
"/usr/share/horde-beta/ingo/lib/Transport.php"]
2012-10-26T21:04:42+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #1 is not an array [pid 4863 on line 68 of
"/usr/share/horde-beta/ingo/lib/Factory/Transport.php"]
2012-10-26T21:04:42+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #2 is not an array [pid 4863 on line 41 of
"/usr/share/horde-beta/ingo/lib/Transport.php"]
2012-10-26T21:04:55+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #1 is not an array [pid 4863 on line 68 of
"/usr/share/horde-beta/ingo/lib/Factory/Transport.php"]
2012-10-26T21:04:55+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #2 is not an array [pid 4863 on line 41 of
"/usr/share/horde-beta/ingo/lib/Transport.php"]
2012-10-26T21:04:59+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #1 is not an array [pid 4863 on line 68 of
"/usr/share/horde-beta/ingo/lib/Factory/Transport.php"]
2012-10-26T21:04:59+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #2 is not an array [pid 4863 on line 41 of
"/usr/share/horde-beta/ingo/lib/Transport.php"]
2012-10-26T21:05:08+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #1 is not an array [pid 4863 on line 68 of
"/usr/share/horde-beta/ingo/lib/Factory/Transport.php"]
2012-10-26T21:05:08+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #2 is not an array [pid 4863 on line 41 of
"/usr/share/horde-beta/ingo/lib/Transport.php"]
2012-10-26T21:05:21+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #1 is not an array [pid 4863 on line 68 of
"/usr/share/horde-beta/ingo/lib/Factory/Transport.php"]
2012-10-26T21:05:21+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #2 is not an array [pid 4863 on line 41 of
"/usr/share/horde-beta/ingo/lib/Transport.php"]
2012-10-26T21:05:28+00:00 NOTICE: HORDE-BETA [imp] PHP ERROR: Trying
to get property of non-object [pid 4863 on line 520 of
"/usr/share/horde-beta/imp/lib/LoginTasks/SystemTask/Upgrade.php"]
2012-10-26T21:05:29+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #1 is not an array [pid 4863 on line 68 of
"/usr/share/horde-beta/ingo/lib/Factory/Transport.php"]
2012-10-26T21:05:29+00:00 WARN: HORDE-BETA [ingo] PHP ERROR:
array_merge(): Argument #2 is not an array [pid 4863 on line 41 of
"/usr/share/horde-beta/ingo/lib/Transport.php"]
2012-10-26T21:05:29+00:00 NOTICE: HORDE-BETA [ingo] PHP ERROR:
Undefined index: spam [pid 4863 on line 45 of
"/usr/share/horde-beta/ingo/lib/Factory/Script.php"]
2012-10-26T21:05:29+00:00 NOTICE: HORDE-BETA [ingo] PHP ERROR:
Undefined index: spam [pid 4863 on line 48 of
"/usr/share/horde-beta/ingo/lib/Factory/Script.php"]


Actually, I have a bunch of itty problems.  I suspect that I was too
aggressive in setting some file permissions.

Would someone have a script/command that restores the correct
permissions?  After install all the files are root:root - some files I
find need to be root:www-data regardless of the group permission.

Simon


More information about the horde mailing list