Oleksandr
Forum Replies Created
-
Forum: Plugins
In reply to: [BackWPup – WordPress Backup & Restore Plugin] Backup now doesn’t workIf 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
In reply to: [BackWPup – WordPress Backup & Restore Plugin] Backup now doesn’t workI 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
In reply to: [Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5After 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
In reply to: [Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5[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: unserialize
File: wp-includes\option.php Line:256, Function: maybe_unserialize
File: wp-content\plugins\xml-sitemap-generator-for-google\includes\Frontend.php Line:118, Function: get_option
File: wp-includes\class-wp-hook.php Line:326, Function: add_rewrite_rules
File: wp-includes\plugin.php Line:205, Function: apply_filters
File: wp-includes\option.php Line:256, Function: apply_filters
File: wp-includes\option.php Line:888, Function: get_option
File: wp-includes\class-wp-rewrite.php Line:1522, Function: update_option
File: wp-includes\class-wp-rewrite.php Line:1888, Function: refresh_rewrite_rules
File: wp-includes\class-wp-hook.php Line:324, Function: flush_rules
File: wp-includes\class-wp-hook.php Line:348, Function: apply_filters
File: wp-includes\plugin.php Line:517, Function: do_action
File: wp-settings.php Line:749, Function: do_action
File: wp-config.php Line:212, Function: require_once
File: wp-load.php Line:50, Function: require_once
File: wp-admin\admin.php Line:35, Function: require_once
File: wp-admin\plugins.php Line:10, Function: require_once
in wp-includes\functions.php on line:656Forum: Plugins
In reply to: [Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5This bug is still present
[2025-08-12 16:25:47] PHP Deprecated (8192): Creation of dynamic property GRIM_SG\PTSettings::$media_sitemap is deprecatedForum: Plugins
In reply to: [Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5class PTSettings {... protected $media_sitemap = null; // this fixes the errorLatest versions again generate tons of messages
PHP Deprecated (8192): Creation of dynamic property GRIM_SG\PTSettings::$media_sitemap is deprecatedThanks, I’ll check this version.
It would be great if you could also add how to use the WP CLI in the description.
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.
Media library contains 3,361 images.
And as I wrote, image sitemap works in version 1.9.8
On the next week, I’ll check if my test-site is work and give you accessForum: Plugins
In reply to: [Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5This version doesn’t work also.
I was wrong, this is not related to bbpress in any wayForum: Plugins
In reply to: [Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5Version 1.9.8 generates image-sitemap correctly
Forum: Plugins
In reply to: [Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5Google Search Console shows that last image-sitemap was accessed 09.10.24
Forum: Plugins
In reply to: [Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5But after I exclude the bbpress replies, it shows again.
But empty
https://3d-kstudio.com/image-sitemap.xml
And yes, I tried to clear all cachesForum: Plugins
In reply to: [Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5Almost 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
In reply to: [Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5class PTSettings {
...
protected $media_sitemap = null; // this will fix the errorUnfortunately, I still see the deprecation errors.
“$media_sitemap” field in the PTSettings class fixex this- This reply was modified 12 months ago by Oleksandr.