Gallery one

TypeError thrown

implode(): Argument #1 ($array) must be of type array, string given