Project

General

Profile

Actions

Bug #15872

closed

PHP error when accessing mail reports

Added by Marcos M about 1 month ago. Updated 24 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Mail report
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
25.03
Affected Version:
2.8.0
Affected Plus Version:
24.11
Affected Architecture:
All

Description

Crash report begins. Anonymous machine information:

15.0-CURRENT
24.11.r.20241112.1813

Crash report details:

PHP Errors:
[14-Nov-2024 16:41:25 America/Los_Angeles] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/status_mail_report_edit.php:44
Stack trace:
#0 {main}
thrown in /usr/local/www/status_mail_report_edit.php on line 44
[14-Nov-2024 16:41:29 America/Los_Angeles] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/status_mail_report_edit.php:44

No FreeBSD crash data found.

Originally reported here:
https://forum.netgate.com/topic/190954/email-reports-webgui-crashes-when-trying-to-edit-the-reports

Actions #1

Updated by Marcos M about 1 month ago

  • Description updated (diff)
Actions #2

Updated by Marcos M about 1 month ago

  • Status changed from New to Feedback
  • Target version set to 2.8.0
  • Plus Target Version set to 25.01
  • Affected Version set to 2.8.0
  • Affected Plus Version set to 24.11
  • Affected Architecture All added

Fixed with c49098e2900a9211de44dc0b9937235ce9d638a2. The diff can be applied with the System Patches package (set strip count to 4).

Actions #3

Updated by Marcos M about 1 month ago

  • % Done changed from 0 to 100
Actions #4

Updated by Marcos M about 1 month ago

  • Subject changed from PHP error when accessing report schedules to PHP error when accessing mail reports
Actions #5

Updated by Danilo Zrenjanin about 1 month ago

  • Status changed from Feedback to Resolved

tested against:

25.01-DEVELOPMENT (amd64)
built on Thu Dec 5 6:00:00 UTC 2024
FreeBSD 15.0-CURRENT

It was able to edit an existing report.

It's fixed.

Actions #6

Updated by Jim Pingle 24 days ago

  • Plus Target Version changed from 25.01 to 25.03
Actions

Also available in: Atom PDF