-
I get an critical error if i open the sitemapp.
I added this code because we use NGINX-server, but it is still not working.
# START Nginx Rewrites for Rank Math Sitemaps
rewrite ^/sitemap_index.xml$ /index.php?sitemap=1 last;
rewrite ^/([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;
# END Nginx Rewrites for Rank Math SitemapsWhen i open the sitemapp i get this error: A critical error has occurred on this site.
This is the error log:
2023/07/12 12:13:52 [error] 2258016#2258016: *214 FastCGI sent in stderr: “; PHP message: PHP Warning: Undefined array key “content_wrapper_html_tag” in /srv/taggrs-site.centersoft.nl/prod/wordpress/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 405″ while reading upstream, client: 37.97.201.80, server: taggrs.io, request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php8.2-fpm.sock:”, host: “taggrs.io”
2023/07/12 12:14:03 [error] 2258016#2258016: *204 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught TypeError: ftp_mkdir(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /srv/taggrs-site.centersoft.nl/prod/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:569
Stack trace:
#0 /srv/taggrs-site.centersoft.nl/prod/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php(569): ftp_mkdir()
#1 /srv/taggrs-site.centersoft.nl/prod/wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-cache.php(80): WP_Filesystem_FTPext->mkdir()
#2 /srv/taggrs-site.centersoft.nl/prod/wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-cache.php(53): RankMath\Sitemap\Cache->is_writable()
#3 /srv/taggrs-site.centersoft.nl/prod/wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-sitemap-xml.php(80): RankMath\Sitemap\Cache->__construct()
#4 /srv/taggrs-site.centersoft.nl/prod/wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/class-router.php(79): RankMath\Sitemap\S” while reading response header from upstream, client: 37.97.201.80, server: taggrs.io, request: “GET /sitemap_index.xml HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php8.2-fpm.sock:”, host: “taggrs.io”
2023/07/12 12:14:04 [error] 2258016#2258016: *234 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined array key “content_wrapper_html_tag” in /srv/taggrs-site.centersoft.nl/prod/wordpress/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 405″ while reading upstream, client: 37.97.201.80, server: taggrs.io, request: “GET /server-side-tagging-training/?gclid=Cj0KCQjwnrmlBhDHARIsADJ5b_l-pVZGpW6dsVMDHOR-e_wIGTviEmE0180rlAOcj2jqUvtzZ2VVsHcaAvrVEALw_wcB HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php8.2-fpm.sock:”, host: “taggrs.io”, referrer: “https://www.google.com/”
2023/07/12 12:14:04 [error] 2258016#2258016: *234 FastCGI sent in stderr: “; PHP message: PHP Warning: Undefined array key “content_wrapper_html_tag” in /srv/taggrs-site.centersoft.nl/prod/wordpress/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php on line 405″ while reading upstream, client: 37.97.201.80, server: taggrs.io, request: “GET /server-side-tagging-training/?gclid=Cj0KCQjwnrmlBhDHARIsADJ5b_l-pVZGpW6dsVMDHOR-e_wIGTviEmE0180rlAOcj2jqUvtzZ2VVsHcaAvrVEALw_wcB HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php8.2-fpm.sock:”, host: “taggrs.io”, referrer: “https://www.google.com/”Can you help me fix my sitemapp?
The ticket ‘Sitemapp not working’ is closed to new replies.