Issue #3527315 by pwolanin: Use defensive coding to prevent warning 'Trying to access array offset on value of type null' when configuration is not updated correctly.