Skip to content Skip to sidebar

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 2 replies, has 1 voice.

Last updated by kamal-kishorS-2 1 day, 12 hours ago.

Author Posts
August 28, 2025 at 7:51 pm #17356271

kamal-kishorS-2

Background of the issue:
I am trying to activate the plugin WooCommerce Multilingual & Multicurrency on my website.

Symptoms:
The website started showing a critical error and broke after activating the plugin.

Questions:
Why does activating the WooCommerce Multilingual & Multicurrency plugin cause a critical error?
How can I fix the critical error caused by the plugin activation?

August 28, 2025 at 8:11 pm #17356277

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

While one of my teammates handles your ticket, I will provide you with initial debugging steps.

First, you need to see what the errors are. Guessing what might be the problem and trying different solutions may lead to even more trouble. The first step is to enable debug. You can do this by adding a few lines to the site’s wp-config.php file. With error log enabled, you will see what the actual problem is.

To enable it, open your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:

define('WP_DEBUG', true);

In order to enable the error logging to a file on the server you need to add yet one more similar line:

define( 'WP_DEBUG_LOG', true );

In this case, the errors will be saved to a debug.log log file inside the /wp-content/directory.

https://wpml.org/documentation/support/debugging-wpml/

Let us know what you see in the debug.log after the debug mode has been enabled.

August 28, 2025 at 8:37 pm #17356361

kamal-kishorS-2

HI,

The log as mentioned below:
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the angelleye-updater domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/ivgrudj/public_html/wp-includes/functions.php on line 6121

Warning: Undefined array key "ppcp-gateway" in /home/ivgrudj/public_html/wp-content/plugins/woocommerce-multilingual/classes/multi-currency/payment-gateways/class-wcml-currencies-payment-gateways.php on line 147

