Code worked fine locally but threw an error on the server: "unexepcted [".