If you got this error - Could not complete your request because the smart object is not directly editable this means that your image is smart object. Easy solution is to right click your image layer and select rasterize layer. Dead simple! ... This means that you need to convert smart object into normal image layer.