Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP-Warning: array_multisort(): Argument #1 is expected to be an array #137

Closed
imonteiro opened this issue Jan 18, 2013 · 1 comment
Closed

Comments

@imonteiro
Copy link
Member

Original author: buegelfa...@gmail.com (December 02, 2011 11:12:04)

What steps will reproduce the problem?

  1. create a grid, display it
  2. enter text into a filter-box that will give ZERO results
  3. click on a column to sort it

What is the expected output? What do you see instead?
Warning: array_multisort(): Argument #1 is expected to be an array or a sort flag in (...)/Bvb/Grid/Source/Array.php on line 365

Please insert the appropriate values;
Zend Framework version: 1.11.11
ZFDatgrid Version (Bvb_Grid::getVersion()): 0.8
Operating system: Linux
PHP Version: 5.3.6
Database Server and version: Mysql 5
Source Adatapter:

Please provide any additional information below.
adding "if (@is_array($result))" in line 364 will fix it

Original issue: http://code.google.com/p/zfdatagrid/issues/detail?id=793

@imonteiro
Copy link
Member Author

From ivomonte...@gmail.com on March 10, 2012 16:29:18
Hi,

This issue was fixed initializing $result variable. Check last trunk - r1898.

Thanks.

Ivo Monteiro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant