we've been using CiviCRM for several years and we've just recently version 4.7 to 5.8.2, but now we can't use the Batch Data Entry any more. We can create new batches, add entries and save them, but when I press Validate and Process the batch it just displays the batch again.
I guessed that it might be a validation problem and eventually put a log statement to get any errors on form validation. In my test batch there are two entries and this is the error I get:
Form Errors: Array ( [field[payment_instrument]] => Payment Method is a required field. [field[payment_instrument]] => Payment Method is a required field. )
Nothing is displayed on the screen because there isn't a Payment Method--or Payment Instrument--field in the form, so that explains what is going wrong, but not why.
Looking at the DB for past batches, we've never had to specify the Payment Method before, I notice that there is a
payment_instrument_id field on civicrm_batch, but it's optional and null for all our past batches.
How can I make it optional so I don't need to add a field to the form?