Upgrade 2.6.0 -> 2.7.0 : Uncaught Error: Call to undefined function g_get() in /etc/inc/config.lib.inc
-
After upgrade to 2.7.0 my pfSense install is basically wedged. I see in the console a stack trace that starts with
Fatal error: Uncaught Error: Call to undefined function g_get() in /etc/inc/config.lib.inc:195
How can I recover?
I can access the shell. -
Your upgrade did not complete successfully. Apparently you still have the older version of the PHP code on your system. The code in the file referenced in your error changed between versions 2.6 and 2.7 of pfSense. So, some of your system got updated, but not everything it would appear because the new
g_get()
function is not on your system.At this point I would copy off your
config.xml
(or access your most recent backup if you have one) and reinstall using a downloaded 2.7.0 CE image.