Navigation

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

    SG-3100 23.01 update causes PHP error in system logs settings

    Official Netgate® Hardware
    3
    7
    98
    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.
    • J
      jch last edited by

      Hello,
      After upgrading from 22.05 to 23.01 the following message appears when I try to access menu 'Status / System Logs / Settings' :

      Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/status_logs_settings.php:72 Stack trace: #0 {main} thrown in /usr/local/www/status_logs_settings.php on line 72 PHP ERROR: Type: 1, File: /usr/local/www/status_logs_settings.php, Line: 72, Message: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/status_logs_settings.php:72 Stack trace: #0 {main} thrown
      

      What i did :

      Reinstalled firmware 23.01 with the USB key but the problem remains
      Is there a patch available?

      Thanks :)

      M JonathanLee 2 Replies Last reply Reply Quote 0
      • M
        mcury @jch last edited by mcury

        @jch You are probably hitting this https://redmine.pfsense.org/issues/13981

        Install System Patches from Package Manager and apply the patches.

        You can read more about it here:
        https://forum.netgate.com/topic/178792/system-patches-package-version-2-2

        "If the world is against the truth, I'm against the world".
        Athanasius of Alexandria

        J 1 Reply Last reply Reply Quote 0
        • J
          jch @mcury last edited by

          @mcury Thanks, but this is unrelated to the issue I'm experiencing that affects the system logs settings.

          M 1 Reply Last reply Reply Quote 0
          • M
            mcury @jch last edited by

            @jch

            Hm, maybe this one?

            https://redmine.pfsense.org/issues/13942

            It seems that to fix it, you just need to check the syslog part in the configuration.
            Check this link:

            https://forum.netgate.com/topic/177633/logs-not-updating-on-23-01

            "If the world is against the truth, I'm against the world".
            Athanasius of Alexandria

            1 Reply Last reply Reply Quote 1
            • JonathanLee
              JonathanLee @jch last edited by JonathanLee

              @jch I think they have a system patch for this if you can get it installed via the patch package under recommend. I remember seeing a php for status page patch.

              Screenshot_20230317-074234.png

              1 Reply Last reply Reply Quote 0
              • J
                jch last edited by

                @mcury Thanks ! removing syslog tags resolved this issue.

                M 1 Reply Last reply Reply Quote 1
                • M
                  mcury @jch last edited by

                  @jch said in SG-3100 23.01 update causes PHP error in system logs settings:

                  @mcury Thanks ! removing syslog tags resolved this issue.

                  Good to hear that

                  "If the world is against the truth, I'm against the world".
                  Athanasius of Alexandria

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post