Hiya,
I have this simple bit of code that is throwing an error when we update any of the pages that call this function.
Latest version of Wordpress and Version: 6.2.5 of Xtheme - this has been happening since WordPress 5.0 and only happening in the dashboard
<a href="<?php the_permalink(); ?>"><?php x_featured_image(); ?></a>