Plugin Missing from WC admin pages – FIXED
-
There have been several support requests unanswered for the plugin missing from the Woocommerce -> settings -> shipping page – this may not be the answer for you but it was my issue.
I have woocommerce installed on a multisite setup.
Multisite store active plugins in a different area of the database from standard blogs so the if statement on line 24 of plugins/transdirect-shipping/transdirect_shipping.php:if ( in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins'))) ) {
was failing to notice that woo commerce is in fact installed and therefore not enabling the plug in.
The simple fix is to correctly check for woocommerce by class instead
if ( class_exists( 'WooCommerce' ) ) {
So simply replace the line (line 24 in the current version as of nov 2018)
if ( in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins'))) ) {
with
if ( class_exists( 'WooCommerce' ) ) {
and it should now be active in the Woocommerce -> settings -> shipping page.
- The topic ‘Plugin Missing from WC admin pages – FIXED’ is closed to new replies.