Support Forum
Hi my simple press forum stats are not updating.
I looked in the error logs and I can see this repeatably.
I am unsure what the problem is, I know the cron is running.
Some server information.
Running php 5.3.16
Apache FCGI version 2.2.22
mysql version 5.5
Let me know if you need any other information.
September 23, 2012 6:43 pm |
php | file: /simple-press/forum/content/sp-common-view-functions.php line: 2090 function: sp_ForumStats Notice | Trying to get property of non-object |
September 23, 2012 6:43 pm |
php | file: /simple-press/forum/content/sp-common-view-functions.php line: 2089 function: sp_ForumStats Notice | Trying to get property of non-object |
September 23, 2012 6:43 pm |
php | file: /simple-press/forum/content/sp-common-view-functions.php line: 2088 function: sp_ForumStats Notice | Trying to get property of non-object |
September 23, 2012 6:43 pm |
php | file: /simple-press/forum/content/sp-common-view-functions.php line: 2087 function: sp_ForumStats Notice | Trying to get property of non-object |
also if you wait and not updating, check forum - toolbox - cron inspector and see if the stats cron job is running...
Visit Cruise Talk Central and Mr Papa's World
Similar issue here... a moderator pointed out that our post count stats in the forum footer are not updating. I then confirmed that post counts in member profiles are indeed out of sync with those in the stats. The count in the profile updates in real time. But even after manually running sp_stats_interval from the toolbox, the stats in the footer did not update and are still out of sync with those in the member profile.
Any tips for troubleshooting are greatly appreciated, I compared the following two template files but they seem to be calling stats differently...
spProfileShow.php
spFoot.php
Simple:Press powers the Tripawds Discussion Forums.
It's better to hop on three legs than to limp on four.
The Tripawds Blogs Community is made possible by The Tripawds Foundation.
The stats are cached for obvious reasons and should update hourly. This update is performed with a WP Cron task. We have noted - and have a ticket open to investigate - that WP sometimes has the habit of losing track of Cron tasks.
The first thing to do is look at the Cron list from the forum admin > Toolbox menu. See if there is a task to update the stats in the task queue.
If there isn't then the easiest way to deal with this is to deactivate SP (NOT uninstall of course) and then immediately reactivate it. This should then rebuild the SP cron task list with WordPress...
See of that helps.
YELLOW
SWORDFISH
|
FYI: Three SP-related cron Schedules are listed:
Name | Description | Interval
sp_subs_digest_interval | SP Subscription Digest Interval | 86400
sp_stats_interval | SP Stats Interval | 3600
sp_news_interval | SP News Check Interval | 604800
Active Crons included:
sph_stats_cron
sph_transient_cleanup_cron
sph_subs_digest_cron
sph_news_cron
Stats in footer and profile are back in sync only after deactivating and reactivating SP plugin. The SP hooks in the Active Cron list are now bold, which I presume may mean they have never been run.
Thanks again, hope this helps.
Simple:Press powers the Tripawds Discussion Forums.
It's better to hop on three legs than to limp on four.
The Tripawds Blogs Community is made possible by The Tripawds Foundation.
No worries, if there is no cause for concern. I just don't remember them being bold before plugin activation.
Simple:Press powers the Tripawds Discussion Forums.
It's better to hop on three legs than to limp on four.
The Tripawds Blogs Community is made possible by The Tripawds Foundation.
yes, any sp cron task is displayed in bold... has always been that way...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)