I installed version beta 8.
There are warnings from views module
warning: call_user_func_array() expects parameter 2 to be array, string given in C:\wamp\www\openscholar\sites\all\modules\contrib\views\views.module on line 451.
warning: call_user_func_array() expects parameter 2 to be array, string given in C:\wamp\www\openscholar\sites\all\modules\contrib\views\views.module on line 451.
warning: call_user_func_array() expects parameter 2 to be array, string given in C:\wamp\www\openscholar\sites\all\modules\contrib\views\views.module on line 451.
Comments
Comment #1
cornel61 commentedI've got the same issue with the latest relase. A solution is in sign, not sure whether it works propery.
Please check this link: http://stackoverflow.com/questions/1905800/php-call-user-func-array-pass...
I have amended "views.module" so fare and it seems to work.
Line 451 original : if (function_exists($callback) && call_user_func_array($callback, $argments)) {
return TRUE;
}
Line 451 amended: if (function_exists($callback) && call_user_func_array($callback, array($argments))) {
return TRUE;
}
Comment #2
ferdi commentedare you using PHP 5.3 ?
Comment #3
ianchan commentedThis seems to work - #1078332: unexpected warning after fresh local install
Its based on this comment - #809226: PHP 5.3 and Services Issues with call_user_func_array
Comment #4
bfroehle commentedProper fix: