Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Email Reports WebGUI crashes February 2025

    Scheduled Pinned Locked Moved pfSense Packages
    5 Posts 2 Posters 184 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mtarboxM
      mtarbox
      last edited by mtarbox

      Re: Email Reports WebGUI crashes when trying to edit the reports

      This issue is still happening. I uninstalled, re-installed, and followed the link to the github diff file, and placed the changes in there. No dice.

      4200/24.11-RELEASE /System_Patches 2.2.20_1/all patches applied
      Here is line 44:
      $a_cmds = $a_mailreports['cmd']['row'];

      Crash report begins. Anonymous machine information:

      amd64
      15.0-CURRENT
      FreeBSD 15.0-CURRENT #0 plus-RELENG_24_11-n256407-1bbb3194162: Fri Nov 22 05:08:46 UTC 2024 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-24_11-main/obj/amd64/AKWlAIiM/var/jenkins/workspace/pfSense-Plus-snapshots-24_11-main/sources/FreeBS

      Crash report details:

      PHP Errors:
      [18-Feb-2025 13:19:21 America/New_York] 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

      No FreeBSD crash data found.

      Si vis pacem, para pactum.

      1 Reply Last reply Reply Quote 0
      • mtarboxM
        mtarbox
        last edited by

        Eh, I fixed it. Pulled that specific patch into the system and applied it.

        Took me some time to figure it out. I didn't realize that you could pull a .diff patch file in and apply it.

        Si vis pacem, para pactum.

        GertjanG 1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan @mtarbox
          last edited by

          @mtarbox said in Email Reports WebGUI crashes February 2025:

          Took me some time to figure it out. I didn't realize that you could pull a .diff patch file in and apply it.

          You pulled in what patch manually ?
          What package ?
          I think I know which one, but some one else will try to patch software that doesn't exist on his pfSense.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          mtarboxM 1 Reply Last reply Reply Quote 0
          • mtarboxM
            mtarbox @Gertjan
            last edited by mtarbox

            @Gertjan this one. https://github.com/pfsense/FreeBSD-ports/commit/c49098e2900a9211de44dc0b9937235ce9d638a2.diff

            I pulled and applied it and woke up to an email report this morning.
            This patch did not show up in patches at all. I rebooted post patch and was able to create a mail report and make selections.

            Si vis pacem, para pactum.

            GertjanG 1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan @mtarbox
              last edited by

              @mtarbox said in Email Reports WebGUI crashes February 2025:

              https://github.com/pfsense/FreeBSD-ports/commit/c49098e2900a9211de44dc0b9937235ce9d638a2.diff

              Ah, ok, the pfSense-pkg-mailreport package.

              fe37f9ae-869e-4abe-ae82-918dfe2d5ac7-image.png

              Package make less - or, AFAIK, not use of the patches system.
              If a patch exists fro them, then package is rebuild and you are proposed to update it.

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • GertjanG Gertjan referenced this topic on
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.