Closed (fixed)
Project:
Open Academy
Version:
7.x-1.0-beta3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2012 at 22:17 UTC
Updated:
12 Sep 2013 at 08:51 UTC
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
Comment #1
mrfelton commentedsearch_api_solr is updated in latest dev code, and this patch has been incorporated upstream.