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

kurth’s picture

Any progress on resolving this? Seems ignored....

nick_vh’s picture

Status: Active » Needs work

Can 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