- Issue created by @jifernandezs
Automatically closed - issue fixed for 2 weeks with no activity.
When you need to do a batch process to update many entity and the process fail.
You need to have a process batch to update large amount of data and some data is pass a null value in a entity.
you should replace this line:
if ($crop->isNew()) {
to:
if ($crop && $crop instanceof \Drupal\crop\Entity\Crop && $crop->isNew()) {
Fixed
2.1
Other Code
Automatically closed - issue fixed for 2 weeks with no activity.