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

    2.6->2.7 PHP Error in status_traffic_totals

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 517 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.
    • J
      jhg-goow
      last edited by

      Upgraded from 2.6 to 2.7, everything seems to be working, but I have this error logged during the upgrade process.

      PHP ERROR: Type: 1, File: /usr/local/pkg/status_traffic_totals.inc, Line: 189, Message: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/status_traffic_totals.inc:189
      Stack trace:
      #0 /usr/local/pkg/status_traffic_totals.inc(76): vnstat_portlist()
      #1 /usr/local/pkg/status_traffic_totals.inc(226): vnstat_create_nic_dbs()
      #2 /etc/inc/pkg-utils.inc(709) : eval()'d code(1): vnstat_sync()
      #3 /etc/inc/pkg-utils.inc(709): eval()
      #4 /etc/rc.start_packages(66): sync_package('Traffic Totals')
      #5 {main}
      thrown @ 2023-09-25 19:46:42
      

      Is this benign, or something to troubleshoot?

      1 Reply Last reply Reply Quote 0
      • jimpJ jimp moved this topic from Problems Installing or Upgrading pfSense Software on
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        That error was probably from when the package was being removed. That particular error has been fixed in the 2.7.0 package for quite a long time:

        https://redmine.pfsense.org/issues/13775

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