Forum Replies Created

Viewing 1 replies (of 1 total)
  • Similar to what will be added into the next version of wordpress to allow this issue to gracefully be handled instead of fatal error https://core.trac.ww.wp.xz.cn/changeset/57925

    I have updated the addon PHP file in gravity forms to set domain to false if it is not a string.


    File to edit:
    wp-content/plugins/gravityforms/includes/addon/class-gf-addon.php


    line 6537:

    public function load_text_domain() {

    $textdomain = $this->_slug;

    if ( ! is_string( $textdomain ) ) {

    $textdomain = false;

    }

    GFCommon::load_gf_text_domain($textdomain, plugin_basename(dirname($this->_full_path)));

    }

    This is just a temporary fix that might get overwritten when a new gravity forms update is released.

Viewing 1 replies (of 1 total)