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

cornel61’s picture

I'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;
}

ferdi’s picture

are you using PHP 5.3 ?

ianchan’s picture

bfroehle’s picture

Proper fix:

--- SCHOLAR-2-0-BETA10/sites/all/modules/contrib/spaces/includes/spaces_plugin_access_spaces_feature.inc	2010-01-12 09:27:43.000000000 -0800
+++ scholar/sites/all/modules/contrib/spaces/includes/spaces_plugin_access_spaces_feature.inc	2011-04-14 11:43:30.000000000 -0700
@@ -16,7 +16,7 @@
   }
 
   function get_access_callback() {
-    return array('spaces_feature_access', $this->options['spaces_feature']);
+    return array('spaces_feature_access', array($this->options['spaces_feature']));
   }
 
   function summary_title() {