Notifications
Clear all

wpForo 1.x.x [Closed] wpForo clears my home page

12 Posts
3 Users
0 Likes
2,815 Views
Posts: 1602
Topic starter
(@anonymous20)
Noble Member
Joined: 8 years ago

Hello.

It seems that every post in wpForo clears my Home page cache. Without any reason.

See:

1) /home/index.php(17): require('/home/valuema/t...')
    2) /home/wp-blog-header.php(13): require_once('/home/valuema/t...')
    3) /home/wp-load.php(37): require_once('/home/valuema/t...')
    4) /home/wp-config.php(101): require_once('/home/valuema/t...')
    5) /home/wp-settings.php(449): do_action('init')
    6) /home/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    7) /home/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
    8) /home/wp-includes/class-wp-hook.php(298): wpForo->init('')
    9) /home/wp-content/plugins/wpforo/wpforo.php(73): wpforo_actions()
    10) /home/wp-content/plugins/wpforo/wpf-includes/wpf-actions.php(119): wpforo_clean_cache()
    11) /home/wp-content/plugins/wpforo/wpf-includes/functions.php(1464): clean_post_cache(Object(WP_Post))
    12) /home/wp-includes/post.php(5714): do_action('clean_post_cach...', 28462, Object(WP_Post))
    13) /home/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    14) /home/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)
    15) /home/wp-includes/class-wp-hook.php(300): WebSharks\CometCache\Classes\Plugin->autoClearPostCache(28462)
    16) /home/wp-content/plugins/comet-cache/src/includes/traits/Plugin/WcpPostUtils.php(100): WebSharks\CometCache\Classes\Plugin->autoClearHomePageCache()

Can i have some help in this ?

 

Thanks

11 Replies
Robert
Posts: 10499
Admin
(@robert)
Support Team
Joined: 8 years ago

Hi Anonymous20,

wpForo post doesn't have any relation to your home page and to WordPress cache. We've not any function which calls cache reset action. Have you made custom changes in wpForo core?

Posts: 1602
Topic starter
(@anonymous20)
Noble Member
Joined: 8 years ago
Posted by: Robert

 

Hi Anonymous20,

wpForo post doesn't have any relation to your home page and to WordPress cache. We've not any function which calls cache reset action. Have you made custom changes in wpForo core?

   

No i have touched nothing in the whole WP code or plugins.

This log above is a debug output from Comet Cache lite, what clearly shows that wpForo clears the home page cache.

 

Posts: 1602
Topic starter
(@anonymous20)
Noble Member
Joined: 8 years ago

Could a plugin just cause cache clearning without supporting Comet Cache ?

Yes, any plugin that you install in WordPress could trigger any of the WordPress hooks that Comet Cache listens for, which means that any other plugin is capable of causing Comet Cache to clear the cache without that plugin having any knowledge of Comet Cache.

This is all made possible by the WordPress Plugin API, which makes it possible to build plugins that integrate tightly into the entire WordPress platform. That means if, for example, a plugin that knows nothing about Comet Cache saves a post in WordPress, Comet Cache should automatically know that it needs to clear the cache for the post that was just saved. This is both good and bad. It’s good because it means automatic integration with nearly all other WordPress plugins, but it can be bad if other plugins fire hooks without considering the greater effects to the rest of the WordPress site.

Robert
Posts: 10499
Admin
(@robert)
Support Team
Joined: 8 years ago

 

This log above is a debug output from Comet Cache lite, what clearly shows that wpForo clears the home page cache.

How it shows it? Please leave some screenshot to allow us check it. What wpForo function do that? We don't have any function which calls cache deleting action.

Page 1 / 3