Array and string offset access syntax with curly braces is no longer supported Php

Viewed 53

I am working with Php (Codeigniter) and i am tyring to use "excel" library in my project,I uploaded files and folders in "libraries" folder and use following code

public function __construct() {
        parent::__construct();        
$this->load->library('excel');
$this->load->model('Crud_model');
}

But i am getting "Array and string offset access syntax with curly braces is no longer supported" error, How can i resolve this ? Thank You in advance.

1 Answers

The code on your excel library is not support anymore with your current php version, you can downgrade php version or use the new excel library like PhpSpreadsheet

Related