hi, I just updated CI
Could you help. I get this error
Undefined array key "file"
Code:
SYSTEMPATH\Debug\Toolbar\Collectors\Database.php at line 142
Code:
135 $isDuplicate = $query['duplicate'] === true;
136
137 // Find the first line that doesn't include `system` in the backtrace
138 $line = [];
139
140 foreach ($query['trace'] as &$traceLine) {
141 // Clean up the file paths
142 $traceLine['file'] = str_ireplace(APPPATH, 'APPPATH/', $traceLine['file']);
143 $traceLine['file'] = str_ireplace(SYSTEMPATH, 'SYSTEMPATH/', $traceLine['file']);
144 if (defined('VENDORPATH')) {
145 // VENDORPATH is not defined unless `vendor/autoload.php` exists
146 $traceLine['file'] = str_ireplace(VENDORPATH, 'VENDORPATH/', $traceLine['file']);
147 }
148 $traceLine['file'] = str_ireplace(ROOTPATH, 'ROOTPATH/', $traceLine['file']);
149
Im running PHP 8.0.13