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

    Captive portal crashes after upgrading to version 22.05

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 2 Posters 746 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.
    • 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.
        Edit : and where are the logs ??

        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
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.