Error

Exception - join(): Argument #2 ($array) must be of type ?array, string given