Closed Toreg87 closed 8 months ago
I can't reproduce this on the demo or locally. My guess would be that there's some strange data in one or more of your action log entries.
This is my development system. I will try to reproduce this on a test server and a new copy of my production database on Monday.
I can confirm that this is an issue with xampp. The problem doesen't occur with my debian test server. I imported the same database on both environments and only in the xampp environment the activity log is empty with the error message in the log. Altough this is not a big issue, I want to understand the problem. Any ideas how to debug this further? Is anybody else using xampp and can confirm this issue?
I'm trying to figure out how on earth xampp could be the issue here.
Line 21 in C:\xampp\htdocs\snipe-it\app\Http\Controllers\Api\ReportsController.php
is just the gate that determines whether or not you can view the report.
We haven't made any changes to how that works in ages, so I don't know why xampp would be barfing on it now. Same versions of PHP on your xampp and debian installs?
Today I tried this with a fresh install of xampp, a new clone of the repository and a fresh vendor directory. The problem does not show up again. So this must have something to do with my local environment and doesn't seem to be a general issue. Sorry for the noise.
Debug mode
Describe the bug
After upgrading from 6.2.1 to 6.3.1 my activity log is empty. The error message is attached. If I comment out the line \Log::warning('arguments: ' . $arguments); from vendor\laravel\framework\src\Illuminate\Foundation\Auth\Access\AuthorizesRequests.php everything works fine.
Reproduction steps
Expected behavior
See my activity log entries.
Screenshots
No response
Snipe-IT Version
6.3.1
Operating System
Windows
Web Server
XAMPP
PHP Version
8.1.17
Operating System
No response
Browser
No response
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
Additional context
No response