Error save Payment
self hostet ubuntu 20.04.2 LTS | apache 2.4.41 | mariaDB: 8.0.25-0ubuntu0.20.04.1 | PHP 7.4.3 | Wordpress 5.8 Aktuelles Theme: Shapely Child (Version 1.0) Aktuelles Plugin: CiviCRM (Version 5.39.0)
I have created a membership on 15.6. with start 01.07. this has the status Pending because no payment has been saved yet. If I now want to save a payment comes the following error:
Fehler-Details
Ein Fehler vom Typ E_ERROR wurde in der Zeile 451 der Datei /var/www/nerdcast/wp-content/plugins/civicrm/civicrm/CRM/Financial/BAO/Payment.php verursacht. Fehlermeldung: Uncaught Error: Call to undefined function bccomp() in /var/www/nerdcast/wp-content/plugins/civicrm/civicrm/CRM/Financial/BAO/Payment.php:451
Stack trace:
#0 /var/www/nerdcast/wp-content/plugins/civicrm/civicrm/CRM/Financial/BAO/Payment.php(42): CRM_Financial_BAO_Payment::isPaymentCompletesContribution()
#1 /var/www/nerdcast/wp-content/plugins/civicrm/civicrm/api/v3/Payment.php(144): CRM_Financial_BAO_Payment::create()
#2 /var/www/nerdcast/wp-content/plugins/civicrm/civicrm/Civi/API/Provider/MagicFunctionProvider.php(89): civicrm_api3_payment_create()
#3 /var/www/nerdcast/wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(149): Civi\API\Provider\MagicFunctionProvider->invoke()
#4 /var/www/nerdcast/wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(81): Civi\API\Kernel->runRequest()
#5 /var/www/nerdcast/wp-content/plugins/civicrm/civicrm/api/api.php(132): Civi\API\Kernel->runSafe()
#6 /var/www/nerdcast/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Form/AdditionalPayment.php(331): civicrm_api3()
#7