• Resolved Twansparant

    (@twansparant)


    Hi there,

    After updating wordpress to version 6.7 or higher, I’m getting this notice message in my frontend:

    Notice: Function _load_textdomain_just_in_time was called?incorrectly. Translation loading for the?cloudinary?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?/srv/www/domain.com/current/web/wp/wp-includes/functions.php?on line?6114

    Somehow this completely breaks my admin with this error:

    Cannot modify header information - headers already sent by (output started at /srv/www/domain.com/current/web/wp/wp-includes/functions.php:6114)

    I saw this notice for lots of plugins, but they all have seem to fixed it except this one.
    Any idea when this will be adressed?

    Thanks, Toine

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support loic @ cloudinary

    (@loiccloudinary)

    Hi @twansparant,

    Could you share any steps to reproduce it? I am on v6.7.1 and everything seems to work fine.

    Thanks in advance.

    Best,

    Loic

    Thread Starter Twansparant

    (@twansparant)

    Hi @loiccloudinary we meet again ??

    Yes sure thing! When you enable debugging in wp-config.php:

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_DISPLAY', true );

    And activate a default theme like Twenty Twenty-Two for example, you will see the following notices/warnings:

    Notice: Function _load_textdomain_just_in_time was called?incorrectly. Translation loading for the?cloudinary?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

    Warning: Cannot modify header information – headers already sent by (output started at /wp-includes/functions.php:6114) in?/wp-admin/includes/misc.php?on line?1438

    Warning: Cannot modify header information – headers already sent by (output started at /wp-includes/functions.php:6114) in?/wp-includes/functions.php?on line?7137

    Warning: Cannot modify header information – headers already sent by (output started at /wp-includes/functions.php:6114) in?/wp-admin/admin-header.php?on line?9

    Plugin Support loic @ cloudinary

    (@loiccloudinary)

    Hi @twansparant,

    Indeed ??

    Thanks for sharing this, I am using Twenty-Twenty on my side. I’ll try to add the debug headers but I am confused because those are only warnings and you mentioned it is breaking your website so I am wondering how this could happen. Even without debug headers, I should have some errors in my case.

    I’ll let you know if I get anything.

    Best,

    Loic

    Thread Starter Twansparant

    (@twansparant)

    Thanks!
    To be clear it doesn’t break the Twenty Twenty-Two theme but it will display the warnings, but somehow it does break my own custom theme with a headers already sent error.

    Plugin Support loic @ cloudinary

    (@loiccloudinary)

    Hi @twansparant

    I am afraid I am not able to reproduce the issue. I am not able to get any warning on my side.

    Could you please send a system report to [email protected]?

    Thanks,

    Loic

    Plugin Support loic @ cloudinary

    (@loiccloudinary)

    Hi @twansparant

    Can you also confirm you are using the last version of our plugin?

    Thanks,

    Loic

    Thread Starter Twansparant

    (@twansparant)

    Hi @loiccloudinary,

    Yes I can confirm, I’m on:

    • WordPress v6.7.1
    • Twenty Twenty-Two v1.9
    • Cloudinary v3.2.3

    With define( 'WP_DEBUG_DISPLAY', true ); enabled the notice is printed at the top of the body:

    Notice: Function _load_textdomain_just_in_time was called?incorrectly. Translation loading for the?cloudinary?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?/srv/www/domain.com/current/web/wp/wp-includes/functions.php?on line?6114

    Plugin Support loic @ cloudinary

    (@loiccloudinary)

    Hi @twansparant

    Thanks for confirming.
    Is it reproducible with another theme like twenty-twenty?

    Thanks,

    Loic

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