Error: _load_textdomain_just_in_time was called incorrectly
-
Ultimate Blocks Version: 3.2.9
WordPress Version 6.8
After upgrading to WordPress 6.8, I receive this error when running the site with WP_ENVIRONMENT_TYPE set to development:
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
ultimate-blocksdomain 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 theinitaction or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /app/web/wp/wp-includes/functions.php on line 6121Call Stack:
0.0003 593528 1. {main}() /app/web/index.php:0
0.0007 593896 2. require(‘/app/web/wp/wp-blog-header.php’) /app/web/index.php:5
0.0007 594536 3. require_once(‘/app/web/wp/wp-load.php’) /app/web/wp/wp-blog-header.php:13
0.0010 594952 4. require_once(‘/app/web/wp-config.php’) /app/web/wp/wp-load.php:55
0.0202 862328 5. require_once(‘/app/web/wp/wp-settings.php’) /app/web/wp-config.php:10
0.1166 3945440 6. do_action($hook_name = ‘plugins_loaded’) /app/web/wp/wp-settings.php:578
0.1166 3945656 7. WP_Hook->do_action($args = [0 => ”]) /app/web/wp/wp-includes/plugin.php:517
0.1166 3945656 8. WP_Hook->apply_filters($value = ”, $args = [0 => ”]) /app/web/wp/wp-includes/class-wp-hook.php:348
0.1175 4027960 9. run_ultimate_blocks(”) /app/web/wp/wp-includes/class-wp-hook.php:324
0.1175 4028016 10. Ultimate_Blocks->construct() /app/web/app/plugins/ultimate-blocks/ultimate-blocks.php:99 0.1175 4030584 11. Ultimate_Blocks->define_admin_hooks() /app/web/app/plugins/ultimate-blocks/includes/class-ultimate-blocks.php:63 0.1188 4046336 12. Ultimate_Blocks\includes\pro_manager\Pro_Manager::init($const_args = ???, $class_name = ???) /app/web/app/plugins/ultimate-blocks/includes/class-ultimate-blocks.php:180 0.1188 4046448 13. Ultimate_Blocks\includes\pro_manager\Pro_Manager->init_process() /app/web/app/plugins/ultimate-blocks/includes/common/traits/Manager_Base_Trait.php:53 0.1188 4046448 14. Ultimate_Blocks\includes\pro_manager\Pro_Manager->prepare_priority_upsell_data() /app/web/app/plugins/ultimate-blocks/includes/pro_manager/Pro_Manager.php:68 0.1189 4046528 15. Ultimate_Blocks\includes\pro_manager\base\Pro_Extension_Upsell->get_upsell_data() /app/web/app/plugins/ultimate-blocks/includes/pro_manager/Pro_Manager.php:246 0.1190 4046744 16. Ultimate_Blocks\includes\managers\Ub_Fs_Handler::with_filesystem($callable = [0 => class Ultimate_Blocks\includes\pro_manager\extensions\Tabbed_Content_Extension { protected $block_id = ‘ub/tabbed-content-block’; protected $upsell_data = NULL }, 1 => ‘get_upsell_data_logic’]) /app/web/app/plugins/ultimate-blocks/includes/pro_manager/base/Pro_Extension_Upsell.php:70 0.1212 4047080 17. call_user_func:{/app/web/app/plugins/ultimate-blocks/includes/managers/Ub_Fs_Handler.php:72}($callback = [0 => class Ultimate_Blocks\includes\pro_manager\extensions\Tabbed_Content_Extension { protected $block_id = ‘ub/tabbed-content-block’; protected $upsell_data = NULL }, 1 => ‘get_upsell_data_logic’], $args = class WP_Filesystem_Direct { public $verbose = FALSE; public $cache = []; public $method = ‘direct’; public $errors = class WP_Error { public $errors = […]; public $error_data = […]; protected $additional_data = […] }; public $options = [] }) /app/web/app/plugins/ultimate-blocks/includes/managers/Ub_Fs_Handler.php:72 0.1213 4047280 18. Ultimate_Blocks\includes\pro_manager\base\Pro_Extension_Upsell->get_upsell_data_logic($ub_filesystem = class WP_Filesystem_Direct { public $verbose = FALSE; public $cache = []; public $method = ‘direct’; public $errors = class WP_Error { public $errors = […]; public $error_data = […]; protected $additional_data = […] }; public $options = [] }) /app/web/app/plugins/ultimate-blocks/includes/managers/Ub_Fs_Handler.php:72 0.1213 4047280 19. Ultimate_Blocks\includes\pro_manager\extensions\Tabbed_Content_Extension->add_upsell_data() /app/web/app/plugins/ultimate-blocks/includes/pro_manager/base/Pro_Extension_Upsell.php:81 0.1213 4047280 20. ($text = ‘Call to Action’, $domain = ‘ultimate-blocks’) /app/web/app/plugins/ultimate-blocks/includes/pro_manager/extensions/Tabbed_Content_Extension.php:33
0.1213 4047280 21. translate($text = ‘Call to Action’, $domain = ‘ultimate-blocks’) /app/web/wp/wp-includes/l10n.php:307
0.1213 4047280 22. get_translations_for_domain($domain = ‘ultimate-blocks’) /app/web/wp/wp-includes/l10n.php:195
0.1213 4047280 23. _load_textdomain_just_in_time($domain = ‘ultimate-blocks’) /app/web/wp/wp-includes/l10n.php:1409
0.1228 4048448 24. _doing_it_wrong($function_name = ‘_load_textdomain_just_in_time’, $message = ‘Translation loading for theultimate-blocksdomain 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 theinitaction or later.’, $version = ‘6.7.0’) /app/web/wp/wp-includes/l10n.php:1371
0.1228 4049792 25. wp_trigger_error($function_name = ”, $message = ‘Function _load_textdomain_just_in_time was called incorrectly. Translation loading for theultimate-blocksdomain 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 theinitaction or later. Please see Debugging in WordPress for more information. (This message was added in version 6.’…, $error_level = ???) /app/web/wp/wp-includes/functions.php:6061
0.1234 4050960 26. trigger_error($message = ‘Function _load_textdomain_just_in_time was called incorrectly. Translation loading for theultimate-blocksdomain 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 theinitaction or later. Please see Debugging in WordPress for more information. (This message was added in version 6.’…, $error_level = 1024) /app/web/wp/wp-includes/functions.php:6121
The topic ‘Error: _load_textdomain_just_in_time was called incorrectly’ is closed to new replies.