Title: Google XML Sitemaps &#8211; PHP version 7.2
Last modified: February 11, 2019

---

# Google XML Sitemaps – PHP version 7.2

 *  Resolved [tuulaa](https://wordpress.org/support/users/tuulaa/)
 * (@tuulaa)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/google-xml-sitemaps-php-version-7-2/)
 * I will upgrade to the latest version of PHP (7.2). I scanned my site using plugin
   PHP Compatibility Checker. The plugin gave the following notice
    regarding Google
   XML Sitemaps: FILE: /var/www/vhosts/tietostartti.fi/httpdocs/wp-content/plugins/
   google-sitemap-generator/sitemap-ui.php ——————————————————————————————————— FOUND
   0 ERRORS AND 1 WARNING AFFECTING 1 LINE ——————————————————————————————————— 1
   | WARNING | File has mixed line endings; this may cause incorrect results
 * Can I upgrade?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [roam92](https://wordpress.org/support/users/roam92/)
 * (@roam92)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/google-xml-sitemaps-php-version-7-2/#post-11197472)
 * I also would like to know, because my host is upgrading to PHP 7.2 as well…
 * I ran their compatibility checker, and got the following warning:
 * > /wp-content/plugins/google-sitemap-generator/sitemap-core.php
   >  Line: 1807 –
   > Column: 42
   > PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.Changed
   >  Since
   > PHP 7.0, functions inspecting arguments, like debug_backtrace(), no longer 
   > report the original value as passed to a parameter, but will instead provide
   > the current value. The parameter “$lastMod” was changed on line 1801.
 * Thank you!
 *  [Condog](https://wordpress.org/support/users/condog/)
 * (@condog)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/google-xml-sitemaps-php-version-7-2/#post-11324682)
 * Any answer on this?
 * FILE: /home/##############/public_html/wp-content/plugins/google-sitemap-generator/
   sitemap-ui.php
    ——————————————————————————————- FOUND 0 ERRORS AND 1 WARNING 
   AFFECTING 1 LINE ——————————————————————————————- 1 | WARNING | File has mixed
   line endings; this may cause incorrect results ——————————————————————————————-

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Google XML Sitemaps – PHP version 7.2’ is closed to new replies.

 * ![](https://ps.w.org/google-sitemap-generator/assets/icon-256x256.png?rev=2713572)
 * [XML Sitemap Generator for Google](https://wordpress.org/plugins/google-sitemap-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-sitemap-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-sitemap-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-sitemap-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-sitemap-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-sitemap-generator/reviews/)

## Tags

 * [php upgrade](https://wordpress.org/support/topic-tag/php-upgrade/)

 * 2 replies
 * 3 participants
 * Last reply from: [Condog](https://wordpress.org/support/users/condog/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/google-xml-sitemaps-php-version-7-2/#post-11324682)
 * Status: resolved