During install process at the APPS and the PREPARE SITE stages, this syntax error appears.

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in docroot/profiles/openacademy/modules/contrib/search_api_solr/service.inc on line 850 

T_PAAMAYIM_NEKUDOTAYIM (double colon operator :: )

Which leads to this line in service.inc.
$key = $class::phrase($key);

Investigation I found that a Late Static Binding method had been added to the distro from a patch applied to Search API Solr search - http://drupal.org/files/1407282-search-api-custom-connection-class.patch

This patch needs removed or updated to current patch from http://drupal.org/node/1407282 - http://drupal.org/files/1407282--variable_solr_connection_class-27.patch so not to erro on php 5.2.

Server has been upgraded to 5.3.15 and error does not occur.

Comments

mrfelton’s picture

Status: Active » Fixed

search_api_solr is updated in latest dev code, and this patch has been incorporated upstream.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.