Support for latest PHP versions
-
In the latest PHP versions there is a deprecation warnings:
Creation of dynamic property CSF_Field_image_select::$field is deprecatedSo the file admin/csf/classes/field.class.php should be updated like that:
public mixed $field;
public mixed $value;
public mixed $unique;
public mixed $where;
public mixed $parent;public function __construct( $field = array(), $value = ”, $unique = ”, $where = ”, $parent = ” ) {
$this->field = $field;
$this->value = $value;
$this->unique = $unique;
$this->where = $where;
$this->parent = $parent;
}And then in admin/csf/fields/typography/typography.php we need to add mixed to the $value:
public mixed $value = array();Hope this helps and be included in the future releases.
The topic ‘Support for latest PHP versions’ is closed to new replies.