Social Score showing 0
-
The past three days, new posts’ social score is not updating. Debugging does not show any errors nor are their any error_logs in my install directories.
The only recent changes I’ve applied are updates to iThemes Security.
I have not disabled iThemes security to see if that is the issue, and frankly I would rather not…
Updating the scores and recalculating rankings does not populate values in the Social Score. Comments and Views are updating correctly.
-
Hi Dusty,
What version of the plugin are you running? I released an update yesterday (version 1.2.4) which fixed some bugs. Try updating to that version if you aren’t on it, or if you are then let me know and I’ll take a closer look to see what might be happening.
I’m on 1.2.4.
I installed iThemes Security with the default options and it didn’t seem to cause a problem for me.
Do you use SSL for either the public pages of your site, or the admin Dashboard? If the URL to posts begins with https:// or http://, each has a separate share count with the social networks. I have been meaning to update the plugin so that it checks for both and adds the numbers together, but currently they are counted separately. If you switched from one to the other, that would explain numbers switching to zero.
Can you give me an example URL to one of your posts (which has at least a few shares) so that I can check to see what kinds of numbers are returned by the social network APIs?
No SSL involved.
Here’s yesterday’s post url: http://devotedconversations.com/gnat-straining/
And here’s the custom fields added to the post:
socialcount_LAST_UPDATED – 1413560569
social_aggregate_score – 81.4
social_aggregate_score_decayed – 125.967110818
social_aggregate_score_decayed_last_updated – 1413560569Dashboard widget shows:
Social Score – 1
Views – 14
Comments – 4Social Metrics Admin shows:
Social Score – 0
Views – 14
Comments – 4Thanks, that debug info is helpful. That data confirms that the updater is running, but for some reason it isn’t fetching and saving the social numbers. I checked the URL you provided and there are some shares being reported for the URL.
Let’s try something.. can you go to the Configuration page for the plugin and re-save the settings that are there and make sure that “Post Types” has the correct items selected? (It should at least have “post” checked).
After that, try to manually trigger an update for yesterdays post and see if it picks up any social shares (When you hover over a post on the Social Metrics page there is a link underneath which says “Update Stats” which will trigger an update immediately.)
Also, you mentioned that this affects new posts but have the numbers for older posts also been changed to zero as well? Or just the new posts?
Resaved.
Post-types – post (checked) pages (unchecked)
Data TTL – 12 hours
Debug Mode enabled.Problem only affecting new posts. Ran a manual update of the following:
http://devotedconversations.com/gnat-straining/ – Published 10/16/14
Still shows 0http://devotedconversations.com/in-your-power-to-act/ – Published 10/13/14
Showed 4 (2 Twitter / 2 FB) prior to manual update.
Still showing 4 after manual update.Here’s a list of all my active plugins, all are running latest version:
Akismet
Broken Link Checker
Feedblitz Feedsmart
Google Analytics Dashboard
iThemes Security
Regenerate Thumbnails
Subscribe to Comments Reloaded
Theme Check
Truth
W3 Total Cache (Cache emptied this morning)
Wordpress SEOI don’t see any plugins on that list which look like they would cause conflicts.
One more thing to try – can you completely delete the social metrics tracker plugin and files, then re-download and install the plugin? I’m wondering if there’s any chance that the process of upgrading the plugin did not correctly update all of the files. I don’t think that’s the problem though.
Would you be willing to grant me access to your site to do some debugging on the plugin? My email address is ben@colehost.com if you would be willing to share FTP and WP Dashboard access. I would modify only the social metrics tracker plugin code on your server to see if I can identify the problem.
Alternately, I could create a test PHP file that you could upload to the server which would run some tests and print out some debug messages.
Just sent you a login to the WP dashboard. Will send ftp shortly.
We can definitely delete and re-add…
I logged in to your Dashboard and was able to modify the plugin files from there, so FTP access is no longer required. And I think I figured it out! Looks like there was an error in my PHP code which only affects certain versions of PHP. What version of PHP is running on your server so that I can make sure to test it?
I’ll have an updated version of the plugin ready later this afternoon.
Sweet.
PHP is 5.4.33.
Okay, version 1.2.5 is released with the fix!
Thanks for reporting the bug and providing super helpful debug info. Please let me know if you notice any other issues with the plugin in the future.
Will do.
BTW, your support is better than some of my paid support. π
Haha, thanks! I try to do my best =)
The topic ‘Social Score showing 0’ is closed to new replies.