Forum Replies Created

Viewing 1 replies (of 1 total)
  • marcpaul

    (@marcpaul)

    My miserable workaround was on the root of the error:

    “: Uncaught TypeError: Argument 2 passed to WP_Translation_Controller::load_file() must be of the type string, null given”

    If you have this, it means that the parameter passed is null instead of a string, something that wordpress can’t catch at all.

    I restored my installation by changing this line in file “wp-content\themes\Divi\includes\builder\api\DiviExtension.php” at line 266

    load_plugin_textdomain( $this->gettext_domain, false, basename( $this->plugin_dir ) . '/languages' );
    load_plugin_textdomain( $this->gettext_domain ?? "et_pb_wpt_gravityform", false, basename( $this->plugin_dir ) . '/languages' );

    It doesn’t even mather if “et_pb_wpt_gravityform” (the right value for me) is in there, as long as there is anything that is a string for the error to be caught and ignored by wordpress. In other words, this workaround allows you to get access to your installation and update everything.

    • This reply was modified 8 months ago by marcpaul.
Viewing 1 replies (of 1 total)