• We are seeing the dreaded WordPress 6.7.x Translation notice for this plugin in particular:

    PHP Notice: Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>perfect-woocommerce-brands</code> domain was triggered too early.

    Plugin version 3.4.3.

    After reading: https://make.www.ads-software.com/core/2024/10/21/i18n-improvements-6-7/

    I have managed to suppress it with this code edit:

    /wp-content/plugins/perfect-woocommerce-brands/jetpack_vendor/quadlayers/wp-notice-plugin-promote/src/Traits/PluginDataByFile.php

    Line 191, set translate argument to false:

    return get_plugin_data( $this->get_file(), true, false );

    Seems to work ok for the default English (United States).

    Not sure if this is the best fix?

    Thanks.

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