What is on the layer you are trying to edit?
This usually happens if you are trying to edit a type layer or smart object before rasterizing the layer.
if it is type or a smart object, right mouse click (ctrl+click for mac) on the layer name in the layer pallette and chose rasterize Type/Layer.
Hope this helps 😀
Sye