silverstripe / cwp

Common Web Platform (CWP) features module. We strongly recommend using it for all new CWP projects. Future features will be delivered here.
https://www.cwp.govt.nz
BSD 3-Clause "New" or "Revised" License
10 stars 26 forks source link

Update SearchEngine and BasePage to support PHP 7.2 #229

Closed falsaform closed 5 years ago

falsaform commented 5 years ago

Add support for PHP7.2 on latest SS 3.x branch (1) changing Object references to SS_Object

required changes are:

BasePage.php if (self::$search_index_class) { $index = SS_Object::singleton(self::$search_index_class); }

CwpSearchEngine.php class CwpSearchEngine extends SS_Object {

robbieaverill commented 5 years ago

CWP 1.9.2 will be released at the start of September which will support PHP 7.2+