Fatal error class-pay4pay.php on line 40
-
I have woocommerce and wordpress at the last version and php 8.0 and I receive this error if I enable this plugin:
Fatal error: Uncaught Error: Undefined constant “WC_VERSION” in /home/mhd-01/www.micapoco.it/htdocs/wp-content/plugins/woocommerce-pay-for-payment/inc/class-pay4pay.php:40 Stack trace: #0 /home/mhd-01/www.micapoco.it/htdocs/wp-content/plugins/woocommerce-pay-for-payment/inc/class-pay4pay.php(16): Pay4Pay->__construct() #1 /home/mhd-01/www.micapoco.it/htdocs/wp-content/plugins/woocommerce-pay-for-payment/woocommerce-payforpayment.php(32): Pay4Pay::instance() #2 /home/mhd-01/www.micapoco.it/htdocs/wp-includes/class-wp-hook.php(307): pay4payment_plugin_init() #3 /home/mhd-01/www.micapoco.it/htdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #4 /home/mhd-01/www.micapoco.it/htdocs/wp-includes/plugin.php(476): WP_Hook->do_action() #5 /home/mhd-01/www.micapoco.it/htdocs/wp-settings.php(461): do_action() #6 /home/mhd-01/www.micapoco.it/htdocs/wp-config.php(85): require_once(‘…’) #7 /home/mhd-01/www.micapoco.it/htdocs/wp-load.php(50): require_once(‘…’) #8 /home/mhd-01/www.micapoco.it/htdocs/wp-blog-header.php(13): require_once(‘…’) #9 /home/mhd-01/www.micapoco.it/htdocs/index.php(17): require(‘…’) #10 {main} thrown in /home/mhd-01/www.micapoco.it/htdocs/wp-content/plugins/woocommerce-pay-for-payment/inc/class-pay4pay.php on line 40The page I need help with: [log in to see the link]
The topic ‘Fatal error class-pay4pay.php on line 40’ is closed to new replies.