Home Forums Plugin Support AffiliateWP Ranks Ranks causes error on the URL Generator

2 replies, 2 voices Last updated by  kitefreakk 2 months, 2 weeks ago
  • kitefreakk
    Participant
    @kitefreakk
    #11313

    Fresh install here, but I’ve configured everything and im getting an error displayed on the frontened (still looking for bugs, so debugging is on)

    Warning: A non-numeric value encountered in /home/—-/—/—-/plugins/affiliatewp-ranks/includes/functions.php on line 353

    I’ve looked at the file, and I don’t see anything wrong with it. The URL generation works, its just the error bothers me.

    Attached, screenshot.

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

    Hi there,

    I see what’s happening here. You must not have a number set for the “Order” column for your Ranks. You need to set a number so that the system can tell what the hierarchy is for your Ranks.

    I’m going to release an update soon that will remove the error. Thanks for bringing this to our attention.

  • kitefreakk
    Participant
    @kitefreakk
    #11319

    Wow, thank you for the quick response! That did the trick! We are using the Ranks plugin a little off admittedly, since we aren’t ranking anyone, but rather have different commission rates based on a membership, and admittedly haven’t found a better way of doing this.

    Thanks again!

You must be logged in to reply to this topic.