Page MenuHomePhabricator

Undefined property: stdClass::$rev_actor
Closed, ResolvedPublic

Description

I recently upgraded my wiki and this extension to MW1.34 so I'm not sure if this is an issue with my database or the extension. Apologies if this is the wrong place to post it. I noticed the edit counts on user profiles are no longer updating, and points aren't either. When deleting an image, this error appears:

Notice: Undefined property: stdClass::$rev_actor in /extensions/SocialProfile/UserStats/EditCount.php on line 79

The image still deletes properly though. I checked my database and while the other database tables have appeared to update its columns for actor migration, the revision table still has rev_user and rev_user_text instead of rev_actor. I tried running migrateActors.php but it said it was already completed so nothing changed.

Event Timeline

Vishkujo created this task.Mar 8 2020, 4:04 AM
Restricted Application added a project: Social-Tools. · View Herald TranscriptMar 8 2020, 4:04 AM

Change 578620 had a related patch set uploaded (by Jack Phoenix; owner: Jack Phoenix):
[mediawiki/extensions/SocialProfile@master] Fix edit counters for good

https://gerrit.wikimedia.org/r/578620

Change 578620 merged by jenkins-bot:
[mediawiki/extensions/SocialProfile@master] Fix edit counters for good

https://gerrit.wikimedia.org/r/578620

ashley closed this task as Resolved.Mar 10 2020, 10:55 PM
ashley claimed this task.
ashley removed a project: Patch-For-Review.
ashley added subscribers: Bawolff, ashley.

Should now be fixed in master, please upgrade your copy of SocialProfile. Thanks for reporting the bug and thanks to @Bawolff for pinging me about the MW.org thread and reviewing the patch!

Thanks for the quick patch, it's fixed now. :)