kayJ-3
Background of the issue:
I am trying to open the WPML String Translations page, but it won't open and just keeps loading. Here is the link to the page where the issue can be seen: hidden link .
Symptoms:
The string translations admin page keeps loading and does not open.
Questions:
Why won't the WPML String Translations page open?
What can I do to fix the loading issue on the string translations admin page?
kayJ-3
I tried it on a local environment, there it seems to work completely. On a staging it works after changing to a default theme. On the production (with bug) there is this error now:
[13-Aug-2025 09:07:11 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_source_language_code() on false in /var/www/reintjessystems.nl/wp-content/plugins/sitepress-multilingual-cms/inc/functions-load-tm.php:505
Stack trace:
#0 /var/www/reintjessystems.nl/wp-content/plugins/sitepress-multilingual-cms/classes/ATE/Hooks/class-wpml-tm-ate-jobs-actions.php(153): wpml_tm_create_ATE_job_creation_model()
#1 [internal function]: WPML_TM_ATE_Jobs_Actions->{closure}()
#2 /var/www/reintjessystems.nl/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Fns.php(151): array_map()
#3 [internal function]: WPML\FP\Fns::WPML\FP\{closure}()
#4 /var/www/reintjessystems.nl/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array()
#5 [internal function]: WPML\FP\Fns::WPML\FP\{closure}()
#6 /var/www/reintjessystems.nl/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Traits/Macroable.php(56): call_user_func_array()
#7 /var/www/reintjessystems.nl/wp-content/plugins/sitepress-multilingual-cms/classes/ATE/Hooks/class-wpml-tm-ate-jobs-actions.php(152): WPML\FP\Fns::__callStatic()
#8 /var/www/reintjessystems.nl/wp-includes/class-wp-hook.php(324): WPML_TM_ATE_Jobs_Actions->added_translation_jobs()
#9 /var/www/reintjessystems.nl/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#10 /var/www/reintjessystems.nl/wp-includes/plugin.php(517): WP_Hook->do_action()
#11 /var/www/reintjessystems.nl/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php(1518): do_action()
#12 /var/www/reintjessystems.nl/wp-content/plugins/sitepress-multilingual-cms/classes/automatic-translation/Actions.php(319): TranslationManagement->send_jobs()
#13 /var/www/reintjessystems.nl/wp-content/plugins/wpml-string-translation/StringTranslation/Infrastructure/TranslateEverything/UntranslatedStrings.php(151): WPML\TM\AutomaticTranslation\Actions\Actions->createNewTranslationJobs()
#14 /var/www/reintjessystems.nl/wp-content/plugins/wpml-string-translation/StringTranslation/Infrastructure/TranslateEverything/ProcessFrontendStringsObserver.php(52): WPML\StringTranslation\Infrastructure\TranslateEverything\UntranslatedStrings->createTranslationJobs()
#15 /var/www/reintjessystems.nl/wp-content/plugins/wpml-string-translation/StringTranslation/Infrastructure/StringHtml/Command/ProcessFrontendGettextStringsQueue.php(111): WPML\StringTranslation\Infrastructure\TranslateEverything\ProcessFrontendStringsObserver->newFrontendStringsRegistered()
#16 /var/www/reintjessystems.nl/wp-content/plugins/wpml-string-translation/StringTranslation/Infrastructure/StringHtml/Command/ProcessFrontendGettextStringsQueue.php(36): WPML\StringTranslation\Infrastructure\StringHtml\Command\ProcessFrontendGettextStringsQueue->runBatchByRequestUrl()
#17 /var/www/reintjessystems.nl/wp-content/plugins/wpml-string-translation/StringTranslation/Application/StringHtml/Service/HtmlStringsService.php(85): WPML\StringTranslation\Infrastructure\StringHtml\Command\ProcessFrontendGettextStringsQueue->run()
#18 /var/www/reintjessystems.nl/wp-content/plugins/wpml-string-translation/StringTranslation/Infrastructure/WordPress/HookHandler/InitAction.php(67): WPML\StringTranslation\Application\StringHtml\Service\HtmlStringsService->maybeProcessFrontendGettextStringsQueue()
#19 /var/www/reintjessystems.nl/wp-content/plugins/wpml-string-translation/StringTranslation/Infrastructure/WordPress/HookHandler/AbstractActionHookHandler.php(14): WPML\StringTranslation\Infrastructure\WordPress\HookHandler\InitAction->onAction()
#20 /var/www/reintjessystems.nl/wp-includes/class-wp-hook.php(322): WPML\StringTranslation\Infrastructure\WordPress\HookHandler\AbstractActionHookHandler->WPML\StringTranslation\Infrastructure\WordPress\HookHandler\{closure}()
#21 /var/www/reintjessystems.nl/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#22 /var/www/reintjessystems.nl/wp-includes/plugin.php(517): WP_Hook->do_action()
#23 /var/www/reintjessystems.nl/wp-settings.php(727): do_action()
#24 /var/www/reintjessystems.nl/wp-config.php(115): require_once('...')
#25 /var/www/reintjessystems.nl/wp-load.php(50): require_once('...')
#26 /var/www/reintjessystems.nl/wp-admin/admin.php(35): require_once('...')
#27 {main}
thrown in /var/www/reintjessystems.nl/wp-content/plugins/sitepress-multilingual-cms/inc/functions-load-tm.php on line 505
Shekhar Bhandari
WPML Supporter since 03/2015
Languages:
English (English )
Timezone:
Asia/Kathmandu (GMT+05:45)
Hello there,
Can you please check if the sftp details are correct, I would need to check using some file changes. Right now, it says authentications error for me.
Also, let me know if you have a backup.
Look forward to your reply.