• Your plugin is throwing the following warning in WP 6.7 (WP_DEBUG constant set to TRUE):

    PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the yith-woocommerce-gift-cards 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.)

    The load_plugin_textdomain() function, currently being called within the plugins_loaded action, should instead be called within the init action.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello there,
    thanks for contacting us!

    This issue has been resolved in the latest versions of the plugin, so I recommend you update the plugin to the latest version and check if it still appears.

    Please let us know.

    Best regards.

    Thread Starter leemon

    (@leemon)

    I’m using the 4.21.0 version of the plugin.

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

The topic ‘Incorrect hook for load_plugin_textdomain()’ is closed to new replies.