Sage 9 + WP 6.4.2 + All pages are using FrontPage Controller

We have a WordPess theme based from Sage 9, the last major change we made for this theme was to make it run for PHP8.

After updating WordPress to 6.4.2 all other pages except the home page is displaying this generic error message that takes over the whole page.

After turning the debug log, it turns out that it was referring to the FrontPage controller and not it’s own controller based from the template name.

I think there is an issue mapping the template to its correct Controller.

I already saw this post (Sage 9 page-template not working on wordpress 6.4 - #4 by jeremylind), but the solution doesn’t work for me or maybe I’m doing it wrong.

Home page is displaying fine and All the posts page are working ( single-***.php ), only the page templates are not working.

Have anyone tried this error and found any solution?