Um, there's no "bug fix" required except to say you're using old code.
See my last post.
V1.3.9 doesn't contain a "date_diff" function, because it was renamed to zen_date_diff.
Evidently your site needs an upgrade, not a bug fix.