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

    IPSec Export: Apple Profile PHP error

    Scheduled Pinned Locked Moved IPsec
    1 Posts 1 Posters 45 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.
    • I
      itBJA
      last edited by

      Hi together,
      I was just trying to export the Mobile-Client VPN for Apple and encountering PHP error:

      Crash report begins.  Anonymous machine information:
      
      amd64
      15.0-CURRENT
      FreeBSD 15.0-CURRENT #0 plus-RELENG_24_03-n256311-e71f834dd81: Fri Apr 19 00:28:14 UTC 2024     root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-24_03-main/obj/amd64/Y4MAEJ2R/var/jenkins/workspace/pfSense-Plus-snapshots-24_03-main/sources/FreeBS
      
      Crash report details:
      
      PHP Errors:
      [18-Jun-2025 09:11:51 Europe/Berlin] PHP Fatal error:  Uncaught TypeError: base64_encode(): Argument #1 ($string) must be of type string, array given in /usr/local/pkg/ipsec-profile.inc:1649
      Stack trace:
      #0 /usr/local/pkg/ipsec-profile.inc(1649): base64_encode()
      #1 /usr/local/pkg/ipsec-profile.inc(1274): iep_generate_ike()
      #2 /usr/local/pkg/ipsec-profile.inc(1870): iep_generate_vpn()
      #3 /usr/local/pkg/ipsec-profile.inc(1928): iep_generate_payload()
      #4 /usr/local/www/vpn_ipsec_profile.php(130): iep_generate_profile()
      #5 {main}
        thrown in /usr/local/pkg/ipsec-profile.inc on line 1649
      

      What am I doing wrong!?

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