Textdomain error and performance problem with invalid keys
-
Hi!
We are getting this error in the backend (not frontend) if this plugin is active:
Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce-gateway-stripe 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.
Although this error message is already added in WordPress 6.7.
Additionally there is huge performance problem. I have dozens of broken requests to https://api.stripe.com/v1/account (401 Unauthorized) because of invalid test API keys.
Seems like the test API keys we’ve saved for you are no longer valid. If you recently updated them, use the Configure Connection button below to reconnect.
The problem is, that there is no notice that informs me about this problem. I installed Query Monitor, saw all the broken request and needed to go to WooCommerce -> Settings -> Payments -> Stripe -> Settings – 5 clicks deep inside Woo to see the actual problem and how to fix it. Not very user-friendly.
I know that reconnecting to Stripe will easily fix it, but this should be much easier to spot and/or should not produce these huge performance issues (we are talking about adding 6 seconds loading time to each page request in the backend!).
Hopefully this can be fixed in a future release.
Thanks in advance!
All the best
Torsten
The topic ‘Textdomain error and performance problem with invalid keys’ is closed to new replies.