Sitemap Error in OJS

i am having an issue in sitemap in my OJS Dashboard. the erros are:
Fatal error : Uncaught Error: Call to a member function appendChild() on null in /home/mcsrwtwe/pjicm.com/ojs/pages/sitemap/SitemapHandler.inc.php:31 Stack trace: #0 /home/mcsrwtwe/pjicm.com/ojs/lib/pkp/pages/sitemap/PKPSitemapHandler.inc.php(36): SitemapHandler->_createContextSitemap(Object(Request)) #1 /home/mcsrwtwe/pjicm.com/ojs/lib/pkp/classes/core/PKPRouter.inc.php(391): PKPSitemapHandler->index(Array, Object(Request)) #2 /home/mcsrwtwe/pjicm.com/ojs/lib/pkp/classes/core/PKPPageRouter.inc.php(231): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false) #3 /home/mcsrwtwe/pjicm.com/ojs/lib/pkp/classes/core/Dispatcher.inc.php(143): PKPPageRouter->route(Object(Request)) #4 /home/mcsrwtwe/pjicm.com/ojs/lib/pkp/classes/core/PKPApplication.inc.php(281): Dispatcher->dispatch(Object(Request)) #5 /home/mcsrwtwe/pjicm.com/ojs/index.php(68): PKPApplication->execute() #6 {main} thrown in /home/mcsrwtwe/pjicm.com/ojs/pages/sitemap/SitemapHandler.inc.php on line 31
but i have resolved this error. i don’t know what to do can you please guys help me in this!

Hi @Muiz_Safdar,

Can you please indicate your OJS version number (e.g. 3.4.0-8)? Please include this information in posts here on the forum as it is necessary for troubleshooting.

Best regards,

-Roger
PKP Team