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

    ACME 0.6.9_1 PHP ERROR - redeclare route_get_default

    Scheduled Pinned Locked Moved ACME
    5 Posts 3 Posters 594 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.
    • D
      dburman
      last edited by

      Renewing certificate

      Fatal error: Cannot redeclare pfsense_pkg\acme\route_get_default() (previously declared in /usr/local/pkg/acme/acme.inc:1566) in /usr/local/pkg/acme/acme.inc on line 1566
      PHP ERROR: Type: 1, File: /usr/local/pkg/acme/acme.inc, Line: 1566, Message: Cannot redeclare pfsense_pkg\acme\route_get_default() (previously declared in /usr/local/pkg/acme/acme.inc:1566)

      Attempting to generate a cert with method = 'DNS-Namecheap' for an A record and multiple CNAME records.
      Example: fun.com (A record) extra.fun.com (CNAME) not.fun.com (CNAME) terrible.fun.com (CNAME)

      Had no problems in the past on the previous versions.

      1 Reply Last reply Reply Quote 0
      • B
        blackbinary
        last edited by

        Same Error here. This package Update broke my DNS01-Namecheap setup. I hope we get a Fix soon.

        1 Reply Last reply Reply Quote 0
        • B
          blackbinary
          last edited by blackbinary

          I fixed it for me. The problem was the change from here : https://github.com/pfsense/FreeBSD-ports/commit/52dc75765cf5610985a2a6ba175f7e67714800c8

          rolled back the chnage he did related to namecheap on my local file an now it works again πŸ‘

          hope that helps

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            It worked OK for me here when I tested it on 2.4.5, but I can see how it might end up in that situation. I pushed another fix which should eliminate that error.

            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!

            1 Reply Last reply Reply Quote 0
            • D
              dburman
              last edited by

              0.6.9_2 Fixed my problem! Thanks for such a fast turn around!

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