could not be activated because it triggered a fatal error.
-
I have recently updated my site from an old custom them to a new one using elementor, but since the change I can not activate the Afterpay plugin. When I try I get this error,
Fatal Error
- Line 78
- Message Uncaught Error: Call to undefined method WC_Gateway_Afterpay::getInstance() in /home/customer/www/empirechopsticks.com.au/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php:78 Stack trace: #0 /home/customer/www/empirechopsticks.com.au/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php(330): Afterpay_Plugin->__construct() #1 /home/customer/www/empirechopsticks.com.au/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php(353): Afterpay_Plugin::init() #2 /home/customer/www/empirechopsticks.com.au/public_html/wp-includes/class-wp-hook.php(310): Afterpay_Plugin::activate_plugin(”) #3 /home/customer/www/empirechopsticks.com.au/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array) #4 /home/customer/www/empirechopsticks.com.au/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /home/customer/www/empirechopsticks.com.au/public
- File/home/customer/www/empirechopsticks.com.au/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/afterpay-gateway-for-woocommerce.php
Would appreciate some help! thanks.
- The topic ‘could not be activated because it triggered a fatal error.’ is closed to new replies.