I'm getting this error, too. vim worked fine when I first installed it via Nerdtools. After a reboot, I get the exact same error:
# vim blah
vim: symbol lookup error: vim: undefined symbol: PL_current_context
I'm on Unraid 6.12.4 (the latest version, I think).