• Resolved bmay79

    (@bmay79)


    Morning there!

    On activate plugin I get a “Fatal Error” like this:

    Fatal error: Cannot redeclare wc_wc20_variation_price_format() (previously declared in /var/www/vhosts/XXXXXXXXX/XXXXXXXXXX/wp-content/themes/dimita-child/functions.php:47) in /var/www/vhosts/XXXXXXXXX/XXXXXXXXXX/wp-content/plugins/show-only-lowest-prices-in-woocommerce-variable-products/show-lowest-woo-variable-prices.php on line 21

    I’m using Dimita Theme. Any ideas to override this problem?

    ?Muchas gracias!

    • This topic was modified 3 years, 3 months ago by bmay79.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Fernando Tellado

    (@fernandot)

    Hi @bmay79

    The most common guilties: other plugins, theme.

    I’ve tested the plugin with a lot of themes for WooCommerce and have never seen that message.

    Could you try to deactivate other plugins, activate this one and activate the others after?

    Thread Starter bmay79

    (@bmay79)

    Nope

    Not my mess, production site inherited by me.

    Also, I trying to move the backup to a dev site in order to break and tear ir up apart, and some plugins, misteriously, dissapear. I’m kind of desesperate.

    Think I’ll dive on PHP deeps.

    Gracias de nuevo.

    P.D.: Close the ticket if you want to. If I get a solution, and the ticket is still open, I’ll post it.

    Plugin Author Fernando Tellado

    (@fernandot)

    Which PHP version does the site run?

    Thread Starter bmay79

    (@bmay79)

    PHP Version = 7.4.24

    Plugin Author Fernando Tellado

    (@fernandot)

    Nothing bad with this. I’ve tested it up to PHP 8.0

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error on activation’ is closed to new replies.