It’s probable that the incompatibility with the option and how it’s handled is a contributing factor, especially if the function is invoked before WordPress properly registers the permastruct. I’ve observed similar issues in projects including caching plugins such as WP Fastest Cache, as extreme page caching or minification can interfere with dynamic URL formation and royaledle remote tracking queries.