Select a layer with pixels.
You're probably targeting an adjustment layer or a layer with otherwise no pixels,
You may have inadvertently created a path (maybe with the Pen Tool?) which needs to be deleted before you can use the Transform>Scale control in the normal way. To check, right click on your image and see if there is an option to Delete Path. If there is, delete it, and you should be back to normal.