Title: Missing Woocomerce plugin
Last modified: July 26, 2017

---

# Missing Woocomerce plugin

 *  Resolved [sdbox](https://wordpress.org/support/users/sdbox/)
 * (@sdbox)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/missing-woocomerce-plugin/)
 * The installation is failing because it doesn’t detect the Woocommerce plugin.
   Please implement the bellow fix to woocommerce-payperpost.php .
 *     ```
       diff --git a/wp-content/plugins/woocommerce-pay-per-post/woocommerce-payperpost.php b/wp-content/plugins/woocommerce-pay-per-post/woocommerce-payperpost.php
       index a705ed7..7f7e938 100644
       --- a/wp-content/plugins/woocommerce-pay-per-post/woocommerce-payperpost.php
       +++ b/wp-content/plugins/woocommerce-pay-per-post/woocommerce-payperpost.php
       @@ -33,7 +33,7 @@
                               }
   
                               public static function woocommerce_dependencies() {
       -                               if ( ! in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins')))) {
       +                               if ( ! is_plugin_active(  'woocommerce/woocommerce.php')) {
                                               $plugin = plugin_basename(__FILE__);
                                               deactivate_plugins($plugin);
                                               wp_die('<h1>Ooops</h1><p>This Plugin requires <strong><a href="http://www.woothemes.com/woocommerce/" target="_blank">WooCommerce</a></strong>.  This plugin has been deactivated! Please activate <strong>WooCommerce</strong> and try again.<br /><br />Back to the WordPress <a href="' . get_admin_url(null, 'plugins.php') . '">Plugins page</a>.</p>');
       ```
   
    -  This topic was modified 8 years, 10 months ago by [sdbox](https://wordpress.org/support/users/sdbox/).

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

 *  Plugin Author [Matt Pramschufer](https://wordpress.org/support/users/mattpramschufer/)
 * (@mattpramschufer)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/missing-woocomerce-plugin/#post-9356904)
 * Thanks for the code snippet. What version of WP and WC are you running? I can
   not reproduce this issue. I think this came up once before if you are running
   Multi Site?
 *  Thread Starter [sdbox](https://wordpress.org/support/users/sdbox/)
 * (@sdbox)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/missing-woocomerce-plugin/#post-9357409)
 * I am running the WP 4.8. Yes my instance is running in multi site mode.

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

The topic ‘Missing Woocomerce plugin’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-pay-per-post/assets/icon-256x256.png?rev=2252656)
 * [Pay For Post with WooCommerce](https://wordpress.org/plugins/woocommerce-pay-per-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pay-per-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pay-per-post/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pay-per-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pay-per-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pay-per-post/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [sdbox](https://wordpress.org/support/users/sdbox/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/missing-woocomerce-plugin/#post-9357409)
 * Status: resolved