As the title says, if the category has no posts its page is an error. I think it may be caused by the
<?php get_template_part( 'template-parts/content', 'none' ); ?>
template-parts/content that seems to assume there is some post to be shown.
Not a big issue since empty category doesn’t seem something useful, but since I noticed the issue I’m reporting it.