Fix: implode(): Invalid arguments passed