[BUGFIX] Fix PHP warning when attempting to perform string operations on an array