Fatal error: Uncaught Error: Call to a member function get_setting() on null in /home/ivgrudj/public_html/wp-content/plugins/woocommerce-multilingual/classes/multi-currency/payment-gateways/class-wcml-currencies-payment-gateways.php:147 Stack trace: #0 /home/ivgrudj/public_html/wp-includes/class-wp-hook.php(324): WCML_Currencies_Payment_Gateways->filter_gateway_description() #1 /home/ivgrudj/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() #2 /home/ivgrudj/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-payment-gateway.php(385): apply_filters() #3 /home/ivgrudj/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-settings/src/Data/Definition/PaymentMethodsDefinition.php(110): WC_Payment_Gateway->get_description() #4 /home/ivgrudj/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-settings/src/Data/Definition/PaymentMethodsDefinition.php(87): WooCommerce\PayPalCommerce\Settings\Data\Definition\PaymentMethodsDefinition->build_method_definition() #5 /home/ivgrudj/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-settings/src/Endpoint/PaymentRestEndpoint.php(91): WooCommerce\PayPalCommerce\Settings\Data\Definition\PaymentMethodsDefinition->get_definitions() #6 /home/ivgrudj/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-settings/src/Endpoint/PaymentRestEndpoint.php(124): WooCommerce\PayPalCommerce\Settings\Endpoint\PaymentRestEndpoint->gateways() #7 /home/ivgrudj/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-settings/services.php(267): WooCommerce\PayPalCommerce\Settings\Endpoint\PaymentRestEndpoint->get_details() #8 /home/ivgrudj/public_html/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Inpsyde/Modularity/Container/ReadOnlyContainer.php(58): WooCommerce\PayPalCommerce\Settings\SettingsModule::WooCommerce\PayPalCommerce\Settings\{closure}() #9 /home/ivgrudj/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-settings/services.php(289): WooCommerce\PayPalCommerce\Vendor\Inpsyde\Modularity\Container\ReadOnlyContainer->get() #10 /home/ivgrudj/public_html/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Inpsyde/Modularity/Container/ReadOnlyContainer.php(58): WooCommerce\PayPalCommerce\Settings\SettingsModule::WooCommerce\PayPalCommerce\Settings\{closure}() #11 /home/ivgrudj/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-settings/services.php(241): WooCommerce\PayPalCommerce\Vendor\Inpsyde\Modularity\Container\ReadOnlyContainer->get() #12 /home/ivgrudj/public_html/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Inpsyde/Modularity/Container/ReadOnlyContainer.php(58): WooCommerce\PayPalCommerce\Settings\SettingsModule::WooCommerce\PayPalCommerce\Settings\{closure}() #13 /home/ivgrudj/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-settings/services.php(235): WooCommerce\PayPalCommerce\Vendor\Inpsyde\Modularity\Container\ReadOnlyContainer->get() #14 /home/ivgrudj/public_html/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Inpsyde/Modularity/Container/ReadOnlyContainer.php(58): WooCommerce\PayPalCommerce\Settings\SettingsModule::WooCommerce\PayPalCommerce\Settings\{closure}() #15 /home/ivgrudj/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-settings/src/SettingsModule.php(175): WooCommerce\PayPalCommerce\Vendor\Inpsyde\Modularity\Container\ReadOnlyContainer->get() #16 /home/ivgrudj/public_html/wp-includes/class-wp-hook.php(324): WooCommerce\PayPalCommerce\Settings\SettingsModule::WooCommerce\PayPalCommerce\Settings\{closure}() #17 /home/ivgrudj/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #18 /home/ivgrudj/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #19 /home/ivgrudj/public_html/wp-includes/rest-api.php(628): do_action() #20 /home/ivgrudj/public_html/wp-includes/rest-api.php(586): rest_get_server() #21 /home/ivgrudj/public_html/wp-includes/rest-api.php(2973): rest_do_request() #22 [internal function]: rest_preload_api_request() #23 /home/ivgrudj/public_html/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(407): array_reduce() #24 [internal function]: Google\Site_Kit\Core\Assets\Assets->Google\Site_Kit\Core\Assets\{closure}() #25 /home/ivgrudj/public_html/wp-content/plugins/google-site-kit/includes/Core/Assets/Script_Data.php(51): call_user_func() #26 [internal function]: Google\Site_Kit\Core\Assets\Script_Data->Google\Site_Kit\Core\Assets\{closure}() #27 /home/ivgrudj/public_html/wp-content/plugins/google-site-kit/includes/Core/Assets/Asset.php(130): call_user_func() #28 /home/ivgrudj/public_html/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(1068): Google\Site_Kit\Core\Assets\Asset->before_print() #29 /home/ivgrudj/public_html/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(1077): Google\Site_Kit\Core\Assets\Assets->run_before_print_callbacks() #30 /home/ivgrudj/public_html/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(1077): Google\Site_Kit\Core\Assets\Assets->run_before_print_callbacks() #31 /home/ivgrudj/public_html/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(1077): Google\Site_Kit\Core\Assets\Assets->run_before_print_callbacks() #32 /home/ivgrudj/public_html/wp-content/plugins/google-site-kit/includes/Core/Assets/Assets.php(172): Google\Site_Kit\Core\Assets\Assets->run_before_print_callbacks() #33 /home/ivgrudj/public_html/wp-includes/class-wp-hook.php(324): Google\Site_Kit\Core\Assets\Assets->Google\Site_Kit\Core\Assets\{closure}() #34 /home/ivgrudj/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #35 /home/ivgrudj/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #36 /home/ivgrudj/public_html/wp-includes/script-loader.php(2251): do_action() #37 /home/ivgrudj/public_html/wp-includes/class-wp-hook.php(324): wp_print_head_scripts() #38 /home/ivgrudj/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #39 /home/ivgrudj/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #40 /home/ivgrudj/public_html/wp-includes/general-template.php(3192): do_action() #41 /home/ivgrudj/public_html/wp-content/themes/steeler/header.php(15): wp_head() #42 /home/ivgrudj/public_html/wp-includes/template.php(810): require_once('/home/ivgrudj/p...') #43 /home/ivgrudj/public_html/wp-includes/template.php(745): load_template() #44 /home/ivgrudj/public_html/wp-includes/general-template.php(48): locate_template() #45 /home/ivgrudj/public_html/wp-content/themes/steeler/woocommerce.php(5): get_header() #46 /home/ivgrudj/public_html/wp-includes/template-loader.php(106): include('/home/ivgrudj/p...') #47 /home/ivgrudj/public_html/wp-blog-header.php(19): require_once('/home/ivgrudj/p...') #48 /home/ivgrudj/public_html/index.php(17): require('/home/ivgrudj/p...') #49 {main} thrown in /home/ivgrudj/public_html/wp-content/plugins/woocommerce-multilingual/classes/multi-currency/payment-gateways/class-wcml-currencies-payment-gateways.php on line 147
There has been a critical error on this website.

Regards,
Kamal

August 28, 2025 at 8:46 pm #17356384

kamal-kishorS-2

Hi,
I have deactivated plugin WooCommerce PayPal Payments and issue resolved.

Thanks,
Kamal