count(): Parameter must be an array or an object that implements Countable
Manaus opened this issue · 1 comments
Manaus commented
Raised this error on installing on 2.7.10, Search Index > Indexes on the admin.
298 if ($index) {
299 $col_name->appendChild(Widget::Input("items[{$section->get('id')}]", null, 'checkbox'));
300 }
301
302 if ($index && isset($index['fields']) && count($index['fields'] > 0)) { // highlighted row ------
303 $section_fields = $section->fetchFields();
304 $fields = $this->_indexes[$section->get('id')]['fields'];
305 $fields_list = '';
306 foreach($section_fields as $section_field) {
Plugin v 0.9.5 on php 7.2.22
Thx