Can't view or edit files after update to v5

Hello there,

I recently updated to v5 and now am getting following error after trying to edit any file:
“The dropdown is empty
include(/home/.sites/site8/wwwroot/web/vendor/composer/../../kirby/src/Toolkit/Query.php): Failed to open stream: No such file or directory”

I am using v5.4.3 with PHP Version 8.3.31.

In my local environment, I cannot replicate this error and everything is working fine. Did anybody have the same issue and does someone have an idea what the issue might be? Thank you in advance.

That error is usually down to a missing file or an incorrect path. I would try re-uploading to the server and double checking all the composer dependencies are there.

Thank you for your reply. I checked and the file was indeed missing from the directory. Inserting the Query.php from an older Kirby Version fixed the issues. But I guess that the Query.php was dismissed in the new Kirby Version intentionally.