I am using the latest version of phpvms and the premium ACARS. At the end of the flight, when I send the report, I get a popup with the message: " There was an error filing the PIREP".
but the PIREP is successfully recorded on the website.
Here are the ACARS logs:
Quote
06-15 02:08:26|INFO; Setting flight phase to Arrived
06-15 02:09:09|INFO; Handling action button, val=File Flight
06-15 02:09:11|ERROR; uri=/api/pireps/oO2W3R7Bx1nevbBk/file
06-15 02:09:11|ERROR; error=Cannot use empty array elements in arrays
06-15 02:09:11|ERROR; code=503
06-15 02:09:11|INFO; Error filing PIREP, Cannot use empty array elements in arrays
06-15 02:09:11|INFO; MessageBox, message=There was an error filing the PIREP
[2024-06-15 00:09:11] production.INFO: NotificationEvents::onPirepFile: oO2W3R7Bx1nevbBk filed
[2024-06-15 00:09:11] production.ERROR: Cannot use empty array elements in arrays {“userId”:1,“exception”:"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Cannot use empty array elements in arrays at /var/www/phpvms/modules/DisposableBasic/Services/DB_NotificationServices.php:68)
[stacktrace] #0 {main}
"}
[2024-06-15 00:09:11] production.ERROR: API Error: Cannot use empty array elements in arrays
[2024-06-15 00:12:23] production.INFO: PIREP state update call [{“pirep_id”:“oO2W3R7Bx1nevbBk”,“new_status”:“2”}]