stepanenko3 / nova-logs-tool

A Laravel Nova tool to manage and keep track of each one of your logs files.
MIT License
26 stars 11 forks source link

"protected array $_mergedIndex" cannot be assigned null error #20

Closed krisimmig closed 7 months ago

krisimmig commented 7 months ago

When loading the Logs page, I get the error:

Cannot assign null to property Stepanenko3\LaravelLogViewer\Helpers\LogReader::$_mergedIndex of type array.

I can make it work when I change /laravel-log-viewer/src/Helpers/LogReader.php:31

protected ?array $_mergedIndex;

I am using Laravel 10, Nova 4.33.0 and php 8.1

stepanenko3 commented 7 months ago

HI, @krisimmig Fixed in https://github.com/stepanenko3/laravel-log-viewer/releases/tag/v1.3.2