WordPress 6.7.1 breaks plugin (here’s a fix)
-
Site auto updated to WordPress 6.7.1 and then got this error on site:
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the supsystic_tables 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. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/lebowcom/public_html/wp-includes/functions.php on line 6114
I fixed by updating the plugin code in file: vendor/Rsc/Environment.php. Line: 189add_action(‘init’, function() {
$this->getLang()->loadTextDomain();
});
- You must be logged in to reply to this topic.