• There seems to be an issue with translation in the plugin when using WordPress 6.7 it produces a deprecation warning.

    Notice: Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>woocommerce-paypal-payments</code> 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 <code>init</code> action or later. Please see <a href=”https://developer.www.ads-software.com/advanced-administration/debug/debug-wordpress/”>Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.) in /wwwroot/wp-includes/functions.php on line 6114

    I’ve commented out the warning in my WordPress core files and translation seems to be working so its not an urgent issue but I wondered if its just me affected or if its a general compatibility issue.

    I’m using the latest version of the plugin available 2.9.4

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Femi

    (@femiyb)

    Hello @spottedpaint

    The deprecation warning you’re seeing in WordPress 6.7 indicates that the translation loading for the woocommerce-paypal-payments domain is being triggered earlier than recommended. WordPress now advises that translations be loaded at the init action or later to ensure compatibility with the latest core changes. This is why you’re seeing the _load_textdomain_just_in_time notice.

    This issue may indeed be due to an early loading function within the WooCommerce PayPal Payments plugin, which could affect compatibility with WordPress 6.7.

    We have noted this and will look into it. Also please note that this is not a critical issue and should not break any functions won the plugin or your site.

    Regards,
    Femi

    benoitfouc

    (@benoitfouc)

    Hello everybody, i’ve the same error message on my website https://boutique.nature-partage.com/

    And that broke some French and Spanish translations with the Paypal Plugin, since the update 6.7 of WP.

    Regards

    Updating to 6.7 brokes Polish translation of WooCommerce ?? Downgrading WP core to 6.6x fix problem.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.