[wp-trac] [WordPress Trac] #62557: Language still messed up

WordPress Trac noreply at wordpress.org
Sun Nov 24 10:17:41 UTC 2024


#62557: Language still messed up
--------------------------+-----------------------------
 Reporter:  Stefan M.     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.7.1
 Severity:  critical      |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I have a shop mioselection.com. Since the 6.7 Update, there was half
 english half german language. Bevore there was everything german.

 I updated to 6.7.1 today, and translation still messed up.

 Still a lot of following error messages:

 [24-Nov-2024 10:11:08 UTC] PHP 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.wordpress.org/advanced-administration/debug/debug-
 wordpress/">Debugging in WordPress</a> for more information. (This message
 was added in version 6.7.0.) in
 /home/fifuhoti/public_html/mioselection.com/wp-includes/functions.php on
 line 6114

 It seams, all plugins and also the theme is triggering the same error.

 {{{#!php
 <?php
 add_action('init', function () {
         if (function_exists('load_plugin_textdomain')) {
                 load_plugin_textdomain('WUKCAL',
 PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)).'/languages',
 dirname(plugin_basename( __FILE__ )).'/languages');
         }
 });
 }}}


 How is that wrong?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62557>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list