• I have a test site to check out all the load_textdomain issues I am experiencing since WP 6.7
    This site cannot be accessed from the net.
    One of the “problems” is Storefront.
    I read the issue where it seemed to be due to the child theme.
    So I created a site within a multi site with WP 6.7.1 and only Storefront 4.6.0.
    But the Notice still appears.
    I have seen your code that you attach load_textdomain to after_setup_theme action.
    Apparently that is not sufficient to remedy the notice?
    With another theme I had something similar and attaching the load to the init action remedied it.

    Can you please investigate why I am still getting the notice?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @harm10 ,

    Thanks for reaching out!

    I understand you’re encountering the PHP notice: Function _load_textdomain_just_in_time was called incorrectly. Based on your observations from another thread, you initially suspected the issue might be related to your child theme. However, you’ve already tested this in a staging environment using the parent theme with the latest WordPress version (6.7.1), so it seems the child theme is not the cause.

    It’s worth noting that some plugins can also load their translations too early, which might trigger similar notices. If the issue persists after updating your theme, I recommend deactivating your plugins one by one to identify if a specific plugin is causing the problem.

    If you could share the full error message, that would help us determine whether it’s coming from a third-party plugin or the theme itself.

    Additionally, if you’d prefer to avoid these notices disrupting frontend functionality, you can add the following code snippet to your wp-config.php file. This will suppress such notices unless you’re actively troubleshooting:

    define( 'WP_DEBUG_DISPLAY', false );  

    For more details about translation loading changes in WordPress 6.7, you can refer to the WooCommerce Developer Advisory.

    Please check this and let us know how it goes!

    Thread Starter Harm10

    (@harm10)

    Thank you for your reply.

    All Notices irrespective of theme/plugin point to the same location: in /myurl/wp-includes/functions.php on line 6114

    I know I can switch the display off with that WP_DEBUG_DISPLAY option, but that will mean that I will not see anything in the log anymore.

    I have tested whether this message influences theme translation to my language and it does not.
    So it is not blocking anything at the moment.

    Is there a new release planned soon?

    Hello Harm10,

    Thank you for your reply.

    I am glad to know that this notice is not affecting the functionality of your site.

    Regarding the new release, I do not have a timeline for the release.
    But you will be notified when there is an update for the Storefront theme.

    Have a great day!

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