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

    PHP error on 2.3.2 update

    Scheduled Pinned Locked Moved Development
    4 Posts 4 Posters 2.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.
    • D
      ddaniel51
      last edited by

      Getting this crash report after last update.

      FreeBSD 10.3-RELEASE-p5 #127 0523c9e(RELENG_2_3): Sat Jun 25 05:34:41 CDT 2016    root@ce23-amd64-builder:/builder/pfsense/tmp/obj/builder/pfsense/tmp/FreeBSD-src/sys/pfSense

      Crash report details:

      PHP Errors:
      [25-Jun-2016 20:32:42 MST] PHP Fatal error:  Cannot redeclare interfaces_bring_up() (previously declared in /etc/inc/interfaces.inc:63) in /etc/inc/interfaces.inc on line 63
      [25-Jun-2016 20:32:42 MST] PHP Stack trace:
      [25-Jun-2016 20:32:42 MST] PHP  1. {main}() /usr/local/bin/dhcpd_gather_stats.php:0
      [25-Jun-2016 20:33:44 MST] PHP Fatal error:  Cannot redeclare interfaces_bring_up() (previously declared in /etc/inc/interfaces.inc:63) in /etc/inc/interfaces.inc on line 63

      1 Reply Last reply
      Reply Quote 0
      • J
        JorgeOliveira
        last edited by

        PR submitted:
        https://github.com/pfsense/pfsense/pull/3021

        Edit: /usr/local/bin/dhcpd_gather_stats.php
        Find:```
        require("interfaces.inc");

        Replace with:```
        require_once("interfaces.inc");
        

        And error will not happen again.

        My views have absolutely no warranty express or implied. Always do your own research.

        1 Reply Last reply
        Reply Quote 0
        • T
          thallam08
          last edited by

          Issue is still there in 2.3.3 and 2.3.3_p1

          1 Reply Last reply
          Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            @thallam08:

            Issue is still there in 2.3.3 and 2.3.3_p1

            Not really, don't necropost.

            https://github.com/pfsense/pfsense/blob/RELENG_2_3/src/usr/local/bin/dhcpd_gather_stats.php

            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