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

    Dashboard Widget Error

    Scheduled Pinned Locked Moved webGUI
    3 Posts 2 Posters 206 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.
    • B Offline
      beloc
      last edited by

      Hello,

      When I try to load the dashboard, I am getting the following error and it will not load. All other pages load fine, but the dashboard shows an error. How can I remove the widget that is causing the issue?


      amd64
      16.0-CURRENT
      FreeBSD 16.0-CURRENT #7 plus-RELENG_25_11_1-n256519-3d5e07ee0abe: Mon Jan 19 17:34:47 UTC 2026 root@pfsense-build-release-amd64-1.eng.atx.netgate.com:/var/jenkins/workspace/pfSense-Plus-snapshots-25_11_1-main/obj/amd64/8uazGBdh/var/jenkins/workspace/p

      Crash report details:

      PHP Errors:
      [18-Mar-2026 03:08:29 America/New_York] PHP Fatal error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in /usr/local/www/widgets/widgets/traffic_graphs.widget.php:117
      Stack trace:
      #0 /usr/local/www/widgets/widgets/traffic_graphs.widget.php(117): explode()
      #1 /usr/local/www/index.php(542): include('/usr/local/www/...')
      #2 {main}
      thrown in /usr/local/www/widgets/widgets/traffic_graphs.widget.php on line 117
      [18-Mar-2026 09:44:16 America/New_York] PHP Fatal error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in /usr/local/www/widgets/widgets/traffic_graphs.widget.php:117
      Stack trace:
      #0 /usr/local/www/widgets/widgets/traffic_graphs.widget.php(117): explode()
      #1 /usr/local/www/index.php(542): include('/usr/local/www/...')
      #2 {main}
      thrown in /usr/local/www/widgets/widgets/traffic_graphs.widget.php on line 117

      No FreeBSD crash data found.

      cda7649c-6c97-4928-8350-7317b1c72c7a-image.png

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

        @beloc

        What I would do :

        As
        /usr/local/www/widgets/widgets/traffic_graphs.widget.php
        fails, disable it.

        Rename
        /usr/local/www/widgets/widgets/traffic_graphs.widget.php
        to
        /usr/local/www/widgets/widgets/traffic_graphs.widgetx.php

        and now the dashboard loads.
        remove a random widget, and add it back in again, so the main config.xml get recreated with the current set of shown widgets.
        Now, rename /usr/local/www/widgets/widgets/traffic_graphs.widgetx.php back to the original name.


        Plan B :
        Open the config.xml file with a decent text editor (Notepad++).
        Locate

        2f8644fe-0671-488f-bab8-53ce694dbc43-image.png /usr/local/www/widgets/widgets/traffic_graphs.widgetx.php

        In the <widgets> ....... </widgets>, locate the settings of <traffic_graphs> .... </traffic_graphs>
        and remove it :

        cdede32a-43b2-43d2-98c7-97912927c549-image.png

        so remove these 8 lines.
        Save.
        Import the config back into pfSense.
        This will reset all widget settings to 'default'.

        Btw : in the <sequence> ... </sequence> line, remove also :

        0005ad6b-9590-4510-8416-f3a864996c2e-image.png

        so remove :

        ,traffic_graphs:col2:open:0
        

        save and Import.
        This will inhibit the widget from loading and shown.

        Maybe there is a cleaner "click here and issue solved" solution. I didn't apply the RTFM method neither.

        And yes, if you didn't know already : console or SSH access is worth gold ^^

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

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          beloc @Gertjan
          last edited by

          @Gertjan Thank you. I removed the file, and it loads. I copied the file from a working router (same version) and got the same error. But for now, I can use the dashboard. I will look deeper into why even a new file causes the issue.

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