5 replies, 2 voices Last updated by  athletesusa 3 months, 4 weeks ago
  • athletesusa
    Participant
    @athletesusa
    #8954

    Hi,
    I have created a bonus for both (1) # of referrals and based on (2) earned commissions
    (1) works well
    (2) does not work

    I get the error: Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/41/d740703450/htdocs/clickandbuilds/AthletesUSA332567/wp-content/plugins/affiliatewp-performance-bonuses/affiliatewp-performance-bonuses.php on line 394

    Maybe that has something to do with it?

    Please help.

  • Christian Freeman
    Participant
    @christianf
    #8957

    Hi there,

    This is a Warning and not a Fatal Error, so it shouldn’t prevent any of the bonus functions from working properly.

    What are you using for your Earnings Basis (Paid, Unpaid, or Total = Paid + Unpaid)? This affects your bonus earnings. For example, your Earned Commissions Bonus will not be earned by the affiliate if you have it set to Paid, and you have not marked enough of the referral commissions to equal the requirement as Paid for that affiliate.

  • athletesusa
    Participant
    @athletesusa
    #8970

    Thank you for the quick response!

    I have set Earnings Basis to TOTAL (paid + unpaid) and the referral commission is marked as PAID (please see first 2 screenshots attached, the 3rd screenshot displays the warning)

    Best regards.

    Attachments:
    You must be logged in to view attached files.
  • Christian Freeman
    Participant
    @christianf
    #8976

    Based on your screenshot, I can see that you don’t have a numeric value entered into the Amount field for your “Requirement #1” Bonus. You have to have enter a Bonus Amount for the system to issue the Bonus.

    Because the “Requirement #1” Bonus can’t be earned, the “Bonus #1” Bonus can’t be earned either, since you’ve set “Requirement #1” as a Prerequisite.

    Make that change to your bonus settings, and then change the referral commission from your 2nd screenshot to unpaid status. This should activate the Performance Tracking system to check to see if that affiliate has earned the Bonus.

    Let me know how it works.

  • athletesusa
    Participant
    @athletesusa
    #8998

    Thank you.
    Yes it worked (I deselected the prerequisite to make it easier).

    Just one more thing is still not completely solved:
    Screenshot 1 shows frontend dashboard of affiliate. The referral does not show up under “Bonus Commissions”. Do you know why?
    Screenshot 2 shows that referral is set to “paid”.

    Thank you for your help!

    Attachments:
    You must be logged in to view attached files.
  • athletesusa
    Participant
    @athletesusa
    #9001

    Nevermind I think it works now. It updates now! Thank you (:

You must be logged in to reply to this topic.