Can't access Files section of admin console: 'Cannot query field "version" on type "File". Did you mean "extension"?'

<%- if @topic_view.topic.tags.present? %>
<%= t 'js.tagging.tags' %>: <%- @topic_view.topic.tags.each do |t| %> <%= t %> <%- end %>
<% end %>

Silverstripe Version: 4.5

Question:

Hi all,

I’ve recently picked up SilverStripe for a relatively small-scale website project, and haven’t had any issues with the system on my local environment. However when the website is deployed, I am unable to access the ‘Files’ section of the admin console, with the error message:

Cannot query field “version” on type “File”. Did you mean “extension”?

I am still able to upload files (indirectly) through other elements in the CMS (UploadFields on pages / objects, for instance) and these uploaded files do appear in the database.

Initially we were running the site on nginx, but have since switched to apache2, which did not solve the problem.

Any advice on this would be much appreciated.
Thanks.