• Resolved dgalliford

    (@dgalliford)


    Since the recent release, there appears to be the addition of the clear_cache_locale(). This seems to be causing the following error:
    Undefined array key “delete”

    And can be traced back to the class_language.php file, line 40:

    public function clear_cache_locale( $locale ){
    wp_cache_delete( ‘trp_locale’ );
    remove_filter(‘locale’, array(#this, ‘clear_cache_locale’), 99998);
    remove_filter(‘plugin_locale’, array($this, ‘clear_cache_locale’), 99998);
    return $locale;
    }

    My guess is it has something to do with trp_local not existing prior to deleting or it’s a typo, as I cannot find reference to it anywhere in the plugin or online.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    Thank you for writing us!

    The issue has been mentioned to the devs, and we will bring a fix for this in our next update (next week).

    Thank you for mentioning it.
    Cheers,

    Hello,

    Thank you for your patience.
    Please update the plugin to the latest version.

    We provided a fix for this in this version.
    Cheers,

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

The topic ‘Undefined array key “delete”’ is closed to new replies.