I am getting a similar error on the tools on surface plug in. I uninstalled all plugins and started fresh with the latest libfredo and tools on surface plug in so that no others would interfere. Still the same error. Other plugins from fredo 6 are working correctly.
using 2022. the error messages are attached.
Thanks.