Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

basename(): Passing null to parameter #1 #277

Open
rajpt opened this issue Aug 31, 2022 · 0 comments
Open

basename(): Passing null to parameter #1 #277

rajpt opened this issue Aug 31, 2022 · 0 comments

Comments

@rajpt
Copy link

rajpt commented Aug 31, 2022

Laravel: 9.27.0
laravel-log-viewer: 2.2.0
PHP 8.1.7

basename(): Passing null to parameter #1 ($path) of type string is deprecated in /Users/rajjanorkar/Projects/myproject/vendor/rap2hpoutre/laravel-log-viewer/src/Rap2hpoutre/LaravelLogViewer/LaravelLogViewer.php on line 141

I believe this only happens when i delete all log files.

thdaguin added a commit to thdaguin/laravel-log-viewer that referenced this issue Feb 26, 2023
If no log files exist (ie after deleting all files), a deprecation is emited by getFileName function (rap2hpoutre#277)
imanghafoori1 added a commit that referenced this issue Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant