the plugin uses the WordPress built in sitemap code for generating the sitemap. the built-in code uses this notation rather than looping thro. the $sitemap_entries:
array_push( $sitemaps, …$sitemap_entries );
you probably need to update PHP to V 5.6+ for this built-in piece of code to work. Hence it is better if you could update PHP to the latest stable version.
It is a good practice to update PHP to the latest version for both performance and security reasons.
-
This reply was modified 4 years, 1 month ago by Rajesh.
-
This reply was modified 4 years, 1 month ago by Rajesh.