Call to undefined function WC() error on my website?

After installing and activating any of our We are AG plugins, you may have seen the error: Call to undefined function WC()” either on your WordPress dashboard or on your logs.

What is the cause of this error?

The WC() function belongs to the WooCommerce plugin, and if our plugin didn’t detect it, this would mean that Woocommerce wasn’t installed and activated on your website once you have activated any of our We are AG plugins.

What can I do?

You would need to install and activate the WooCommerce plugin, which is available for free as of date.
You can learn more about installing the WooCommerce plugin on your WordPress website using this link.

Once WooCommerce is properly installed, you can activate any of our We are AG plugins on your site.

That would 100% resolve the issue, but if the issue persists, please feel free to contact our support and one of our friendly support team members will sort out these issues for you.

Was this helpful?

Still need help?

Our team are on hand to provide fast, helpful and professional support.

Support request