@gabelivan been testing and its not fixed the issue. If i turn on either the css option or font option the rankmath sitemap breaks as per my original message and vide.
As soon as those options are turned off then the sitemap starts working.
Added in the errorlog plugin. Was it this: https://www.ads-software.com/plugins/error-log-monitor/ ?
If so this is what it reported in the dashboard:
Fatal error: Uncaught Error: Using $this when not in object context in /XXXX/wp-asset-clean-up/classes/ObjectCache.php:606
Stack Trace
1. WpAssetCleanUp\ObjectCache::wpacu_cache_get('wpacu_css_optim...')/XXXX/wp-asset-clean-up/classes/OptimiseAssets/OptimizeCss.php:641
2. WpAssetCleanUp\OptimiseAssets\OptimizeCss::updateHtmlSourceOriginalToOptimizedCss('<?xml version="...')/XXXX/wp-asset-clean-up/classes/OptimiseAssets/OptimizeCss.php:459
3. WpAssetCleanUp\OptimiseAssets\OptimizeCss::alterHtmlSource('<?xml version="...')/XXXX/wp-asset-clean-up/classes/OptimiseAssets/OptimizeCommon.php:224
4. WpAssetCleanUp\OptimiseAssets\OptimizeCommon::alter in /XXXX/wp-asset-clean-up/classes/ObjectCache.php on line 606/XXXX/wp-asset-clean-up/classes/OptimiseAssets/OptimizeCommon.php:171
AND here is from actual log files:
[Sat Aug 22 15:23:35 2020] [error] [client XXXX] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get() on null in /XXXX/wp-asset-clean-up/classes/ObjectCache.php:597\nStack trace:\n#0 /XXXX/wp-asset-clean-up/classes/OptimiseAssets/OptimizeCss.php(641): WpAssetCleanUp\\ObjectCache::wpacu_cache_get('wpacu_css_optim...')\n#1 /XXXX/wp-asset-clean-up/classes/OptimiseAssets/OptimizeCss.php(459): WpAssetCleanUp\\OptimiseAssets\\OptimizeCss::updateHtmlSourceOriginalToOptimizedCss('<?xml version="...')\n#2 /XXXX/wp-asset-clean-up/classes/OptimiseAssets/OptimizeCommon.php(224): WpAssetCleanUp\\OptimiseAssets\\OptimizeCss::alterHtmlSource('<?xml version="...')\n#3
[Sat Aug 22 15:27:34 2020] [error] [client XXXX] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Using $this when not in object context in /XXXX/wp-asset-clean-up/classes/ObjectCache.php:606\nStack trace:\n#0 /XXXX/wp-asset-clean-up/classes/OptimiseAssets/OptimizeCss.php(641): WpAssetCleanUp\\ObjectCache::wpacu_cache_get('wpacu_css_optim...')\n#1 /XXXX/wp-asset-clean-up/classes/OptimiseAssets/OptimizeCss.php(459): WpAssetCleanUp\\OptimiseAssets\\OptimizeCss::updateHtmlSourceOriginalToOptimizedCss('<?xml version="...')\n#2 /XXXX/wp-asset-clean-up/classes/OptimiseAssets/OptimizeCommon.php(224): WpAssetCleanUp\\OptimiseAssets\\OptimizeCss::alterHtmlSource('<?xml version="...')\n#3
So even after the update seems lik ethe issue still exists…
Yes, I meant curl issue. Apologies for the phat fingers! Fixed the curl issue. Site health is reported as good (just need to remove some deactivated plugins etc).