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

Import Aliases PHP crash!

Scheduled Pinned Locked Moved Firewalling
5 Posts 3 Posters 590 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.
  • T
    trking
    last edited by Feb 28, 2023, 2:04 PM

    Hey folks,

    Driving me crazy, I've a very long list of IP's/Subnets to import.
    When attempting to even add a basic one line it crashes out.

    Latest build of pfsense+ 23.01-RELEASE (amd64)

    Bombs out:

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

    Huge show stopper. Anyone else having similar issues?
    Here's super basic test.. nope, doesn't work.

    Pleeease help!Screenshot 2023-02-28 at 13.59.32.png

    G 1 Reply Last reply Feb 28, 2023, 2:32 PM Reply Quote 0
    • G
      Gertjan @trking
      last edited by Feb 28, 2023, 2:32 PM

      @trking

      I've tested with this :

      48790964-8be1-487d-a56b-38960667313c-image.png

      and I hit Save.

      Then I saw :

      551cd102-8f5f-4d44-83dd-c3786def8136-image.png

      I also tried to 'import' 1.1.1.1 - no issues neither.

      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
      • T
        trking
        last edited by Feb 28, 2023, 2:33 PM

        Well quite, that's the desired effect - clearly not the case for me!

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Feb 28, 2023, 7:44 PM

          Someone else reported this last week and I could reproduce it here:
          https://redmine.pfsense.org/issues/14013

          I committed a fix last week as well, you can install the System Patches package and then create an entry for 290b3461bb816e9fc161568e499d43b24542cb9f to apply the fix.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          T 1 Reply Last reply Mar 1, 2023, 1:12 PM Reply Quote 0
          • T
            trking @jimp
            last edited by Mar 1, 2023, 1:12 PM

            @jimp Bravo - You sir, are a STAR! thanks so much.

            I did end up exporting the alias backup.. then copy/pasting the entries. But I'm thankful you've fixed it now. Makes life easier going forward.

            :-)

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received