Project

General

Profile

Actions

Bug #15872

closed
MM MM

PHP error when accessing mail reports

Bug #15872: PHP error when accessing mail reports

Added by Marcos M almost 2 years ago. Updated about 1 year ago.

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

100%

Estimated time:
Plus Target Version:
25.07
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

MM Updated by Marcos M almost 2 years ago Actions #1

  • Description updated (diff)

MM Updated by Marcos M almost 2 years ago Actions #2

  • 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).

MM Updated by Marcos M almost 2 years ago Actions #3

  • % Done changed from 0 to 100

MM Updated by Marcos M almost 2 years ago Actions #4

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

DZ Updated by Danilo Zrenjanin almost 2 years ago Actions #5

  • 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.

JP Updated by Jim Pingle almost 2 years ago Actions #6

  • Plus Target Version changed from 25.01 to 25.03

JP Updated by Jim Pingle about 1 year ago Actions #7

  • Plus Target Version changed from 25.03 to 25.07
Actions

Also available in: Atom