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

Pfsense 2.6 PHP Stack Trace [solved]

Scheduled Pinned Locked Moved OpenVPN
4 Posts 3 Posters 2.1k 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.
  • P
    pete35
    last edited by pete35 Mar 22, 2022, 7:32 PM Mar 19, 2022, 5:41 PM

    PHP errors
    PHP ERROR: Type: 1, File: /etc/inc/openvpn.inc, Line: 2106, Message: Uncaught ArgumentCountError: Too few arguments to function openvpn_kill_client(), 2 passed in /usr/local/www/widgets/widgets/openvpn.widget.php on line 285 and exactly 3 expected in /etc/inc/openvpn.inc:2106
    Stack trace:
    #0 /usr/local/www/widgets/widgets/openvpn.widget.php(285): openvpn_kill_client('server1', 'XX.XX.XX.XX:...')
    #1 {main}
    thrown @ 2022-03-16 11:57:33
    PHP ERROR: Type: 1, File: /etc/inc/openvpn.inc, Line: 2106, Message: Uncaught ArgumentCountError: Too few arguments to function openvpn_kill_client(), 2 passed in /usr/local/www/widgets/widgets/openvpn.widget.php on line 285 and exactly 3 expected in /etc/inc/openvpn.inc:2106
    Stack trace:
    #0 /usr/local/www/widgets/widgets/openvpn.widget.php(285): openvpn_kill_client('server1', 'XX.XX.XX.XX:...')
    #1 {main}
    thrown @ 2022-03-16 11:57:34

    <a href="https://carsonlam.ca">bintang88</a>
    <a href="https://carsonlam.ca">slot88</a>

    G 1 Reply Last reply Mar 22, 2022, 5:39 PM Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Mar 22, 2022, 3:52 PM

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

      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
      • G
        Gertjan @pete35
        last edited by Mar 22, 2022, 5:39 PM

        @pete35

        See also here https://forum.netgate.com/topic/170352/manually-killing-openvpn-connection-in-dashboard-widget-crashes-after-upgrade-to-2-6-0

        The solution is a couple of click away ;)

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        P 1 Reply Last reply Mar 22, 2022, 7:22 PM Reply Quote 0
        • P
          pete35 @Gertjan
          last edited by Mar 22, 2022, 7:22 PM

          @gertjan
          @jimp

          thank you, applied the patch, should work now

          <a href="https://carsonlam.ca">bintang88</a>
          <a href="https://carsonlam.ca">slot88</a>

          1 Reply Last reply Reply Quote 0
          1 out of 4
          • First post
            1/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received