Why am I getting a "folder could not be found" in the develop mode and "file name ""x"" is offline or missing" in the library mode? I can't open or edit anything
This means you have (perhaps accidentally) moved or renamed or deleted the photo (or the folder that contains it) outside of Lightroom.
You can fix this via the following instructions: Adobe Lightroom - Find moved or missing files and folders
Retrieving data ...