August 3, 2017 at 8:01 am
Hello
I’m getting an error whenever I try to install the WooCommerce plugin
Fatal error: Uncaught Error: Call to undefined function virtue_premium_get_options() in /home/leoche16/foxg1.org/wp-content/themes/virtue_premium/lib/custom-woocommerce.php:16 Stack trace: #0 /home/leoche16/foxg1.org/wp-includes/class-wp-hook.php(298): kad_woocommerce_support('') #1 /home/leoche16/foxg1.org/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /home/leoche16/foxg1.org/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/leoche16/foxg1.org/wp-settings.php(432): do_action('after_setup_the...') #4 /home/leoche16/foxg1.org/wp-config.php(96): require_once('/home/leoche16/...') #5 /home/leoche16/foxg1.org/wp-load.php(37): require_once('/home/leoche16/...') #6 /home/leoche16/foxg1.org/wp-admin/admin.php(31): require_once('/home/leoche16/...') #7 /home/leoche16/foxg1.org/wp-admin/plugins.php(10): require_once('/home/leoche16/...') #8 {main} thrown in /home/leoche16/foxg1.org/wp-content/themes/virtue_premium/lib/custom-woocommerce.php on line 16
I tried disabling all options related to WooCommerce from the Virtue theme options, but I still get the error.
I’m not sure if this is relevant, but this installation came from a multi-site WP, I copied all of the database tables into a single WP installation. WC and Virtue worked fine with each other in the multi-site.