Templates ERROR: setBlocks requires ARRAY as variable