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

    Help debugging PHP Errors

    Scheduled Pinned Locked Moved General pfSense Questions
    13 Posts 3 Posters 1.3k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Hmm actually both are from the notice but the fact it's throwing a notice of 'no config' is indeed alarming. Like it failed to import the config or is unable to open the file.

      Other than the crash report does the restored config appear to be there?

      U 1 Reply Last reply Reply Quote 0
      • U
        underqualifieditguy @stephenw10
        last edited by

        @stephenw10 yes, once I restore the backup it comes up with all of the config as normal. I will run the filesystem check when I get back home today but it operates normally once it’s fully booted. The backup should be from the same version, the initial crash happened a few weeks after I upgraded and I only found out when I went to do maintenance on it and it hung on boot so when I restored the backup, it was from only a couple of days before (well after the upgrade).

        I don’t have any problem reinstalling or even changing out the SSD as long as I’ll be able to get my configuration back :)

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          It's running 2.7.2 currently?

          GertjanG U 2 Replies Last reply Reply Quote 0
          • GertjanG
            Gertjan @stephenw10
            last edited by

            @stephenw10

            Copied from his initial post :

            afb3ac41-a86d-450f-835e-690d4fc610f7-image.png

            So : yes .... (?!)

            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 1
            • U
              underqualifieditguy @stephenw10
              last edited by

              @stephenw10 said in Help debugging PHP Errors:

              It's running 2.7.2 currently?

              Yep!

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Does the imported config have a <notifications> section?

                U 1 Reply Last reply Reply Quote 0
                • U
                  underqualifieditguy @stephenw10
                  last edited by

                  @stephenw10 Nope! I searched the config and there is no notifications section :(

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Hmm, are you able to upload that config to us to test/review?

                    U 1 Reply Last reply Reply Quote 0
                    • U
                      underqualifieditguy @stephenw10
                      last edited by underqualifieditguy

                      @stephenw10 let me check what needs to be scrubbed tonight and then I can. Also planning on running the filesystem check tonight, the wife and I both WFH so wasn’t able to take it down during the day.

                      I honestly wouldn’t be surprised if there are bad blocks, it’s a cheap SSD I bought years ago and I think I want to switch to ZFS anyway which just means I’d have to grab a couple of more robust new SSD’s.

                      1 Reply Last reply Reply Quote 1
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Ok you're hitting this but with a slightly different underlying error: https://redmine.pfsense.org/issues/15157

                        In both cases the config file is somehow unreadable and the error/notice generated is calling badly creating those PHP errors. That's masking the real problem.

                        Try resaving the Sys > Adv > Notifications page so the config does have a notifications section if you can. That may workaround the error so you can see the real issue.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.