OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Uncaught Error: Call to undefined function encrypt_data()
« previous next »
  • Print
Pages: [1]

Author Topic: Uncaught Error: Call to undefined function encrypt_data()  (Read 3600 times)

kingfisher77

  • Newbie
  • *
  • Posts: 26
  • Karma: 2
    • View Profile
Uncaught Error: Call to undefined function encrypt_data()
« on: May 26, 2018, 03:42:01 pm »
Since update to 18.1.8-ef579d069 these error message appears in the GUI:

Code: [Select]
Unfortunately we have detected at least one programming bug.

User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36
FreeBSD 11.1-RELEASE-p10  a6fa9599a(stable/18.1)
OPNsense 18.1.8-ef579d069 [18.1.6-1ba9a4da3] OpenSSL 1.0.2o  27 Mar 2018 (amd64)
Plugins os-clamav-1.5 os-postfix-1.2
Time Sat, 26 May 2018 15:35:28 +0200

[21-May-2018 01:00:00 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to undefined function encrypt_data() in /usr/local/etc/inc/config.inc:318
Stack trace:
#0 /usr/local/opnsense/scripts/remote_backup.php(8): backup_to_google_drive()
#1 {main}
  thrown in /usr/local/etc/inc/config.inc on line 318
[22-May-2018 01:00:00 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to undefined function encrypt_data() in /usr/local/etc/inc/config.inc:318
Stack trace:
#0 /usr/local/opnsense/scripts/remote_backup.php(8): backup_to_google_drive()
#1 {main}
  thrown in /usr/local/etc/inc/config.inc on line 318
[23-May-2018 01:00:00 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to undefined function encrypt_data() in /usr/local/etc/inc/config.inc:318
Stack trace:
#0 /usr/local/opnsense/scripts/remote_backup.php(8): backup_to_google_drive()
#1 {main}
  thrown in /usr/local/etc/inc/config.inc on line 318
[24-May-2018 01:00:00 Europe/Berlin] PHP Fatal error:  Uncaught Error: Call to undefined function encrypt_data() in /usr/local/etc/inc/config.inc:318
Stack trace:
#0 /usr/local/opnsense/scripts/remote_backup.php(8): backup_to_google_drive()
#1 {main}
[...]
a.s.o.

The backup to Google Drive is not working anymore. Has something changed?
Logged

kingfisher77

  • Newbie
  • *
  • Posts: 26
  • Karma: 2
    • View Profile
Re: Uncaught Error: Call to undefined function encrypt_data()
« Reply #1 on: May 26, 2018, 03:45:01 pm »
Manual backup from System/Configuration/Backup works fine.
Logged

kjp4756

  • Newbie
  • *
  • Posts: 4
  • Karma: 2
    • View Profile
Re: Uncaught Error: Call to undefined function encrypt_data()
« Reply #2 on: May 26, 2018, 06:06:18 pm »
I'm seeing this as well.  I just created this account to post about this problem and saw this post so I'll just keep an eye on it instead of making another.
Logged

DanMc85

  • Jr. Member
  • **
  • Posts: 68
  • Karma: 3
    • View Profile
Re: Uncaught Error: Call to undefined function encrypt_data()
« Reply #3 on: May 26, 2018, 06:26:16 pm »
Same issue here... when my OPNSense does its nightly backups to Google Drive.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13957
  • Karma: 1210
    • View Profile
Re: Uncaught Error: Call to undefined function encrypt_data()
« Reply #4 on: May 28, 2018, 11:11:14 am »
A backport went wrong. The error unfortunately is not present in stable/18.1 and master, only 18.1.8: https://github.com/opnsense/core/commit/24fd1307

Patching doesn't work here, but 18.1.9 is out this week to fix it. Manual backup works for now.


Sorry,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Uncaught Error: Call to undefined function encrypt_data()
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2