mehrdadwordpress on "[Plugin: WooCommerce Pay Per Post] doesn't recognize WooCommerce plugin to activate Pay per post"

ساخت وبلاگ

mehrdadwordpress
Member
Posted 1 day ago #

Hi Matt,

I can't activate!

Error:

This Plugin requires WooCommerce. This plugin has been deactivated! Please activate WooCommerce and try again.

But I've already installed Woocommerce and is activated.

Installed Woocommerce plugin and Persian Woocommerce(for translation and else). I tried to deactivate Persian plugin and check but the same problem.

Any help is appriciated.
Thanks

https://wordpress.org/plugins/woocommerce-pay-per-post/

Hey there... Could you give me more information about the version of wordpress and woocommerce. I haven't heard this issue come up before with anymore so I would like to investigate more deeply.

Thanks

mehrdadwordpress
Member
Posted 1 day ago #

Thanks for reply,

here you are

WordPress v.4.5.2
Woocommerce v.2.5.5

Okay so I did a ton of tests, and I can not reproduce that issue at all. I just did a clean install of wordpress, downloaded WooCommerce from WP Repo and installed. Then I downloaded PPP from WP repo and activated, and I had no issues at all.

Can you try with deactivating all plugins except WC and PPP and see if anything might be conflicting... also try switching to default WP theme.

mehrdadwordpress
Member
Posted 13 hours ago #

Thank you Matt

Excuse me I forgot to say that I've enabled Multisite. I think my problem is that WC doesn't get enabled that Persian WC doesn't recognize it as enabled too.

I did what you said one by one but unfortunately didn't work.

Do you want to make an admin user to see what's the problem?

Hurm...
What you could try is to simply remove the checker to see if WC is installed.

Line: 22 of woocommerce-payperpost.php
just comment out
add_action( 'admin_init', __CLASS__ . '::woocommerce_dependencies' );

Then activate and see if it functions properly.

mehrdadwordpress
Member
Posted 12 hours ago #

It works!

I've not used it properly yet but there is options of PPP on the Settings panel and New Post page.
I should find what's the problem that other plugins cannot detect Woocommerce as enabled.

Thank you again for great support Matt. :)

mehrdadwordpress
Member
Posted 7 minutes ago #

Aaa.. Excuse me another question.

Can we remove any code to make user pay for every visit from the post ?
(the post includes a test)

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 231 تاريخ : شنبه 22 خرداد 1395 ساعت: 15:43