Title: Multi-language bug
Last modified: March 7, 2022

---

# Multi-language bug

 *  Resolved [estalhun](https://wordpress.org/support/users/estalhun/)
 * (@estalhun)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/multi-language-bug/)
 * Hello Guys,
 * I have the same issue with or without LiteSpeed Cache Pro as this poor guy:
    
   [https://wordpress.org/support/topic/urgent-infinite-ajax-loading-on-checkout-for-second-language/#post-15434102](https://wordpress.org/support/topic/urgent-infinite-ajax-loading-on-checkout-for-second-language/#post-15434102)
 * I use TranslatePress Pro and Astra Pro Theme.
    Bad solution: When I exclude woocommerce-
   paypal-payments text domain from Gettext the problem is gone. Better solution:
   fix the plugin.
 * Log without sensitive data:
 *     ```
       2022-03-07T14:18:57+00:00 CRITICAL #!trpst#trp-gettext data-trpgettextoriginal=4464#!trpen#Uncaught DomainException: Major, minor, and patch numbers in version string "#!trpst#trp-gettext data-trpgettextoriginal=8568#!trpen#1.7.0#!trpst#/trp-gettext#!trpen#" must be numeric in antibacvir.hu/wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/versions/src/StringVersionFactory.php:101
       Stack trace:
       #0 antibacvir.hu/wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/versions/src/StringVersionFactory.php(29): Dhii\Versions\StringVersionFactory->parseVersion('#!trpst#trp-get...')
       #1 antibacvir.hu/wp-content/plugins/woocommerce-paypal-payments/src/FilePathPluginFactory.php(120): Dhii\Versions\StringVersionFactory->createVersionFromString('#!trpst#trp-get...')
       #2 antibacvir.hu/wp-content/plugins/woocommerce-paypal-payments/src/FilePathPluginFactory.php(99): WooCommerce\PayPalCommerce\FilePathPluginFactory->create_version('#!trpst#trp-get...')
       #3 antibacvir.hu/wp-content/plugins/woocommerce-paypal-payments/src/services in antibacvir.hu/wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/containers/src/CachingContainer.php on line 66#!trpst#/trp-gettext#!trpen#
       ```
   
 * It definitely not caching plug-in bug, it is the problem of WooCommerce PayPal
   Payments.
 * Cheers,
    István
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmulti-language-bug%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/multi-language-bug/#post-15446640)
 * Hi [@estalhun](https://wordpress.org/support/users/estalhun/),
 * You may want to perform a full conflict test to rule out eventual issues with
   the theme or a different plugin. We recommend temporarily activating the [default theme Storefront](https://wordpress.org/themes/storefront/)
   and disabling all other plugins except for WooCommerce and PayPal Payments to
   see if the behavior persists.
    Thanks!
 * Kind regards,
    Niklas
 *  Thread Starter [estalhun](https://wordpress.org/support/users/estalhun/)
 * (@estalhun)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/multi-language-bug/#post-15465080)
 * Hello Niklas,
 * The problem is exists only when I use a secondary language, so I can’t deactivate
   the TranslatePress plugin.
 * The problem is still persist:
 *     ```
       2022-03-16T15:01:08+00:00 CRITICAL #!trpst#trp-gettext data-trpgettextoriginal=4464#!trpen#Uncaught DomainException: Major, minor, and patch numbers in version string "#!trpst#trp-gettext data-trpgettextoriginal=8568#!trpen#1.7.0#!trpst#/trp-gettext#!trpen#" must be numeric in staging.antibacvir.hu/wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/versions/src/StringVersionFactory.php:101
       Stack trace:
       #0 staging.antibacvir.hu/wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/versions/src/StringVersionFactory.php(29): Dhii\Versions\StringVersionFactory->parseVersion('#!trpst#trp-get...')
       #1 staging.antibacvir.hu/wp-content/plugins/woocommerce-paypal-payments/src/FilePathPluginFactory.php(120): Dhii\Versions\StringVersionFactory->createVersionFromString('#!trpst#trp-get...')
       #2 staging.antibacvir.hu/wp-content/plugins/woocommerce-paypal-payments/src/FilePathPluginFactory.php(99): WooCommerce\PayPalCommerce\FilePathPluginFactory->create_version('#!trpst#trp-get...')
       #3 staging.antibacvir.hu/wp-content/plugins/ in staging.antibacvir.hu/wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/containers/src/CachingContainer.php on line 66#!trpst#/trp-gettext#!trpen#
       ```
   
 * Cheers,
    István
 * Status report:
 *     ```
       ### WordPress Environment ###
       WC Version: 6.2.1
       REST API Version: ✔ 6.2.1
       WC Blocks Version: ✔ 6.7.3
       Action Scheduler Version: ✔ 3.4.0
       WC Admin Version: ✔ 3.1.0
       Log Directory Writable: ✔
       WP Version: 5.9.2
       WP Multisite: –
       WP Memory Limit: 512 MB
       WP Debug Mode: –
       WP Cron: –
       Language: hu_HU
       External object cache: –
   
       ### Server Environment ###
   
       Server Info: LiteSpeed
       PHP Version: 7.4.28
       PHP Post Max Size: 128 MB
       PHP Time Limit: 300
       PHP Max Input Vars: 5000
       cURL Version: 7.71.0
       OpenSSL/1.1.1d
   
       SUHOSIN Installed: –
       MySQL Version: 10.5.15-MariaDB-cll-lve
       Max Upload Size: 64 MB
       Default Timezone is UTC: ✔
       fsockopen/cURL: ✔
       SoapClient: ✔
       DOMDocument: ✔
       GZip: ✔
       Multibyte String: ✔
       Remote Post: ✔
       Remote Get: ✔
   
       ### Database ###
   
       WC Database Version: 6.2.1
   
       ### Security ###
   
       Secure connection (HTTPS): ✔
       Hide errors from visitors: ✔
   
       ### Active Plugins (4) ###
   
       TranslatePress - Business: by Cozmoslabs
       Razvan Mocanu
       Madalin Ungureanu – 1.1.0
   
       TranslatePress - Multilingual: by Cozmoslabs
       Razvan Mocanu
       Madalin Ungureanu
       Cristophor Hurduban – 2.2.1
   
       WooCommerce PayPal Payments: by WooCommerce – 1.7.0
       WooCommerce: by Automattic – 6.2.1 (update to version 6.2.2 is available)
   
       ### Inactive Plugins (65) ###
   
       ### Dropin Plugins (1) ###
   
       maintenance.php: maintenance.php
   
       ### Must Use Plugins (1) ###
   
       Health Check Troubleshooting Mode: by  – 1.7.2
   
       ### Settings ###
   
       API Enabled: –
       Force SSL: –
       Currency: HUF (Ft)
       Currency Position: right_space
       Thousand Separator: 
       Decimal Separator: ,
       Number of Decimals: 1
       Taxonomies: Product Types: external (external)
       grouped (grouped)
       simple (simple)
       variable (variable)
   
       ### Theme ###
   
       Name: Storefront
       Version: 4.0.0
       Author URL: https://woocommerce.com/
       Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
       WooCommerce Support: ✔
   
       ### Templates ###
   
       Overrides: –
   
       ### WooCommerce PayPal Payments ###
   
       Onboarded: ✔
       Shop country code: HU
       WooCommerce currency supported: ✔
       PayPal card processing available in country: –
       Pay Later messaging available in country: –
       Webhook status: –
       Vault enabled: ✔
       Logging enabled: –
       Reference Transactions: –
       Used PayPal Checkout plugin: ✔
   
       ### Action Scheduler ###
   
       Complete: 407
       Oldest: 2022-03-09 14:19:21 +0100
       Newest: 2022-03-16 16:00:31 +0100
   
       Pending: 9
       Oldest: 2022-03-16 16:41:33 +0100
       Newest: 2022-03-17 15:35:55 +0100
   
       ### Status report information ###
   
       Generated at: 2022-03-16 16:01:59 +01:00
       ```
   
    -  This reply was modified 4 years, 2 months ago by [estalhun](https://wordpress.org/support/users/estalhun/).
 *  Plugin Support [Syde Joost](https://wordpress.org/support/users/joostvandevijver/)
 * (@joostvandevijver)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/multi-language-bug/#post-15845695)
 * Hello [@estalhun](https://wordpress.org/support/users/estalhun/)
 * we have received a similar issue like yours and with the information provided
   we have been able to reproduce the issue. This issue in that case was caused 
   by letters being used in the the version identification in our plugin and was
   resolved if we only used numbers in it. This is not the case in your setup (as
   shown here), but I think your situation might be resolved if you update both 
   PayPal Payments and
 * WooCommerce PayPal Payments – Version 1.9.0
    TranslatePress – Multilingual – 
   Version 2.3.1
 * In our environment, the issue only occurred when we were using beta versions 
   that have the identification like **1.9.1-test1**; the letters are expected to
   be causing the issue. Since there was no communication on this for quite some
   time I would expect that updates might have already resolved this issue, so I
   will mark this as resolved.
    The bug we opened for this issue (to correct the
   issue with the letters) will be looked into and you will still get an update 
   on this thread if a fix has been release.
 * Kind regards,
    Joost

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Multi-language bug’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-paypal-payments/assets/icon-256x256.png?rev=
   3234615)
 * [WooCommerce PayPal Payments](https://wordpress.org/plugins/woocommerce-paypal-payments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-paypal-payments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-paypal-payments/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-paypal-payments/reviews/)

## Tags

 * [minor](https://wordpress.org/support/topic-tag/minor/)

 * 3 replies
 * 3 participants
 * Last reply from: [Syde Joost](https://wordpress.org/support/users/joostvandevijver/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/multi-language-bug/#post-15845695)
 * Status: resolved