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

    Squidguard Menu MISSING after 23.01 update

    Scheduled Pinned Locked Moved Cache/Proxy
    8 Posts 2 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.
    • forgekeeperF
      forgekeeper
      last edited by

      This is my first time posting here, please move my post if this isn't the right category.

      Anyways, after waiting for quite some time, I tried to update our Netgate 6100.

      Everything went smoothly, except with squidguard. The menu is missing (already did re-install but still no luck).

      Below is the notification and error:

      PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/squidguard.inc:1193
      Stack trace:
      #0 /usr/local/pkg/squidguard.inc(1047): convert_pfxml_to_sgxml_time(Array)
      #1 /usr/local/pkg/squidguard.inc(93): convert_pfxml_to_sgxml()
      #2 /etc/inc/pkg-utils.inc(691): require_once('/usr/local/pkg/...')
      #3 /etc/rc.start_packages(66): sync_package('squidGuard')
      #4 {main}
        thrown in /usr/local/pkg/squidguard.inc on line 1193
      PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/squidguard.inc:1193
      Stack trace:
      #0 /usr/local/pkg/squidguard.inc(1047): convert_pfxml_to_sgxml_time(Array)
      #1 /usr/local/pkg/squidguard.inc(93): convert_pfxml_to_sgxml()
      #2 /usr/local/www/pkg_edit.php(57): require_once('/usr/local/pkg/...')
      #3 {main}
        thrown in /usr/local/pkg/squidguard.inc on line 1193
      

      Is there any fix to it? The squidguard seems to be working fine, but I can no longer make any changes to its configuration.

      1 Reply Last reply Reply Quote 0
      • JonathanLeeJ
        JonathanLee
        last edited by

        @forgekeeper Try to resave the Squid proxy config and also the reverse proxy settings even if you are not using it. After try to save the Squidguard settings again. I had missing area of configuration because something got bonked up and after the section in my Squid config for reverse proxy settings were flat missing a whole block of it and it requires it even if the reverse proxy was not in use. I had to resave reverse proxy settings as disabled just to get the PHP errors to stop doing uncaught issues.

        Make sure to upvote

        forgekeeperF 1 Reply Last reply Reply Quote 0
        • forgekeeperF
          forgekeeper @JonathanLee
          last edited by

          Resave Squid and Squid Reverse Proxy but still, I can't see the Squidguard Menu under Services. Should I reinstall it after resaving the Squid and Reverse Proxy?

          JonathanLeeJ 2 Replies Last reply Reply Quote 0
          • JonathanLeeJ
            JonathanLee @forgekeeper
            last edited by

            @forgekeeper yes give it a try.

            Make sure to upvote

            1 Reply Last reply Reply Quote 0
            • JonathanLeeJ
              JonathanLee @forgekeeper
              last edited by

              @forgekeeper https://forum.netgate.com/topic/178036/23-01-squid-issue/15?_=1677719332904

              This was the issue I had, I am sure something is Missing from the config in Squidguard because that is what is having the issue with uncaught errors. Mine was with Squid Proxy. See above, this seems similar, you need to delete the Squidguard config saved on your device and reinstall Squidguard I bet, after reapply the old working configuration prior to update

              Make sure to upvote

              forgekeeperF 1 Reply Last reply Reply Quote 0
              • forgekeeperF
                forgekeeper @JonathanLee
                last edited by

                @jonathanlee Yup, I did resave the squid and reverse proxy config. Did the reinstall in squidguard (still showing that error). Went to squid and reverse proxy to do resave again. Checked the console (squidGuard is running), checked the Menu > Services > (no squidguard).

                Also, same error. I think this has something to do with the PHP update and its compatibility. There is one ticket that I am monitoring now:
                https://redmine.pfsense.org/issues/13978?tab=history

                JonathanLeeJ 1 Reply Last reply Reply Quote 0
                • jimpJ jimp moved this topic from Problems Installing or Upgrading TNSR Software on
                • JonathanLeeJ
                  JonathanLee @forgekeeper
                  last edited by

                  @forgekeeper Dang it was worth a try. Sorry it did not fix your issue

                  Make sure to upvote

                  1 Reply Last reply Reply Quote 0
                  • forgekeeperF
                    forgekeeper
                    last edited by

                    This has been FIXED after updating to the latest version 23.05.

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