• Resolved astahov006

    (@astahov006)


    Hello!

    Points periodically deduct from my balance without any reason. Second or third time already in 00.10 a.m. I unexpectedly receive email that some points have been deducted because I deleted post. But I didn’t deleted any posts. I looked through user activity log. There is no such event there. I don’t no know how to determine why points are deducted. In GamiPress log I don’t see what post I supposedly deleted.

    Is there any way to determine what post does this points deduction refer to? Or maybe that is known bug?

    Regards, Alex

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Dioni Sánchez

    (@dioni00)

    Hi @astahov006,

    Events like “Delete a post” deduct points from the author and not the user who performed the action. Are you using the Expirations add-on? On the other hand, is it possible that you have some scheduled task that could be restoring the database? GamiPress does not include any functionality to automatically deduct points if there are no events that trigger that deduction.

    Thread Starter astahov006

    (@astahov006)

    Hi Dioni!

    I have WP Telegram plugin installed that automatically publishes all posts from site to the telegram chanel and I noticed that when I delete post from telegram (not from the site) GamiPress whatever register that event like “Delete a post” although I think it’s wrong.

    I also have WP Event Manager that automatically delists (although not delete) events from site. I assume that GamiPress trigger fires on that event too (although it’s not good).

    By the way is there any way to find out what specific deleted post the GamiPress trigger was triggered on?

    Regards, Alexander

    Plugin Author Dioni Sánchez

    (@dioni00)

    In GamiPress -> Logs you can review the Event trigger section where you can see the information related to the event launched.

    It is possible that it is due to posts that are created with the telegram plugin and then deleted. If you have created an event that is Delete a post, you may be interested in using Delete a post of a type. This way the event would only be launched when posts of a specific type are deleted.

    Thread Starter astahov006

    (@astahov006)

    Yes, I’ll use “Delete a post of a type” option to prevent trigger to fire on Event post. That’s solution.

    But it’s a pity that I can’t see in GamiPress -> Logs what specific deleted post was triggered.

    Regards, Alex

    Plugin Author Dioni Sánchez

    (@dioni00)

    Hi @astahov006,

    Thanks for your feedback.

    Have a nice day.

    Thread Starter astahov006

    (@astahov006)

    Hi Dioni!

    I switched to Delete a post of a type but points deduction continues from time to time. Today at the same time as earlier 00:09 some points were deducted from me and one more user simultaneously without any reason. No one has deleted any posts and was not logged on site.

    Regards, Alex

    Plugin Author Dioni Sánchez

    (@dioni00)

    Hi?@astahov006,

    This is really weird since GamiPress would only deduct points if events are set to deduct points. Is it possible that you have some custom code that could be throwing the event?

    Have you tried to perform a conflict test? There is an explanation about how to perform this: https://gamipress.com/docs/troubleshooting/theme-and-plugins-conflict-test/

    Thread Starter astahov006

    (@astahov006)

    Hi Dioni!

    This is definitely a bug of GamiPress because I do not delete any posts myself, but points are deducted from me. That’s logically misbehavior of GamiPress plugin.

    We can see from activity log that the System itself not the user deletes some posts. I have no idea why and I can’t identify the posts deleted.

    Here are the last examples:

    PostDate:?2024-03-20 12:06:26
    PostTitle:?Draft
    PostUrl:?https://infosecportal.ru/?p=5159
    ClientIP:?185.12.92.46
    Severity:?300
    Object:?post
    EventType:?deleted
    UserAgent:?WordPress/6.4.3; https://infosecportal.ru
    PostStatus:?auto-draft
    PostType:?post
    PostID:?5159 PostDate:?2024-02-25 08:43:25
    PostTitle:?Stats
    PostUrl:?https://infosecportal.ru/?page_id=4897
    ClientIP:?185.12.92.46
    Severity:?300
    Object:?post
    EventType:?deleted
    UserAgent:?WordPress/6.4.3;?https://infosecportal.ru
    PostStatus:?trash
    PostType:?page
    PostID:?4897


    PostDate:?2024-02-25 23:35:48
    PostUrl:?https://infosecportal.ru/?p=4909
    ClientIP:?185.12.92.46
    Severity:?300
    Object:?post
    EventType:?deleted
    UserAgent:?WordPress/6.4.3;?https://infosecportal.ru
    PostStatus:?trash
    PostType:?post
    PostID:?4909
    Plugin Author Ruben Garcia

    (@rubengc)

    Hi @astahov006

    Seems that WordPress auto clean up are launching the delete post event since WordPress is deleting the draft, auto draft and trashed posts

    Our team will add some checks to this event to prevent this happening so you will get this resolved in the next update

    Thread Starter astahov006

    (@astahov006)

    Many thanks. Waiting for the next update.

    Regards, Alex

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Points deduction without any reason’ is closed to new replies.