You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a multisite installation, where all sites except 1 are using wpml, and others not. When I update a plugin (I have selected the option to delete the cache when a plugin is updated), I get the following warning - strange enough for the blog id 3 which has wpml not active. I also raised this issue with wpml support
wpml has a filter on "url_to_postid()" function, which should not be triggered when the plugin is not active.
latest version of cache-enabler, wpml and wp
[13-May-2024 13:24:58 UTC] PHP Warning: Trying to access array offset on value of type bool in /usr/www/users/client/content/plugins/sitepress-multilingual-cms/inc/absolute-links/absolute-links.class.php on line 109 [13-May-2024 13:24:58 UTC] Backtrace (BlogId: 3, PostId: 0) from warning 'Trying to access array offset on value of type null' at /usr/www/users/client/content/plugins/sitepress-multilingual-cms/inc/absolute-links/absolute-links.class.php 109: /usr/www/users/client/content/plugins/sitepress-multilingual-cms/sitepress.class.php 4267 calling _process_generic_text() | /usr/www/users/client/cms/wp-includes/class-wp-hook.php 324 calling url_to_postid() | /usr/www/users/client/cms/wp-includes/plugin.php 205 calling apply_filters() | /usr/www/users/client/cms/wp-includes/rewrite.php 502 calling apply_filters() | /usr/www/users/client/content/plugins/cache-enabler/inc/cache_enabler_disk.class.php 232 calling url_to_postid() | /usr/www/users/client/content/plugins/cache-enabler/inc/cache_enabler.class.php 2175 calling cache_iterator() | /usr/www/users/client/content/plugins/cache-enabler/inc/cache_enabler.class.php 1995 calling clear_page_cache_by_url() | /usr/www/users/client/content/plugins/cache-enabler/inc/cache_enabler.class.php 1617 calling clear_page_cache_by_site() | /usr/www/users/client/content/plugins/cache-enabler/inc/cache_enabler.class.php 612 calling clear_site_cache() | /usr/www/users/client/content/plugins/cache-enabler/inc/cache_enabler.class.php 1592 calling each_site() | /usr/www/users/client/content/plugins/cache-enabler/inc/cache_enabler.class.php 185 calling clear_complete_cache() | /usr/www/users/client/cms/wp-includes/class-wp-hook.php 324 calling on_upgrade() | /usr/www/users/client/cms/wp-includes/class-wp-hook.php 348 calling apply_filters() | /usr/www/users/client/cms/wp-includes/plugin.php 517 calling do_action() | /usr/www/users/client/cms/wp-admin/includes/class-plugin-upgrader.php 421 calling do_action() | /usr/www/users/client/cms/wp-admin/update.php 51 calling bulk_upgrade() | /usr/www/users/client/cms/wp-admin/network/update.php 17 calling require()
The text was updated successfully, but these errors were encountered:
I have a multisite installation, where all sites except 1 are using wpml, and others not. When I update a plugin (I have selected the option to delete the cache when a plugin is updated), I get the following warning - strange enough for the blog id 3 which has wpml not active. I also raised this issue with wpml support
wpml has a filter on "url_to_postid()" function, which should not be triggered when the plugin is not active.
latest version of cache-enabler, wpml and wp
[13-May-2024 13:24:58 UTC] PHP Warning: Trying to access array offset on value of type bool in /usr/www/users/client/content/plugins/sitepress-multilingual-cms/inc/absolute-links/absolute-links.class.php on line 109 [13-May-2024 13:24:58 UTC] Backtrace (BlogId: 3, PostId: 0) from warning 'Trying to access array offset on value of type null' at /usr/www/users/client/content/plugins/sitepress-multilingual-cms/inc/absolute-links/absolute-links.class.php 109: /usr/www/users/client/content/plugins/sitepress-multilingual-cms/sitepress.class.php 4267 calling _process_generic_text() | /usr/www/users/client/cms/wp-includes/class-wp-hook.php 324 calling url_to_postid() | /usr/www/users/client/cms/wp-includes/plugin.php 205 calling apply_filters() | /usr/www/users/client/cms/wp-includes/rewrite.php 502 calling apply_filters() | /usr/www/users/client/content/plugins/cache-enabler/inc/cache_enabler_disk.class.php 232 calling url_to_postid() | /usr/www/users/client/content/plugins/cache-enabler/inc/cache_enabler.class.php 2175 calling cache_iterator() | /usr/www/users/client/content/plugins/cache-enabler/inc/cache_enabler.class.php 1995 calling clear_page_cache_by_url() | /usr/www/users/client/content/plugins/cache-enabler/inc/cache_enabler.class.php 1617 calling clear_page_cache_by_site() | /usr/www/users/client/content/plugins/cache-enabler/inc/cache_enabler.class.php 612 calling clear_site_cache() | /usr/www/users/client/content/plugins/cache-enabler/inc/cache_enabler.class.php 1592 calling each_site() | /usr/www/users/client/content/plugins/cache-enabler/inc/cache_enabler.class.php 185 calling clear_complete_cache() | /usr/www/users/client/cms/wp-includes/class-wp-hook.php 324 calling on_upgrade() | /usr/www/users/client/cms/wp-includes/class-wp-hook.php 348 calling apply_filters() | /usr/www/users/client/cms/wp-includes/plugin.php 517 calling do_action() | /usr/www/users/client/cms/wp-admin/includes/class-plugin-upgrader.php 421 calling do_action() | /usr/www/users/client/cms/wp-admin/update.php 51 calling bulk_upgrade() | /usr/www/users/client/cms/wp-admin/network/update.php 17 calling require()
The text was updated successfully, but these errors were encountered: