Title: Oleksandr's Replies | WordPress.org

---

# Oleksandr

  [  ](https://wordpress.org/support/users/track77/)

 *   [Profile](https://wordpress.org/support/users/track77/)
 *   [Topics Started](https://wordpress.org/support/users/track77/topics/)
 *   [Replies Created](https://wordpress.org/support/users/track77/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/track77/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/track77/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/track77/engagements/)
 *   [Favorites](https://wordpress.org/support/users/track77/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 78 total)

1 [2](https://wordpress.org/support/users/track77/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/track77/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/track77/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/track77/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/track77/replies/page/6/?output_format=md)
[→](https://wordpress.org/support/users/track77/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BackWPup – WordPress Backup & Restore Plugin] Backup now doesn’t work](https://wordpress.org/support/topic/backup-now-doesnt-work/)
 *  Thread Starter [Oleksandr](https://wordpress.org/support/users/track77/)
 * (@track77)
 * [2 weeks, 2 days ago](https://wordpress.org/support/topic/backup-now-doesnt-work/#post-18894216)
 * > If that’s right, I can share this as a feature request with our developers 
   > so they can consider adding support for this.
 * That’s right.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BackWPup – WordPress Backup & Restore Plugin] Backup now doesn’t work](https://wordpress.org/support/topic/backup-now-doesnt-work/)
 *  Thread Starter [Oleksandr](https://wordpress.org/support/users/track77/)
 * (@track77)
 * [2 weeks, 2 days ago](https://wordpress.org/support/topic/backup-now-doesnt-work/#post-18894202)
 * I think I found the reason. I blocked access to the default wp-cron, using a 
   different file name. When I created a backup generation using the link and changed
   the wp-cron. php in the link to the correct name, it worked.
 * It would be great if you added the ability to specify the wp-cron file name, 
   for example via define in wp-config
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5](https://wordpress.org/support/topic/php-deprecated-in-version-2-1-5/)
 *  Thread Starter [Oleksandr](https://wordpress.org/support/users/track77/)
 * (@track77)
 * [9 months ago](https://wordpress.org/support/topic/php-deprecated-in-version-2-1-5/page/2/#post-18601676)
 * After removing this option ‘xml-sitemap-generator-for-google’, the error disappeared
   
   How to update this option to keep my settings?From chatGPT…In short: this is 
   not an “unknown variable”, but a consequence of unserialize() of the old settings
   object of the XML Sitemap Generator for Google plugin (namespace GRIM_SG). In
   PHP 8.2, the creation of dynamic properties is prohibited: when unserialize()
   restores an object of the class GRIM_SG\PTSettings and finds the media_sitemap
   field in the serialized data, which is no longer among the declared properties
   of the class, PHP tries to create a dynamic property $media_sitemap and throws
   Deprecated.
 * Where does this come from
   The chain in the log shows: get_option() → maybe_unserialize()
   → in the plugin xml-sitemap-generator-for-google/includes/Frontend.php:118, the
   loading of the option with the settings object (PTSettings) is called. This option
   was preserved by an older version of the plugin (or on older PHP), where the 
   media_sitemap property existed. Now it has been removed from the class, but it
   remains in the serialized string in the DB — and a warning occurs when deserializing.
 * How to confirm (DB search)
 * Via WP-CLI:
 * wp option list –search=grim –format=json
 * wp option get grim_sg_settings –format=prettified
 * (option name may vary; you can also search by substring)
 * SELECT option_name FROM wp_options WHERE option_value LIKE ‘%media_sitemap%’;
 * You will see a serialized object O:…:”GRIM_SG\PTSettings”:… with a media_sitemap
   field.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5](https://wordpress.org/support/topic/php-deprecated-in-version-2-1-5/)
 *  Thread Starter [Oleksandr](https://wordpress.org/support/users/track77/)
 * (@track77)
 * [9 months ago](https://wordpress.org/support/topic/php-deprecated-in-version-2-1-5/page/2/#post-18597113)
 * [2025-08-13 10:31:21] PHP Deprecated (8192): Creation of dynamic property GRIM_SG\
   PTSettings::$media_sitemap is deprecated
   File: wp-includes\functions.php Line:
   656, Function: unserializeFile: wp-includes\option.php Line:256, Function: maybe_unserializeFile:
   wp-content\plugins\xml-sitemap-generator-for-google\includes\Frontend.php Line:
   118, Function: get_optionFile: wp-includes\class-wp-hook.php Line:326, Function:
   add_rewrite_rulesFile: wp-includes\plugin.php Line:205, Function: apply_filtersFile:
   wp-includes\option.php Line:256, Function: apply_filtersFile: wp-includes\option.
   php Line:888, Function: get_optionFile: wp-includes\class-wp-rewrite.php Line:
   1522, Function: update_optionFile: wp-includes\class-wp-rewrite.php Line:1888,
   Function: refresh_rewrite_rulesFile: wp-includes\class-wp-hook.php Line:324, 
   Function: flush_rulesFile: wp-includes\class-wp-hook.php Line:348, Function: 
   apply_filtersFile: wp-includes\plugin.php Line:517, Function: do_actionFile: 
   wp-settings.php Line:749, Function: do_actionFile: wp-config.php Line:212, Function:
   require_onceFile: wp-load.php Line:50, Function: require_onceFile: wp-admin\admin.
   php Line:35, Function: require_onceFile: wp-admin\plugins.php Line:10, Function:
   require_oncein wp-includes\functions.php on line:656
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5](https://wordpress.org/support/topic/php-deprecated-in-version-2-1-5/)
 *  Thread Starter [Oleksandr](https://wordpress.org/support/users/track77/)
 * (@track77)
 * [9 months ago](https://wordpress.org/support/topic/php-deprecated-in-version-2-1-5/page/2/#post-18596088)
 * This bug is still present
   [2025-08-12 16:25:47] PHP Deprecated (8192): Creation
   of dynamic property GRIM_SG\PTSettings::$media_sitemap is deprecated
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5](https://wordpress.org/support/topic/php-deprecated-in-version-2-1-5/)
 *  Thread Starter [Oleksandr](https://wordpress.org/support/users/track77/)
 * (@track77)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/php-deprecated-in-version-2-1-5/#post-18542503)
 *     ```wp-block-code
       class PTSettings {...    protected $media_sitemap = null; // this fixes the error
       ```
   
 * Latest versions again generate tons of messages 
   PHP Deprecated (8192): Creation
   of dynamic property GRIM_SG\PTSettings::$media_sitemap is deprecated
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamic XML Sitemaps Generator for Google] Image sitemap doesn’t generated since version 1.9.8](https://wordpress.org/support/topic/image-sitemap-doesnt-generated-since-version-1-9-8/)
 *  Thread Starter [Oleksandr](https://wordpress.org/support/users/track77/)
 * (@track77)
 * [11 months, 4 weeks ago](https://wordpress.org/support/topic/image-sitemap-doesnt-generated-since-version-1-9-8/#post-18478174)
 * Thanks, I’ll check this version.
 * It would be great if you could also add how to use the WP CLI in the description.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamic XML Sitemaps Generator for Google] Image sitemap doesn’t generated since version 1.9.8](https://wordpress.org/support/topic/image-sitemap-doesnt-generated-since-version-1-9-8/)
 *  Thread Starter [Oleksandr](https://wordpress.org/support/users/track77/)
 * (@track77)
 * [12 months ago](https://wordpress.org/support/topic/image-sitemap-doesnt-generated-since-version-1-9-8/#post-18473824)
 * The 524 “A timeout occurred” error from Cloudflare means that the server did 
   not respond within the allowed time limit (typically 100 seconds). This indicates
   that the script is running too long — it’s not a PHP crash or fatal error.In 
   this case, the delay is likely caused by processing a large number of posts, 
   running do_shortcode() for each, and extracting media — which creates a long-
   running loop that exceeds Cloudflare’s execution time limits.
 * Generate the sitemap ahead of time (e.g., using a scheduled task or WP-CLI command)
   and serve the pre-generated version, avoiding timeouts during user or crawler
   requests. This should help.
 * I’ve now simplified the shortcode processing significantly and the plugin is 
   working. But this is not suitable for a stable solution.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamic XML Sitemaps Generator for Google] Image sitemap doesn’t generated since version 1.9.8](https://wordpress.org/support/topic/image-sitemap-doesnt-generated-since-version-1-9-8/)
 *  Thread Starter [Oleksandr](https://wordpress.org/support/users/track77/)
 * (@track77)
 * [12 months ago](https://wordpress.org/support/topic/image-sitemap-doesnt-generated-since-version-1-9-8/#post-18469319)
 * Media library contains 3,361 images.
   And as I wrote, image sitemap works in version
   1.9.8On the next week, I’ll check if my test-site is work and give you access
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5](https://wordpress.org/support/topic/php-deprecated-in-version-2-1-5/)
 *  Thread Starter [Oleksandr](https://wordpress.org/support/users/track77/)
 * (@track77)
 * [12 months ago](https://wordpress.org/support/topic/php-deprecated-in-version-2-1-5/#post-18469012)
 * This version doesn’t work also.
   I was wrong, this is not related to bbpress in
   any way
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5](https://wordpress.org/support/topic/php-deprecated-in-version-2-1-5/)
 *  Thread Starter [Oleksandr](https://wordpress.org/support/users/track77/)
 * (@track77)
 * [1 year ago](https://wordpress.org/support/topic/php-deprecated-in-version-2-1-5/#post-18468727)
 * Version 1.9.8 generates image-sitemap correctly
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5](https://wordpress.org/support/topic/php-deprecated-in-version-2-1-5/)
 *  Thread Starter [Oleksandr](https://wordpress.org/support/users/track77/)
 * (@track77)
 * [1 year ago](https://wordpress.org/support/topic/php-deprecated-in-version-2-1-5/#post-18468696)
 * Google Search Console shows that last image-sitemap was accessed 09.10.24
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5](https://wordpress.org/support/topic/php-deprecated-in-version-2-1-5/)
 *  Thread Starter [Oleksandr](https://wordpress.org/support/users/track77/)
 * (@track77)
 * [1 year ago](https://wordpress.org/support/topic/php-deprecated-in-version-2-1-5/#post-18468693)
 * But after I exclude the bbpress replies, it shows again. 
   But empty[https://3d-kstudio.com/image-sitemap.xml](https://3d-kstudio.com/image-sitemap.xml)
   And yes, I tried to clear all caches
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5](https://wordpress.org/support/topic/php-deprecated-in-version-2-1-5/)
 *  Thread Starter [Oleksandr](https://wordpress.org/support/users/track77/)
 * (@track77)
 * [1 year ago](https://wordpress.org/support/topic/php-deprecated-in-version-2-1-5/#post-18468684)
 * Almost right.
   Thank you.But since version 2.15 (but it might be earlier, I just
   noticed this only now) image sitemap can’t load I always receive the message “
   A timeout occurred Error code 524”
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5](https://wordpress.org/support/topic/php-deprecated-in-version-2-1-5/)
 *  Thread Starter [Oleksandr](https://wordpress.org/support/users/track77/)
 * (@track77)
 * [1 year ago](https://wordpress.org/support/topic/php-deprecated-in-version-2-1-5/#post-18468633)
 *     ```wp-block-code
       class PTSettings {...    protected $media_sitemap = null; // this will fix the error
       ```
   
 * Unfortunately, I still see the deprecation errors.
   “$media_sitemap” field in 
   the PTSettings class fixex this
    -  This reply was modified 1 year ago by [Oleksandr](https://wordpress.org/support/users/track77/).

Viewing 15 replies - 1 through 15 (of 78 total)

1 [2](https://wordpress.org/support/users/track77/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/track77/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/track77/replies/page/4/?output_format=md)
[5](https://wordpress.org/support/users/track77/replies/page/5/?output_format=md)
[6](https://wordpress.org/support/users/track77/replies/page/6/?output_format=md)
[→](https://wordpress.org/support/users/track77/replies/page/2/?output_format=md)