[FIX] Prefdoc: Warning: foreach() argument must be of type array|object, null given
I modified the code to handle the warning that appears in case the docFiles variable is NULL
Here is the glitchtip link: https://app.glitchtip.com/evoludata/issues/2378946