• msrwebmaster

    (@msrwebmaster)


    the plugin seems to be working fine but our PHP error log is constantly adding a line as follows

    “[16-Jun-2026 16:36:31 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the events-manager 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 /home/mysewing/public_html/wp-includes/functions.php on line 6170″

    If we leave the plugin activated as is the error log will bloat to a considerable size eventually. Is this possibly a bug that can be fixed?

Viewing 1 replies (of 1 total)
  • joneiseman

    (@joneiseman)

    While waiting for this to be fixed you can avoid the error log bloat by adding the following code snippet:

    add_filter( 'doing_it_wrong_trigger_error', function( $status, $function_name ) {
    if ( '_load_textdomain_just_in_time' === $function_name ) {
    return false;
    }
    return $status;
    }, 10, 2 );

    You can use the Code Snippets plugin to add this code snippet.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.