• Since WordPress 6.7 a lot of plugins provoke this message and the “Product quantity for WooCommerce” plugin is among them. Full message that gets logged:

    [23-Nov-2024 10:43:31 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the product-quantity-for-woocommerce 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 …\wp-includes\functions.php on line 6114
    [23-Nov-2024 10:43:31 UTC] PHP Stack trace:
    [23-Nov-2024 10:43:31 UTC] PHP 1. {main}() …\wp-admin\admin-ajax.php:0
    [23-Nov-2024 10:43:31 UTC] PHP 2. require_once() …\wp-admin\admin-ajax.php:22
    [23-Nov-2024 10:43:31 UTC] PHP 3. require_once() …\wp-load.php:50
    [23-Nov-2024 10:43:31 UTC] PHP 4. require_once() …\wp-config.php:108
    [23-Nov-2024 10:43:31 UTC] PHP 5. do_action($hook_name = ‘plugins_loaded’) …\wp-settings.php:559
    [23-Nov-2024 10:43:31 UTC] PHP 6. WP_Hook->do_action($args = [0 => ”]) …\wp-includes\plugin.php:517
    [23-Nov-2024 10:43:31 UTC] PHP 7. WP_Hook->apply_filters($value = ”, $args = [0 => ”]) …\wp-includes\class-wp-hook.php:348
    [23-Nov-2024 10:43:31 UTC] PHP 8. alg_wc_pq(”) …\wp-includes\class-wp-hook.php:324
    [23-Nov-2024 10:43:31 UTC] PHP 9. Alg_WC_PQ::instance() …\wp-content\plugins\product-quantity-for-woocommerce\product-quantity-for-woocommerce.php:353
    [23-Nov-2024 10:43:31 UTC] PHP 10. Alg_WC_PQ->construct() …\wp-content\plugins\product-quantity-for-woocommerce\product-quantity-for-woocommerce.php:111 [23-Nov-2024 10:43:31 UTC] PHP 11. Alg_WC_PQ->admin() …\wp-content\plugins\product-quantity-for-woocommerce\product-quantity-for-woocommerce.php:149 [23-Nov-2024 10:43:31 UTC] PHP 12. Alg_WC_PQ->move_wc_settings_tab_to_wpfactory_menu() …\wp-content\plugins\product-quantity-for-woocommerce\product-quantity-for-woocommerce.php:197 [23-Nov-2024 10:43:31 UTC] PHP 13. ($text = ‘Product Quantity’, $domain = ‘product-quantity-for-woocommerce’) …\wp-content\plugins\product-quantity-for-woocommerce\product-quantity-for-woocommerce.php:290
    [23-Nov-2024 10:43:31 UTC] PHP 14. translate($text = ‘Product Quantity’, $domain = ‘product-quantity-for-woocommerce’) …\wp-includes\l10n.php:306
    [23-Nov-2024 10:43:31 UTC] PHP 15. get_translations_for_domain($domain = ‘product-quantity-for-woocommerce’) …\wp-includes\l10n.php:194
    [23-Nov-2024 10:43:31 UTC] PHP 16. _load_textdomain_just_in_time($domain = ‘product-quantity-for-woocommerce’) …\wp-includes\l10n.php:1408
    [23-Nov-2024 10:43:31 UTC] PHP 17. _doing_it_wrong($function_name = ‘_load_textdomain_just_in_time’, $message = ‘Translation loading for the product-quantity-for-woocommerce 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.’, $version = ‘6.7.0’) …\wp-includes\l10n.php:1378
    [23-Nov-2024 10:43:31 UTC] PHP 18. wp_trigger_error($function_name = ”, $message = ‘Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the product-quantity-for-woocommerce 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.)’, $error_level = uninitialized) …\wp-includes\functions.php:6054
    [23-Nov-2024 10:43:31 UTC] PHP 19. trigger_error($message = ‘Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the product-quantity-for-woocommerce 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.)’, $error_level = 1024) …\wp-includes\functions.php:6114

Viewing 1 replies (of 1 total)
  • Plugin Support Taha Amin

    (@tahaamin)

    Hi erwinbr,

    Thank you for reaching out. I’ve forwarded the message to our development team, and we’ll get back to you shortly. In the meantime, please ensure you’re using the latest version of the plugin (4.9.0) for the best performance and compatibility.

    Let me know if you need assistance with anything else!

    [ Signature deleted ]

    • This reply was modified 2 months, 3 weeks ago by Jan Dembowski.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.