• Resolved sgot

    (@sgot)


    Hi, i just want to report this warning, appeared in WP 6.7.0:

    Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the posts-to-posts 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. (This message was added in version 6.7.0.)

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support alexrollin

    (@alexrollin)

    Hi!

    Sorry for the trouble you are seeing there!

    Please make a ticket here https://wpgeodirectory.com/support/

    We can help you further and assign a developer to the case!

    Thread Starter sgot

    (@sgot)

    Hi Alex,

    I would open a ticket at the link you provided, but I cannot find the correct spot for the support for this plugin.

    Can you please be more specific? Should I maybe create an account?

    Thank you very much for your help.

    Plugin Support alexrollin

    (@alexrollin)

    Hello,

    to make a ticket please go here and click login -> register
    https://wpgeodirectory.com/support/

    2046

    (@o-o)

    the load_textdomain should be taken out of the function _p2p_load() {..} in posts-to-posts.php
    and run on “init” like this for example:

    function p2p_fix_load_textdomain(){
    load_plugin_textdomain( P2P_TEXTDOMAIN, '', basename( dirname( __FILE__ ) ) . '/lang' );
    }
    add_action( 'init', 'p2p_fix_load_textdomain' );


    just take out the load_plugin_text_domain from the function and put it on the end of the file.. or something like that.

    • This reply was modified 1 month ago by 2046.
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.