I just installed SCHOLAR-2-0-BETA14 (on a shared hosting plan, with PHP 5.4). I went through the installation and it seemed to install correctly, but at the end I got a page full of identical warnings:
strict warning: Non-static method view::load() should not be called statically in /home/username/webapps/openscholar/sites/all/modules/contrib/views/views.module on line 879.
When I proceeded to the main page, I see this same warning, plus a bunch more, starting with:
strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /home/username/webapps/openscholar/sites/all/modules/contrib/views/handlers/views_handler_filter.inc on line 589.
strict warning: Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/username/webapps/openscholar/sites/all/modules/contrib/views/handlers/views_handler_filter_boolean_operator.inc on line 149.
strict warning: Declaration of views_plugin_style_default::options() should be compatible with views_object::options() in /home/username/webapps/openscholar/sites/all/modules/contrib/views/plugins/views_plugin_style_default.inc on line 25
and more ....
I was able to get an initial site set up, but then that page has warnings as well:
strict warning: Non-static method vsite::excluded_paths() should not be called statically in /home/username/webapps/openscholar/sites/all/modules/openscholar_vsite/vsite/plugins/vsite.inc on line 242.
strict warning: Non-static method space_og::excluded_paths() should not be called statically in /home/username/webapps/openscholar/sites/all/modules/openscholar_vsite/vsite/plugins/vsite.inc on line 218.
strict warning: Non-static method space_type_purl::excluded_paths() should not be called statically in /home/username/webapps/openscholar/sites/all/modules/contrib/spaces/spaces_og/plugins/space_og.inc on line 185.
strict warning: Declaration of vsite::router() should be compatible with space_type::router($op, $object = NULL) in /home/username/webapps/openscholar/sites/all/modules/openscholar_vsite/vsite/plugins/vsite.inc on line 262.
I'm happy to contact my hosting provider if it is an environmental problem, but I'm not sure what to ask them to check. Thanks.
Comments
Comment #1
kversp commentedProblem was the PHP version. Forcing PHP 5.2 fixed it.