• Resolved tpg73

    (@tpg73)


    After updating WordPress to 6.7.2, the following message is now displayed in debug mode: “Notice: Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wp-search-with-algolia</code> domain was triggered too early.”

    Are there any plans to address this?

    I am using the Japanese version of WordPress. The details of the log are as follows.

    PHP Notice:  Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wp-search-with-algolia</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 /opt/wwwroot/wordpress/wp-includes/functions.php on line 6114
    PHP Stack trace:
    PHP 1. {main}() /opt/wwwroot/wordpress/index.php:0
    PHP 2. require() /opt/wwwroot/wordpress/index.php:17
    PHP 3. require_once() /opt/wwwroot/wordpress/wp-blog-header.php:13
    PHP 4. require_once() /opt/wwwroot/wordpress/wp-load.php:55
    PHP 5. require_once() /opt/wwwroot/wp-config.php:121
    PHP 6. include_once() /opt/wwwroot/wordpress/wp-settings.php:526
    PHP 7. require_once() /opt/wwwroot/wordpress/wp-content/plugins/wp-search-with-algolia/algolia.php:142
    PHP 8. esc_html__($text = 'The "algolia_should_require_search_client" filter is deprecated and no longer has any effect.', $domain = 'wp-search-with-algolia') /opt/wwwroot/wordpress/wp-content/plugins/wp-search-with-algolia/classmap.php:28
    PHP 9. translate($text = 'The "algolia_should_require_search_client" filter is deprecated and no longer has any effect.', $domain = 'wp-search-with-algolia') /opt/wwwroot/wordpress/wp-includes/l10n.php:339
    PHP 10. get_translations_for_domain($domain = 'wp-search-with-algolia') /opt/wwwroot/wordpress/wp-includes/l10n.php:194
    PHP 11. _load_textdomain_just_in_time($domain = 'wp-search-with-algolia') /opt/wwwroot/wordpress/wp-includes/l10n.php:1408
    PHP 12. _doing_it_wrong($function_name = '_load_textdomain_just_in_time', $message = 'Translation loading for the <code>wp-search-with-algolia</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.', $version = '6.7.0') /opt/wwwroot/wordpress/wp-includes/l10n.php:1370
    PHP 13. wp_trigger_error($function_name = '', $message = 'Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wp-search-with-algolia</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 ver'..., $error_level = *uninitialized*) /opt/wwwroot/wordpress/wp-includes/functions.php:6054
    PHP 14. trigger_error($message = 'Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>wp-search-with-algolia</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 ver'..., $error_level = 1024) /opt/wwwroot/wordpress/wp-includes/functions.php:6114
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.