Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Captive portal crashes after upgrading to version 22.05

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 2 Posters 1.2k Views 2 Watching
    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.
    • hugoeyngH
      hugoeyng
      last edited by hugoeyng

      Hello Friends.

      After registering PfSense and upgrading to version 22.05 a crash report is beein showed everytime I log in.

      "PHP Fatal error: Uncaught Error: Call to undefined function pfSense_pf_cp_flush() in /etc/inc/captiveportal.inc:1030"

      Did someone faced the same troble? Any hint about how to fix it?

      Bellow the entire report:
      Crash report begins. Anonymous machine information:

      amd64
      12.3-STABLE
      FreeBSD 12.3-STABLE plus-RELENG_22_05-n202700-3ddaea61055 pfSense

      Crash report details:

      PHP Errors:
      [04-Aug-2022 17:29:58 America/Recife] PHP Fatal error: Uncaught Error: Call to undefined function pfSense_pf_cp_flush() in /etc/inc/captiveportal.inc:1030
      Stack trace:
      #0 /etc/inc/captiveportal.inc(526): captiveportal_passthrumac_delete_entry(Array)
      #1 /etc/inc/captiveportal.inc(414): captiveportal_delete_rules(Array)
      #2 /etc/inc/captiveportal.inc(216): captiveportal_configure_zone(Array)
      #3 /etc/rc.bootup(392): captiveportal_configure()
      #4 {main}
      thrown in /etc/inc/captiveportal.inc on line 1030
      [04-Aug-2022 18:23:16 America/Recife] PHP Fatal error: Uncaught Error: Call to undefined function pfSense_pf_cp_get_eth_pipes() in /etc/inc/captiveportal.inc:1660
      Stack trace:
      #0 /etc/inc/captiveportal.inc(1021): captiveportal_get_dn_passthru_pipes('00:15:17:1e:ee:...')
      #1 /etc/inc/captiveportal.inc(526): captiveportal_passthrumac_delete_entry(Array)
      #2 /etc/inc/captiveportal.inc(503): captiveportal_delete_rules(Array, NULL)
      #3 /etc/inc/captiveportal.inc(235): captiveportal_init_rules(NULL)
      #4 /usr/local/www/services_captiveportal.php(505): captiveportal_configure_zone(Array, NULL)
      #5 {main}
      thrown in /etc/inc/captiveportal.inc on line 1660
      [04-Aug-2022 18:23:31 America/Recife] PHP Fatal error: Uncaught Error: Call to undefined function pfSense_pf_cp_flush() in /etc/inc/captiveportal.inc:1030
      Stack trace:
      #0 /etc/inc/captiveportal.inc(526): captiveportal_passthrumac_delete_entry(Array)
      #1 /etc/inc/captiveportal.inc(414): captiveportal_delete_rules(Array)
      #2 /usr/local/www/services_captiveportal.php(505): captiveportal_configure_zone(Array, NULL)
      #3 {main}
      thrown in /etc/inc/captiveportal.inc on line 1030

      No FreeBSD crash data found.

      I love pfSense!

      Hugo Eyng
      Datamais Sistemas

      GertjanG 1 Reply Last reply
      Reply Quote 0
      • GertjanG
        Gertjan @hugoeyng
        last edited by

        @hugoeyng said in Captive portal crashes after upgrading to version 22.05:

        pfSense_pf_cp_flush()

        That function, like many other pfSense_xxxxx functions, is code written in C, and integrated into PHP. Most of them handle the 'pf' firewall directly.

        I advise you to do a clean re install.

        No "help me" PM's please. Use the forum, the community will thank you.

        hugoeyngH 1 Reply Last reply
        Reply Quote 1
        • hugoeyngH
          hugoeyng @Gertjan
          last edited by

          @gertjan I ran pfsense-upgrade -y and it is working now.
          Thank you.

          I love pfSense!

          Hugo Eyng
          Datamais Sistemas

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
          Privacy Policy · Cookie Policy