• Resolved zeroTAG

    (@zerotag)


    Hi! I am currently managing a website for a client, which uses EasyAffiliate and FunnelKit. I noticed a few periodic entries on the “error_log” file, but with no breaking issues. Because I have full access, I just did a small patch to the GamiPress plugin to stop the logs, but naturally with each new update to the plugin, I have to reapply the patch. I would like to report this on the appropriate place (if this is not where I should do this, please point me to the right direction).

    The intention for this post is to maybe have an official fix for these, so I can stop doing the manual patch. 😁

    The files in question are:

    .\gamipress\integrations\easy-affiliate\includes\listeners.php
    .\gamipress\integrations\autonami\includes\functions.php

    For EasyAffiliate, the three functions use a variable called $event_id that is not defined. So all actions fail.
    The patch only returns early if $event_id is null (which is always true, so these actions never run).

    For Autonami, the function on line 80 (gamipress_autonami_get_contact_user_id) has a possible fail path. The call of get_user_by can possibly return a bool, which is the cause of some logs, on my case.
    The patch just checks the variable $user if it is an instance of WP_User, else it returns the default value.

    That is all, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Tino Calvo

    (@tinocalvo)

    Hi @zerotag ,

    Thank you so much for reporting this issues! We are investigating it and we will fix them soon.

    Best regards.

    Plugin Contributor Tino Calvo

    (@tinocalvo)

    Hi @zerotag ,

    We just released an update fixin the issues you mentioned.

    Thank you so much for reporting it.

    Best regards.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘EasyAffiliate & Autonami Integration issues’ is closed to new replies.