Failure activating plugin
-
I’m trying to test out this plugin so I installed a WordPress site locally (via LocalWP), added Woocommerce, and then added this WeeConnectPay plugin. So I only have two plugins installed. When I click the Activate button the page displays an error “Plugin could not be activated because it triggered a fatal error.” I have installed this on two localhost dev sites and same result.
I found the following logged in wp-content/uploads/wc-logs/fatal-errors-2025-08-27-960e8afb5aa41b69d86c907069a60421.log:
2025-08-27T16:36:02+00:00 CRITICAL Uncaught Error: Class "WeeConnectPay\Utils\LogService" not found in /Users/shaun/Local Sites/bare-woocommerce/app/public/wp-content/plugins/weeconnectpay/includes/modules/WeeConnectPay/Integration/Authentication.php:118 CONTEXT: {"error":{"type":1,"file":"/Users/shaun/Local Sites/bare-woocommerce/app/public/wp-content/plugins/weeconnectpay/includes/modules/WeeConnectPay/Integration/Authentication.php","line":118},"remote-logging":true,"backtrace":["","#0 /Users/shaun/Local Sites/bare-woocommerce/app/public/wp-content/plugins/weeconnectpay/includes/modules/WeeConnectPay/Integration/IntegrationSettings.php(1018): WeeConnectPay\Integrations\Authentication::fetchIntegrationId()","#1 /Users/shaun/Local Sites/bare-woocommerce/app/public/wp-content/plugins/weeconnectpay/includes/modules/WeeConnectPay/Integration/IntegrationSettings.php(1002): WeeConnectPay\Integrations\IntegrationSettings::initialize()","#2 /Users/shaun/Local Sites/bare-woocommerce/app/public/wp-content/plugins/weeconnectpay/includes/modules/WeeConnectPay/Integration/IntegrationSettings.php(762): WeeConnectPay\Integrations\IntegrationSettings::reinitialize()","#3 /Users/shaun/Local Sites/bare-woocommerce/app/public/wp-content/plugins/weeconnectpay/includes/WeeConnectPayActivator.php(57): WeeConnectPay\Integrations\IntegrationSettings::maybeFirstTimeInit()","#4 /Users/shaun/Local Sites/bare-woocommerce/app/public/wp-content/plugins/weeconnectpay/weeconnectpay.php(52): WeeConnectPay\WordPress\Plugin\includes\WeeConnectPayActivator::activate()","#5 /Users/shaun/Local Sites/bare-woocommerce/app/public/wp-includes/class-wp-hook.php(324): activate_weeconnectpay(false)","#6 /Users/shaun/Local Sites/bare-woocommerce/app/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)","#7 /Users/shaun/Local Sites/bare-woocommerce/app/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)","#8 /Users/shaun/Local Sites/bare-woocommerce/app/public/wp-admin/includes/plugin.php(703): do_action('activate_weecon…', false)","#9 /Users/shaun/Local Sites/bare-woocommerce/app/public/wp-admin/plugins.php(60): activate_plugin('weeconnectpay/w…', 'http://bare-woo…', false)","#10 {main}","thrown"]}I also attempted to install and activate this plugin on a sandbox website, which is hosted on a wordpress hosting setup and it activated okay. To me this is a little bit of a red flag, but maybe this is how you intended it to be?
The topic ‘Failure activating plugin’ is closed to new replies.