Fatal error: Uncaught Error: Undefined constant "WC_PLUGIN_FILE" in /srv/users/serverpilot/apps/perfect-for-plants/public/wp-content/plugins/cost-of-goods-for-woocommerce/includes/background-process/class-wpfcogs-bkg-process.php:18
Stack trace:
#0 /srv/users/serverpilot/apps/perfect-for-plants/public/wp-content/plugins/cost-of-goods-for-woocommerce/includes/class-wpfcogs-core.php(217): require_once()
#1 /srv/users/serverpilot/apps/perfect-for-plants/public/wp-content/plugins/cost-of-goods-for-woocommerce/includes/class-wpfcogs-core.php(148): WPFCOGS_Core->init_bkg_process()
#2 /srv/users/serverpilot/apps/perfect-for-plants/public/wp-content/plugins/cost-of-goods-for-woocommerce/includes/class-wpfcogs-core.php(266): WPFCOGS_Core->__construct()
#3 /srv/users/serverpilot/apps/perfect-for-plants/public/wp-content/plugins/cost-of-goods-for-woocommerce/includes/class-wpfcogs.php(230): require_once('/srv/users/serv...')
#4 /srv/users/serverpilot/apps/perfect-for-plants/public/wp-content/plugins/cost-of-goods-for-woocommerce/includes/class-wpfcogs.php(114): WPFCOGS->includes()
#5 /srv/users/serverpilot/apps/perfect-for-plants/public/wp-content/plugins/cost-of-goods-for-woocommerce/cost-of-goods-for-woocommerce.php(71): WPFCOGS->init()
#6 /srv/users/serverpilot/apps/perfect-for-plants/public/wp-includes/class-wp-hook.php(341): {closure}('')
#7 /srv/users/serverpilot/apps/perfect-for-plants/public/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)
#8 /srv/users/serverpilot/apps/perfect-for-plants/public/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
#9 /srv/users/serverpilot/apps/perfect-for-plants/public/wp-settings.php(622): do_action('plugins_loaded')
#10 /srv/users/serverpilot/apps/perfect-for-plants/wp-config.php(91): require_once('/srv/users/serv...')
#11 /srv/users/serverpilot/apps/perfect-for-plants/public/wp-config.php(2): include('/srv/users/serv...')
#12 /srv/users/serverpilot/apps/perfect-for-plants/public/wp-load.php(50): require_once('/srv/users/serv...')
#13 /srv/users/serverpilot/apps/perfect-for-plants/public/wp-blog-header.php(13): require_once('/srv/users/serv...')
#14 /srv/users/serverpilot/apps/perfect-for-plants/public/index.php(17): require('/srv/users/serv...')
#15 {main}
thrown in /srv/users/serverpilot/apps/perfect-for-plants/public/wp-content/plugins/cost-of-goods-for-woocommerce/includes/background-process/class-wpfcogs-bkg-process.php on line 18