How can I enable command blocks on a single player world?

Is it possible that you are in 1.11 and the map was made for 1.10 or earlier? 1.11 changed a few command block things, so it is very likely that the map needs an update in that case (or you just play on an older version to make it work again)