Error when activating Affiliate Products

Good Day

Just bought Affiliate Pro and Products together, I have Affiliates installed already, so decided not to install Pro because am not sure what that will do to my configuration, but what happening is that Affiliate Products fails with:

Fatal error: Uncaught Error: Call to undefined function bccomp() in /home/marketserengeti/public_html/wp-content/plugins/affiliates-products/lib/comp/class-affiliates-products-woocommerce.php:72 Stack trace: #0 /home/marketserengeti/public_html/wp-content/plugins/affiliates-products/lib/comp/class-affiliates-products-woocommerce.php(725): Affiliates_Products_WooCommerce::init() #1 /home/marketserengeti/public_html/wp-content/plugins/affiliates-products/lib/comp/class-affiliates-products-components.php(50): include_once(‘/home/marketser…’) #2 /home/marketserengeti/public_html/wp-content/plugins/affiliates-products/lib/comp/class-affiliates-products-components.php(80): Affiliates_Products_Components::init() #3 /home/marketserengeti/public_html/wp-content/plugins/affiliates-products/lib/core/class-affiliates-products.php(50): require_once(‘/home/marketser…’) #4 /home/marketserengeti/public_html/wp-content/plugins/affiliates-products/lib/core/class-affiliates-products.php(134): Affiliates_Products::init() #5 /home/markets in /home/marketserengeti/public_html/wp-content/plugins/affiliates-products/lib/comp/class-affiliates-products-woocommerce.php on line 72


Comments

3 responses to “Error when activating Affiliate Products”

  1. Bongani Manjanja Avatar
    Bongani Manjanja

    Hello Eugen,

    I am sorted, I just disabled Affiliate and installed Affiliate Pro which I bought as well and all worked.

    Please look into how you can improve integration into CRMs like ZOHO, anyways, importing CSVs is problematic that module shows errors when I try to import. I will lodge another forum entry if I can not figure it out.

    We in South African and black owned company, and we use this technology of yours to create 4th industry work from home jobs, the day work from jobs (a mere change of location really) being frowned upon is over.

    Looking forward to help improve your system over the years we will use it.

    I am “stealing” your “I wish you a very productive week ahead.

    Be awesome!
    STAY SAFE!” it is awesome LOL

    1. Eugen Bleck Avatar
      Eugen Bleck

      Hi Bongani,

      Thanks for the update. I’ll share the concern with the team.

      Please feel free to create another topic if it insists.

      Thank you for being a valued client of Affiliates. We are very glad to have you.

      Be awesome and I wish you an amazing day ahead.
      Kind regards,
      Eugen.

  2. Eugen Bleck Avatar
    Eugen Bleck

    Hi there Bongani :wave:

    I trust you are feeling great and safe!

    Thank you so much for purchasing Affiliates.

    What happens is that on your production server, BCMath is not enabled. Please ask your hosting provider to enable it (that would be the quickest and most efficient solution. If that is not possible let me know and I’ll try to provide an alternative for you).

    I wish you a very productive week ahead.

    Be awesome!
    STAY SAFE!
    Kindest regards,
    Eugen.

Share