• Hi There. I am wanting to use this plugin on a site that is currently using the Extra theme (from Elegant Themes) as a parent theme. Extra declares WooCommerce support and because of one of the functions in the support file a fatal error occurs when the Extends Tab plugin is activated.

    I have commented out the offending function in the support file for the time being and I am sure I can find a suitable long term work around as this plugin is now performing just as I want it to but I felt you should be aware and maybe keep in mind for future updates. ??

    Fatal error: Cannot redeclare woocommerce_output_product_data_tabs() (previously declared in [path to plugin file]/woocommerce-extend-tabs.php:25) in [path to plugin support file] online 195.

    Thanks for a much needed plugin!
    Sara

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author SilkyPress

    (@diana_burduja)

    Hello,

    the same function name is used both by the plugin and by the theme.

    In order to avoid such errors, all you can do as plugin/theme developer is to check if the function was previously declared. The WooCommerce Expand Tabs plugin that this check, the theme doesn’t. This is an error from the theme’s developers, not from us.

    I’ll contact the Elegant themes and let them know about it.

    Plugin Author SilkyPress

    (@diana_burduja)

    I’ve sent them a message, but not in their Support Forum, as I don’t have a subscription with them.

    As you’re using the theme, please inform them about the issue. It is very easy to solve, but it can be solved only in the theme, not in the WooCommerce Expand Tabs plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error with Extra Theme (from Elegant Themes) Upon Plugin Activation’ is closed to new replies.