Your cart is currently empty!
Activation of plugin failing with fatal error on staging environment
—
by
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?
Posted in Affiliates Products
Comments
4 responses to “Activation of plugin failing with fatal error on staging environment”
bcmath enable and plugin successfully activated. Thank you!
-Hao
Great! That was quick 🙂
Thank you for the quick response!
I will check with my provider and see it can be enable.
-Hao
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