Fixed issue #6: undefined value error handling in _functions.php