CiviCRM 5.51.3, Drupal 7.92, Webform 7.x-4.24, Webform-CiviCRM integration 7.x-5.8.
Since the upgrade from 5.45.7 to 5.51.3, we have been unable to submit a donation successfully via a webform. These are the two errors that result:
The CiviCRM "line_item create" API returned the error: "One of parameters (value: ) is not of the type Integer" when called by function "postSave" on line 234 of wf_crm_webform_postprocess.inc with parameters: "Array ( [qty] => 1 [unit_price] => 2.7 [financial_type_id] => 1 [label] => Contribution Amount [element] => civicrm_1_contribution_1 [entity_table] => civicrm_contribution [line_total] => 2.7 [entity_id] => 62880 [contribution_id] => 62880 [price_field_id] => 915 [check_permissions] => [version] => 3 ) "
TypeError: CRM_Financial_BAO_Order::getPriceSetID(): Return value must be of type int, null returned in CRM_Financial_BAO_Order->getPriceSetID() (line 461 of /var/www/wwwadmin/data/www/XXXXXXXX/sites/all/modules/civicrm/CRM/Financial/BAO/Order.php).
Per other questions/answers posted here on SE, I've checked to confirm that:
a) the financial type in question is correctly tied to the appropriate accounts (it is)
b) all line items have a populated price_field_value_id field (they do)
c) the default contribution price field, price field value, and price set exist (they do)
I'm stumped as to where to go next with this. Any ideas/suggestions would be most welcome.