Issue #2883388 by qzmenko, andrey.troeglazov: Fatal error: Call to undefined function term_permissions_allowed()