Needs work
Project:
Apache Solr Search
Version:
6.x-1.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Nov 2012 at 00:18 UTC
Updated:
22 May 2013 at 22:59 UTC
In version 6.x-1.7
Drupal_Apache_Solr_Service extends Apache_Solr_Service and then uses self::METHOD_GET; a constant Apache_Solr_Service fails to declare.
Used in e.g. line 270 of Drupal_Apache_Solr_Service.php
public function search($query, $offset = 0, $limit = 10, $params = array(), $method = self::METHOD_GET)
Leads to: PHP Fatal error: Undefined class constant 'self::METHOD_GET'
All it needs is defining this is similar constants in the parent class it seems?
Comments
Comment #1
kurth commentedAny progress on resolving this? Seems ignored....
Comment #2
nick_vhCan you tell us what version of php you are using? 6.x-1.7 is not super supported anymore so I'd suggest you to create a patch to make our lives a little easier