Comments can currently only be used with nodes, and they really should be able to be added to any entity type.
It seems like this could be done by making comments a field that is added to an entity or just providing an admin interface where you select which entities that comments should be able to be attached to. The latter might be easier to implement with the current architecture, and from a data perspective we'd just need to add an entity_type field to the comment table (and rename nid to entity_id).
Recent comments
Thanks! The site was on PHP 7.0. With assistance from my hosting provider, I updated to PHP 7.4 and now I have access to the site again. No database re-import required.
Locked out of site after updating modules
Thank you very much. I will follow your advice.
Locked out of site after updating modules
The best you can do is test and report. If you find a contrib that doesn't work in php 8.3, create an issue in its queue so it gets fixed. In my experience, I've found that 7.4 is safest...
Locked out of site after updating modules