PHP 8.2 execution time fatal error in WordPress

I’m having some trouble with a local wordpress setup where I’m working on an headless theme powered by vue.js

I’ve noticed that inside the debug.log file I will always get this error, it will be logged also for another WordPress file that is part of the CMS core files.

PHP Fatal error: Maximum execution time of 200 seconds exceeded in C:xampphtdocswordpresswp-includesclass-wp-dependencies.php on line 289 site:wordpress.org

At the moment this is the only theme where I’m having this kind of problem, I have other headless themes and they will load without problems. I’ve tried to create a new theme and included all the files but the result will be the same.

Is there a solution to fix this problem? I’m on the latest XAMPP version that will run php 8.2 but not sure if the problem is caused from this and I need to downgrade the XAMPP version to use a php 7.4 version.