P
P
Petr Volkhanov2016-02-21 17:49:42
WordPress
Petr Volkhanov, 2016-02-21 17:49:42

There is a conflict between two Woocommerce plugins. How to fix?

When trying to enable the Interkassa plugin on this site , it gives the following error:
The plugin was not activated because it caused a fatal error.
Fatal error: Cannot redeclare woocommerce_init() (previously declared in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/simple-liqpay/simple-liqpay.php:16) in /opt/bitnami/apps/wordpress /htdocs/wp-content/plugins/interkassa-master/class-wc-gateway-interkassa.php on line 17
How to fix? Maybe someone has already encountered?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2016-02-21
@eprivalov

Add prefixes to the functions of one of the plugins or rename conflicting functions.
You may be lucky, nothing new will fall off and both plugins will work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question