PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Structures » Structures_DataGrid » Bug #9579

New Warnings Showing up

Details

Submitted2006-12-08 01:45 UTC
Fromchris dot stone at gmail dot com
Assignedwiesemann
StatusClosed
PackageStructures_DataGrid
PHP Version5.1.6
OSLinux
Roadmaps(Not assigned)

Comments

[2006-12-08 01:45 UTC] chris dot stone at gmail dot com

Description:
------------
Hi, I just upgraded to 0.7.2 from 0.7.1 and I am seeing some warnings now show up in my error log:

[Thu Dec 07 17:33:27 2006] [error] [client 75.14.208.101] PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array in /usr/share/pear/Structures/DataGrid/Renderer.php on line 690, referer: http://www.empiricalinvestor.com/

Please let me know if you need more information to reproduce this warning message.

[2006-12-08 14:13 UTC] chris dot stone at gmail dot com

Here is a code segment:
http://www.phpfi.com/182661?lang=php

The warnings show up between the two error_log() calls.

NOTE: I also upgrade the Smarty Renderer at the same time I upgraded DataGrid, so the bug might be located in there.

[2006-12-10 00:53 UTC] chris dot stone at gmail dot com

Hi, I applied your patches and the warning message goes away. Thanks.