Title: Please fix your code. (WordPress PHP Warning).
Last modified: December 30, 2025

---

# Please fix your code. (WordPress PHP Warning).

 *  Resolved [legarsfred](https://wordpress.org/support/users/legarsfred/)
 * (@legarsfred)
 * [5 months ago](https://wordpress.org/support/topic/please-fix-tour-code-wordpress-php-warning/)
 * Your code is generating too much logs because of a deprecated action : “load_textdomain_just_in_time”
   [
   22-Dec-2025 18:25:16 UTC] PHP Notice: The _load_textdomain_just_in_time function
   was called incorrectly. Loading the translation for the cookie-law-info domain
   was triggered too early. This usually indicates that code in the plugin or theme
   is executing too early. Translations should be loaded at the time of the init
   action or later. Please see Debugging in WordPress for more information.
    -  This topic was modified 5 months ago by [legarsfred](https://wordpress.org/support/users/legarsfred/).

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Support [Ryan (CookieYes Support)](https://wordpress.org/support/users/ryancysupport/)
 * (@ryancysupport)
 * [5 months ago](https://wordpress.org/support/topic/please-fix-tour-code-wordpress-php-warning/#post-18771344)
 * Hi Frédéric,
 * Thank you for reporting this and for sharing the error details.
 * This issue related to the `load_textdomain_just_in_time` notice has **already
   been fixed and released** in a recent update of the plugin.
 * If you’re not on the latest version yet, we recommend updating to the latest 
   release and checking whether the notice has been resolved.
 * If the issue persists after updating, please share the following, and we’ll be
   happy to take a closer look.
    - Plugin version
    - WordPress version
    - PHP version
 * You can share it securely through [here](https://www.cookieyes.com/support/).
 *  Plugin Support [Ryan (CookieYes Support)](https://wordpress.org/support/users/ryancysupport/)
 * (@ryancysupport)
 * [4 months, 3 weeks ago](https://wordpress.org/support/topic/please-fix-tour-code-wordpress-php-warning/#post-18777458)
 * Hello Frédéric,
 * It has been quite some time since our last communication. As we did not receive
   any follow-up questions from you, we will mark this thread as resolved.
 * Please open a new thread if you are still facing issues or have questions that
   you need us to answer.
 *  Thread Starter [legarsfred](https://wordpress.org/support/users/legarsfred/)
 * (@legarsfred)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/please-fix-tour-code-wordpress-php-warning/#post-18784589)
 * I have version 3.3.9.1 (last). And this warning is still here sorry… Keep generating
   lines and lines in my debug.log !! 
   [13-Jan-2026 15:45:36 UTC] PHP Notice: The
   function _load_textdomain_just_in_time was called incorrectly. Loading the translation
   for the domain `cookie-law-info` was triggered too early. This usually indicates
   that code in the plugin or theme is executing too early. Translations should 
   be loaded at the time of the `init` action or later.Thank you.
 *  Plugin Support [Ryan (CookieYes Support)](https://wordpress.org/support/users/ryancysupport/)
 * (@ryancysupport)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/please-fix-tour-code-wordpress-php-warning/#post-18794428)
 * Hi Frédéric,
 * Thank you for the update and for confirming the plugin version.
 * We’ve verified that version **3.3.9.1** includes the fix for the `load_textdomain_just_in_time`
   notice. In most recent cases, we’ve seen this warning persist when the **WordPress
   core version is outdated** or when there’s a compatibility mismatch between WordPress
   and the plugin.
 * Could you please update your WordPress installation to the **latest stable version**,
   and then check if the notice still appears?
 *  Thread Starter [legarsfred](https://wordpress.org/support/users/legarsfred/)
 * (@legarsfred)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/please-fix-tour-code-wordpress-php-warning/#post-18795795)
 * Hi,
 * Thank you for investigating, but the issue is still here.
   I have last wordpress
   version, caches flushed, reinstalled… WordPress debug.log is still growing…
 *     ```wp-block-code
       [23-Jan-2026 08:40:40 UTC] PHP Notice: The function _load_textdomain_just_in_time was called incorrectly. Loading the translation for the domain cookie-law-info was triggered too early. This usually indicates that code in the plugin or theme is running too early. Translations should be loaded at the time of the init action or later. Please read Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/***/frequenceterre.com/wp-includes/functions.php on line 6131WP config : wp-coreversion: 6.9site_language: fr_FRuser_language: fr_FRtimezone: Europe/Parispermalink: /%year%/%monthnum%/%day%/%postname%/https_status: truemultisite: falseuser_registration: 0blog_public: 1default_comment_status: openenvironment_type: productionuser_count: 15dotorg_communication: true
       ```
   
 * If you don’t fix this issue, I will have to find another cookie notice plugin.
   Sorry.
 *  Plugin Support [Ryan (CookieYes Support)](https://wordpress.org/support/users/ryancysupport/)
 * (@ryancysupport)
 * [4 months ago](https://wordpress.org/support/topic/please-fix-tour-code-wordpress-php-warning/#post-18797976)
 * Hi Frédéric,
 * Thanks for the detailed follow-up. One important thing to check here is whether
   the site is still using the **legacy version** of the CookieYes plugin UI. The
   fix you’re referring to is fully available in the **migrated (new UI) version**,
   and sites that haven’t migrated may continue to see this notice even on the latest
   plugin version.
 * Please confirm whether your plugin has been migrated to the new UI. If not, you
   can upgrade by following the steps in our documentation here:
   [https://www.cookieyes.com/documentation/ui-migration/](https://www.cookieyes.com/documentation/ui-migration/)
 * After completing the migration, clear caches and recheck the debug log. If the
   warning still appears, we’ll be happy to investigate further.
 *  Plugin Support [Ryan (CookieYes Support)](https://wordpress.org/support/users/ryancysupport/)
 * (@ryancysupport)
 * [3 months, 2 weeks ago](https://wordpress.org/support/topic/please-fix-tour-code-wordpress-php-warning/#post-18818894)
 * Hello Frédéric,
 * It has been quite some time since our last communication. As we did not receive
   any response or follow-up questions from you, we will mark this thread as resolved.
 * Please open a new thread if you are still facing issues or have questions that
   you need us to answer.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplease-fix-tour-code-wordpress-php-warning%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/cookie-law-info/assets/icon.svg?rev=3007243)
 * [CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice)](https://wordpress.org/plugins/cookie-law-info/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-law-info/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-law-info/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-law-info/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-law-info/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-law-info/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Ryan (CookieYes Support)](https://wordpress.org/support/users/ryancysupport/)
 * Last activity: [3 months, 2 weeks ago](https://wordpress.org/support/topic/please-fix-tour-code-wordpress-php-warning/#post-18818894)
 * Status: resolved