Title: Plugin doesn&#8217;t work
Last modified: April 28, 2020

---

# Plugin doesn’t work

 *  [gpont](https://wordpress.org/support/users/gpont/)
 * (@gpont)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/plugin-doesnt-work-265/)
 * Doesn’t work on WordPress 5.4 multisite, Woocommerce 4.0.1. Doesn’t appear Unite
   of Measure on Products/Inventory tab 🙁 Any advice?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-doesnt-work-265%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Larzans](https://wordpress.org/support/users/larzans/)
 * (@larzans)
 * [6 years ago](https://wordpress.org/support/topic/plugin-doesnt-work-265/#post-12845727)
 * I have the same problem, WP 5.4.1, WC 4.1
 *  [Larzans](https://wordpress.org/support/users/larzans/)
 * (@larzans)
 * [6 years ago](https://wordpress.org/support/topic/plugin-doesnt-work-265/#post-12845791)
 * Problem is that this plugin does not work on multisite because it does not correctly
   detect the installed woocommerce (the used detection method does not work on 
   multisite)
    The good news is that the plugin uses the correct WP methods to store
   the data, so it is in principal ready for multisite, you just have to get around
   the activation problem.
 * One way to do this is to change the if statement in line 45 of woocommerce-unit-
   of-measure.php to
 *  include_once( ABSPATH . ‘wp-admin/includes/plugin.php’ );
    if ( is_plugin_active(‘
   woocommerce/woocommerce.php’) ) {
 * this should detect the woocommerce plugin correctly and activate the uom plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin doesn’t work’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-unit-of-measure.svg)
 * [Unit Of Measure (UOM) for WooCommerce](https://wordpress.org/plugins/woocommerce-unit-of-measure/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-unit-of-measure/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-unit-of-measure/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-unit-of-measure/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-unit-of-measure/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-unit-of-measure/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Larzans](https://wordpress.org/support/users/larzans/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/plugin-doesnt-work-265/#post-12845791)
 * Status: not resolved