Issue #3503223: Field preprocess makes broad assumptions about data structure, triggering fatal errors in PHP 8
Closes #3503223