Closed blpraveen closed 9 years ago
This can probably be fixed by simply changing $me = $this;
to $me = $this->owner
and leaving the closure in place. I don't have the code handy to test this myself at the moment, but does that seem to do the trick?
Have made the $me = $this->owner re-assignment and that solves this same issue.
This is an fix to the issue https://github.com/nyeholt/silverstripe-solr/issues/25. i was getting this error when showing facets on the template. After making the above changes it worked to me.