Jump to content

How could a member lose 4K+ followers?


SJ77

Recommended Posts


Member reached out because they lost a massive amount of followers.
Checked live site versus a backup

Looking on live production site.

Showing rows 0 - 24 (84 total, Query took 0.4368 seconds.)
SELECT * FROM `core_follow` WHERE `follow_app` LIKE '%core%' AND `follow_area` LIKE '%member%' AND `follow_rel_id` = 88151

Looking in backup.
Showing rows 0 - 24 (4370 total, Query took 0.0167 seconds.)
SELECT * FROM `core_follow` WHERE `follow_app` LIKE '%core%' AND `follow_area` LIKE '%member%' AND `follow_rel_id` = 88151
 
What could have possibly caused this?
Edited by SJ77
Link to comment
Share on other sites

Since you mentioned me here, I will reply as I replied on my board.

This is the only DELETE it has:

					try
					{
						$follow = \IPS\followspecificcontent\Follow::load( \IPS\Member::loggedIn()->member_id, 'cfe_member_id' );
						$follow->delete();
					}
					catch ( \UnderflowException $e )
					{
						parent::unfollow();
					}

The \IPS\followspecificcontent\Follow model is:

<?php

namespace IPS\followspecificcontent;

if( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
	header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
	exit;
}

class _Follow extends \IPS\Patterns\ActiveRecord
{
    protected static $multitons;
    public static $databaseTable = 'followspecificcontent_data';

It doesn't delete records from core_follow and most importantly: the delete in my app happens when the member UNFOLLOWS the member.

Well, it would be very funny if a delete in my table could delete data from core_follow too.

As I truly believe it doesn't do that, it's not my app problem.

Link to comment
Share on other sites

8 minutes ago, Jim M said:

What does the UI say for this member? While I understand you ran the same query here, we would need to go by what the software is pulling rather than a manual query.

If it is reporting the same for both. Have you recently pruned members? 

UI is saying 85 (she got 1 more follower since I made this thread)
Could contain: Text, Electronics, Mobile Phone, Phone


UI on backup has all 4000K followers.
I have not pruned any members. I never prune members.
Thank you

Edited by SJ77
Link to comment
Share on other sites

42 minutes ago, SJ77 said:

Could contain: Page, Text, File, Webpage

Has this always been configured as such? If not, this may explain what you're seeing.

I'd also reach out to any third party authors of applications/plugins you have installed that deal with members or followers as outside of the quoted screenshot, the system would not delete followers.

Link to comment
Share on other sites

2 minutes ago, Jim M said:

Has this always been configured as such? If not, this may explain what you're seeing.

I'd also reach out to any third party authors of applications/plugins you have installed that deal with members or followers as outside of the quoted screenshot, the system would not delete followers.

Yes it has always been set to never.

I will have to carefully look at third party plugins.
I don't have many that deal with members / followers.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...