Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Error Adding Payment to Invoice

Michael Aleman   ( User )

Commented 4 years ago

When I try to add a payment, I click save and nothing happens. I turned on debug and received the following error:
[15:17:53] LOG.error: Call to undefined function App\Jobs\Banking\bccomp() {"userId":1,"exception":{}}

I am running version 2.0.15 on a self hosted system (LAMP).
Any help is appreciated!

Denis Dulici   ( Admin )

Commented 4 years ago

Hello,

Make sure that BC Math extension of PHP is installed on your server.

Regards

Michael Aleman   ( User )

Commented 4 years ago

That was the problem! I installed the BC Math extension on Ubuntu using the following commands (I am using PHP version 7.4):
sudo apt install php7.4-bcmath
sudo apache2ctl restart

Thanks for the help!

Please login or register to leave a response.

Showing 1 to 3 of 3 discussions