Title: [Plugin: Google XML Sitemaps] 3.1.5 update
Last modified: August 19, 2016

---

# [Plugin: Google XML Sitemaps] 3.1.5 update

 *  [phil_newby](https://wordpress.org/support/users/phil_newby/)
 * (@phil_newby)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-315-update/)
 * I’ve just upgraded to v3.1.5 from 3.1.4
    and it now says… “The last build succeeded,
   but the file was deleted later or can’t be accessed anymore. Did you move your
   blog to another server or domain?” I haven’t moved anything anywhere
 * The debug function says…
    “Errors, Warnings, Notices Fatal error: Only variables
   can be passed by reference in /content/StartupHostPlus/h/a/haroldstreet.org.uk/
   web/other/wp-content/plugins/google-sitemap-generator/sitemap-core.php on line
   1756″
 * any ideas?
 * phil

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

 *  [Arne](https://wordpress.org/support/users/arnee/)
 * (@arnee)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-315-update/#post-1189847)
 * Oups, thats a PHP 4 issue.
 * Quick fix:
    1. Go to line 1756 in sitemap-core.php 2. Replace: `$p = get_page(
   get_option('page_on_front'));` with:
 *     ```
       $pageOnFront = get_option('page_on_front');
       $p = get_page($pageOnFront);
       ```
   
 * That should work. I don’t have PHP4 at my test machine at the moment, so please
   tell me the result 🙂
 *  [webmasterpiece](https://wordpress.org/support/users/webmasterpiece/)
 * (@webmasterpiece)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-315-update/#post-1189867)
 * i have the same problem
    i think that we can wait the next update
 *  [gicrom](https://wordpress.org/support/users/gicrom/)
 * (@gicrom)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-315-update/#post-1189885)
 * solution provided by arnee doesn’t work unfortunately
    I have the same problem…
 *  [Arne](https://wordpress.org/support/users/arnee/)
 * (@arnee)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-315-update/#post-1189937)
 * Hi gicrom,
 * I just installed PHP 4.4.9 and the fix works for me. Did you replace it correctly?
 *  [dmitry-usingsru](https://wordpress.org/support/users/dmitry-usingsru/)
 * (@dmitry-usingsru)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-315-update/#post-1190020)
 * Hi!
 * The same problem. **PHP version: 5.1.6**.
    Plugin was upgraded from 3.1.4 to 
   3.1.5. Red message is now displaying: “The last build succeeded, but the file
   was deleted later or can’t be accessed anymore. Did you move your blog to another
   server or domain?”. I haven’t moved anything nor changed file permissions! Debug
   doesn’t show any errors or warnings. Sitemap rebuilds normally. Solution provided
   for PHP4 doesn’t work.
 * Regards,
    Dmitry.
 *  Thread Starter [phil_newby](https://wordpress.org/support/users/phil_newby/)
 * (@phil_newby)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-315-update/#post-1190086)
 * Hi Arnee
    Well i replaced the bit as described however it still reports “The 
   last build succeeded, but the file was deleted later or can’t be accessed anymore.
   Did you move your blog to another server or domain?”
 * However the debug error has now changed to
    “Notice: WP HTTP API Web Request 
   failed: Operation timed out with 0 out of -1 bytes received in /content/StartupHostPlus/
   h/a/haroldstreet.org.uk/web/other/wp-content/plugins/google-sitemap-generator/
   sitemap-core.php on line 2304”
 * Is that any help?
 * phil
    [http://www.haroldstreet.org.uk/](http://www.haroldstreet.org.uk/)
 *  [gicrom](https://wordpress.org/support/users/gicrom/)
 * (@gicrom)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-315-update/#post-1190135)
 * hi arnee,
    here the piece of code
 * if($this->GetOption(“in_home”)) {
    if(‘page’ == get_option(‘show_on_front’) &&
   get_option(‘page_on_front’)) { $pageOnFront = get_option(‘page_on_front’); $p
   = get_page($pageOnFront); if($p) { $homePid = $p->ID;
 * Now when I go to the plugin settings I got a completely blank page 🙁
    The same
   if I go back and put the orginal row… I have already try to deactivate / delete
   the plugin. Could you please help? Thanks a lot.
 *  [Joao Baptista Lordello de Moraes](https://wordpress.org/support/users/jblm/)
 * (@jblm)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-315-update/#post-1190137)
 * PHP Version 5.2.8 at my site, same problem, various blogs.
    Joao Moraes
 *  [bobinoz](https://wordpress.org/support/users/bobinoz/)
 * (@bobinoz)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-315-update/#post-1190174)
 * I am having the same problem and I am on PHP version 5.2.9
 * I haven’t tried a fixed yet, should I? If so, which one? Or is it more sensible
   to wait for the next update?
 * Thanks
 * bob
 *  [djevrek](https://wordpress.org/support/users/djevrek/)
 * (@djevrek)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-315-update/#post-1190185)
 * I have same problem … any news when this will be fixed ?
 *  [Arne](https://wordpress.org/support/users/arnee/)
 * (@arnee)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-315-update/#post-1190186)
 * Hi all,
 * the reference error is fixed in the next release, you can already try it here:
   
   [http://downloads.wordpress.org/plugin/google-sitemap-generator.3.1.6.zip](http://downloads.wordpress.org/plugin/google-sitemap-generator.3.1.6.zip)
 * Regarding the “The last build succeeded, but the file was deleted later or can’t
   be accessed anymore. Did you move your blog to another server or domain?” error:
   This message appears if a PHP “is_readable()” call with the path to the sitemap
   files returns false and was added to prevent a warning in case the file is really
   gone and the plugin tries to get the last modification date.
 * If you can access the sitemap with your browser, everything is fine. I can’t 
   reproduce this behavior on all of my installations, so its hard to say whats 
   wrong. It would be great if somebody of you who sees this message could contact
   me via email at arne at arnebrachhold dot de so we can find out whats wrong directly
   on your blog .
 * Thanks, Arne
 *  Thread Starter [phil_newby](https://wordpress.org/support/users/phil_newby/)
 * (@phil_newby)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-315-update/#post-1190197)
 * Great – 3.1.6 seems to have fixed the problem
 * phil
    [http://www.haroldstreet.org.uk/](http://www.haroldstreet.org.uk/)
 *  [Flash Buddy](https://wordpress.org/support/users/flashbuddy/)
 * (@flashbuddy)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-315-update/#post-1190277)
 * That was ten months ago and I’m having the same problem, a blank “Register your
   application on the Yahoo Developer Network”.
 * My solution was to take the generated url:
    [https://developer.apps.yahoo.com/wsregapp/?wsydn_authtype=gen&wsydn_product_name=WordPress%20Sitemaps%20Ping&wsydn_application_description=Used%20to%20send%20ping%20requests%20for%20the%20XML%20sitemaps%20program](https://developer.apps.yahoo.com/wsregapp/?wsydn_authtype=gen&wsydn_product_name=WordPress%20Sitemaps%20Ping&wsydn_application_description=Used%20to%20send%20ping%20requests%20for%20the%20XML%20sitemaps%20program)
 * and shorten it to:
    [https://developer.apps.yahoo.com/wsregapp/](https://developer.apps.yahoo.com/wsregapp/)
 * Fill in the blanks and VOILA!

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

The topic ‘[Plugin: Google XML Sitemaps] 3.1.5 update’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 13 replies
 * 9 participants
 * Last reply from: [Flash Buddy](https://wordpress.org/support/users/flashbuddy/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-315-update/#post-1190277)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
