i have the same issue but not using woocommerce and the plugin is not installed because it has been deprecated for 2 years now. It looks like your code is looking for this plugin to be active but it can’t be because this feature is now built into core pmpro
Let’s say that it somehow has gotten into my theme, which I know I didn’t do because I would remember if I did, but if it were somehow in there, how would I get it out???