Hi Meth,
I have never used LibreNMS but I know what this error means. It means
that on the system with Bacularis you need to install the php-bcmath
package. Normally it is installed together with Bacularis as the
Bacularis dependency but in this case it looks that something has
happened with the PHP BCmath module that is absent (or disabled)
I would propose to check if the php-bcmath package is installed first.
If it isn't, please install it. If it is, please check in the PHP
settings if this extension is enabled.
For PHP versions, Bacularis works with 7.4 the same well as with PHP
8.1, so there can be used any of them.
Best regards,
Marcin Haba (gani)