Activation of plugin failing with fatal error on staging environment

Hi,

Not sure if this is a problem with the install or the license. Hoping someone can help me.

I’d purchased and installed the Affiliates Products plugin on my dev environment and it works great.

I’ve now push my code to the staging environment and am trying to activate it there but am getting this error.

Plugin could not be activated because it triggered a fatal error.

Fatal error: Call to undefined function bccomp() in /home/cook/releases/20130405182933/public_html/wp-content/plugins/affiliates-products/lib/comp/class-affiliates-products-woocommerce.php on line 51

Is this because my license has already been activated?

4 Responses to Activation of plugin failing with fatal error on staging environment

  1. haodoudo April 5, 2013 at 9:30 pm #

    bcmath enable and plugin successfully activated. Thank you!

    -Hao

    • kento April 5, 2013 at 9:32 pm #

      Great! That was quick 🙂

  2. haodoudo April 5, 2013 at 9:18 pm #

    Thank you for the quick response!

    I will check with my provider and see it can be enable.

    -Hao

  3. kento April 5, 2013 at 9:04 pm #

    Hi,

    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).

    Cheers

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share