Undefined function while restoring config from older version
While restoring a 2.1.x config to a fresh 2.4.2 install, it fails with:
PHP Fatal error: Call to undefined function restore_rrd()
Offending line of code is:
Looks like commit 257d2fd6750185a52b703cffd9419737f83777ee removed restore_rrd function, but didn't remove all the callers in upgrade_config.inc .
removed line "<use_mfs_tmpvar/>" from the config allowed me to import the old config.
Then re-enable "Use memory file system for /tmp and /var" under System > Advanced > Miscellaneous.