We're sorry about the trouble with Photoshop and Lightroom. Would you mind telling us which operating system are you working on? Are you using Lightroom (cloud) or Lightroom Classic? If you are using Lightroom Classic, are the files saved on an external drive? It would be helpful if you could share a screenshot of the error.
You can try resetting the preferences of Photoshop and Lightroom to check if that helps. For Photoshop you can check the steps mentioned here: https://adobe.ly/2Qzc0K3