In previous QGIS releases, only string values of the format 'x,y' would be permitted for data-defined symbol and label offsets. We've listened to user feedback that this was confusing, and in QGIS 3.10 we now allow arrays of numbers as a valid expression result for offsets. E.g. "array(3,5)".