Error Column 'qc_frequency' cannot be null appears when try Produce items

After updating Dolibarr to version 19, I’m having problems with MRP production module. When trying to confirm the production, the error “Error Column ‘qc_frequency’ cannot be null” appears.
This happens only for products I need to put in a lot/series (when I fill out the lot field).
We already checked all data in the quality control column for every product item and found no empty fields.
Has anyone found the same issue?

My setup is:
PHP version 8.0
MySql version 5.7.33
Dolibarr 19.0.2

What I did to solve it, in case anyone else is having the same issue:

I entered the llxx_product_lot’s column qc_frequency into the MySQL database and set it to NULL.

I can thus use the code normally and error-free even though it still has issues.